HEvent Class Reference

Description

Event handle.

Allows you to track to which events you subscribed to and disconnect from them when needed.

Methods

 HEvent (const SPtr< EventInternalData > &eventData, BaseConnectionData *connection)
 
void disconnect ()
 Disconnect from the event you are subscribed to. More...
 
 operator int Bool_struct::* () const
 Allows direct conversion of a handle to bool. More...
 
HEventoperator= (const HEvent &rhs)
 

Method documentation

void disconnect ( )

Disconnect from the event you are subscribed to.

operator int Bool_struct::* ( ) const

Allows direct conversion of a handle to bool.

Note
Additional struct is needed because we can't directly convert to bool since then we can assign pointer to bool and that's wrong.