SyncEvent< M, C > Class Template Reference
Class used to wrap each event object type for a given receiver. More...
#include <Syncmsg.h>
Inheritance diagram for SyncEvent< M, C >:
Public Member Functions | |
| SyncEvent () | |
| Constructor within another object. | |
| SyncEvent (M *msg, C *target) | |
| Constructor takes message object to be wrapped. | |
| virtual | ~SyncEvent () |
| Destructor must be virtual. | |
| void | Init (C *rcvr) |
| Set the target. | |
| virtual void | Deliver () |
| Deliver this message to the receiver. | |
| virtual bool | ShouldDelete () const |
| Can delete this object. | |
| void | Send (M &data) |
| Send data now. | |
| void | Send (const timespec *when, M &data) |
| Send using timespec. | |
| void | Sendms (unsigned millisecs, M &data) |
| Send in interval (milliseconds) | |
| void | SendAtExit (M &data) |
| Send when terminating. | |
Detailed Description
template<class M, class C>
class SyncEvent< M, C >
class SyncEvent< M, C >
Class used to wrap each event object type for a given receiver.
Constructor & Destructor Documentation
◆ SyncEvent() [1/2]
template<class M , class C >
|
inline |
◆ SyncEvent() [2/2]
template<class M , class C >
|
inline |
◆ ~SyncEvent()
Member Function Documentation
◆ Init()
template<class M , class C >
|
inline |
Set the target.
Definition at line 48 of file Syncmsg.h.
48 {
49 SetReceiver (rcvr);
50 _target = rcvr;
51 }
Referenced by Poll::User::User().
◆ Deliver()
template<class M , class C >
|
inlinevirtual |
◆ ShouldDelete()
template<class M , class C >
|
inlinevirtual |
◆ Send() [1/2]
template<class M , class C >
|
inline |
◆ Send() [2/2]
template<class M , class C >
|
inline |
◆ Sendms()
template<class M , class C >
|
inline |
◆ SendAtExit()
template<class M , class C >
|
inline |
The documentation for this class was generated from the following file: