Public Types | |
enum | OwnershipType { SetAndNothing = 0x10, SetAndReset = 0x12, ResetAndSet = 0x21, ResetAndNothing = 0x20, NothingAndSet = 0x01, NothingAndReset = 0x02 } |
Public Member Functions | |
CEventOwner (CEvent &event, OwnershipType type) | |
Create an event owner for the supplied CEvent object with the supplied OwnershipType. Executes the first part of the OwnershipType in the constructor and the second part in the destructor. | |
CEventOwner (const CEventOwner &rhs) | |
~CEventOwner () | |
CEventOwner & | operator= (const CEventOwner &rhs) |
enum OwnershipType |
CEventOwner | ( | CEvent & | event, | |
OwnershipType | type | |||
) |
Create an event owner for the supplied CEvent object with the supplied OwnershipType. Executes the first part of the OwnershipType in the constructor and the second part in the destructor.
CEventOwner | ( | const CEventOwner & | rhs | ) |
~CEventOwner | ( | ) |
CEventOwner& operator= | ( | const CEventOwner & | rhs | ) |