ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MyLockableDataObj Class Reference

To test SG lock functionality. More...

#include <MyLockableDataObj.h>

Inheritance diagram for MyLockableDataObj:
Collaboration diagram for MyLockableDataObj:

Public Member Functions

 MyLockableDataObj ()
 
virtual void lock ()
 Lock this object. More...
 

Public Attributes

bool m_locked
 

Detailed Description

To test SG lock functionality.

Definition at line 18 of file MyLockableDataObj.h.

Constructor & Destructor Documentation

◆ MyLockableDataObj()

MyLockableDataObj::MyLockableDataObj ( )
inline

Definition at line 21 of file MyLockableDataObj.h.

21 : m_locked (false) {}

Member Function Documentation

◆ lock()

virtual void MyLockableDataObj::lock ( )
inlinevirtual

Lock this object.

When an object in StoreGate is locked via StoreGateSvc::setConst, StoreGate will call this method on the object, provided the object derives from ILockable.

Implements ILockable.

Definition at line 22 of file MyLockableDataObj.h.

22 { m_locked = true; }

Member Data Documentation

◆ m_locked

bool MyLockableDataObj::m_locked

Definition at line 24 of file MyLockableDataObj.h.


The documentation for this class was generated from the following file:
MyLockableDataObj::m_locked
bool m_locked
Definition: MyLockableDataObj.h:24