OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <EventDispatcher.h>
Public Types | |
typedef void(Delegate::* | PMF) (const MonotonicTimePoint &) |
Public Member Functions | |
PmfNowEvent (RcHandle< Delegate > delegate, PMF function) | |
void | handle_event () |
Called when the event is dispatched by an EventDispatcher. More... | |
![]() | |
virtual | ~EventBase () |
virtual void | handle_error () |
Only called when an exception is caught during handle_event. More... | |
virtual void | handle_cancel () |
void | operator() () |
![]() | |
virtual | ~RcObject () |
virtual void | _add_ref () |
virtual void | _remove_ref () |
long | ref_count () const |
WeakObject * | _get_weak_object () const |
Private Attributes | |
WeakRcHandle< Delegate > | delegate_ |
PMF | function_ |
Additional Inherited Members | |
![]() | |
RcObject () | |
PmfNowEvent is a helper class for adapting MonotonicTimePoint-accepting member funtions of existing classes into dispatchable events. (c.f. PmfEvent)
Definition at line 76 of file EventDispatcher.h.
typedef void(Delegate::* OpenDDS::DCPS::PmfNowEvent< Delegate >::PMF) (const MonotonicTimePoint &) |
Definition at line 78 of file EventDispatcher.h.
|
inline |
Definition at line 80 of file EventDispatcher.h.
|
inlinevirtual |
Called when the event is dispatched by an EventDispatcher.
Implements OpenDDS::DCPS::EventBase.
Definition at line 85 of file EventDispatcher.h.
References OpenDDS::DCPS::TimePoint_T< MonotonicClock >::now().
|
private |
Definition at line 94 of file EventDispatcher.h.
|
private |
Definition at line 95 of file EventDispatcher.h.