senf::ppi::EventImplementationHelper< EventType, Self > Class Template Reference

Internal: Callback forwarders. More...

#include <senf/PPI/Events.hh>

Inheritance diagram for senf::ppi::EventImplementationHelper< EventType, Self >:

Protected Types

typedef detail::EventArgType< EventType >::type EventArg
 

Protected Member Functions

void callback (EventArg event, ClockService::clock_type time)
 Forward event to user callback. More...
 
void callback (EventArg event)
 Forward event to user callback. More...
 

Detailed Description

template<class EventType, class Self>
class senf::ppi::EventImplementationHelper< EventType, Self >

Internal: Callback forwarders.

Definition at line 98 of file Events.hh.

Member Typedef Documentation

◆ EventArg

template<class EventType, class Self>
typedef detail::EventArgType<EventType>::type senf::ppi::EventImplementationHelper< EventType, Self >::EventArg
protected

Definition at line 101 of file Events.hh.

Member Function Documentation

◆ callback() [1/2]

template<class EventType, class Self>
void senf::ppi::EventImplementationHelper< EventType, Self >::callback ( EventArg  event,
ClockService::clock_type  time 
)
protected

Forward event to user callback.

Parameters
[in]eventEvent argument to pass to the user callback
[in]timeExpected time of the event

◆ callback() [2/2]

template<class EventType, class Self>
void senf::ppi::EventImplementationHelper< EventType, Self >::callback ( EventArg  event)
protected

Forward event to user callback.

Parameters
[in]eventEvent argument to pass to the user callback.

The documentation for this class was generated from the following file: