OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | List of all members
openjaus::model::TriggerCallbackImpl< CallbackClass > Class Template Reference

#include <TriggerCallbackImpl.h>

Inherits openjaus::model::MessageCallback.

Public Member Functions

 TriggerCallbackImpl ()
 
virtual ~TriggerCallbackImpl ()
 
 TriggerCallbackImpl (bool(CallbackClass::*callback)(Trigger *trigger), CallbackClass *object)
 
virtual bool processTrigger (Trigger *trigger)
 
virtual std::string toString () const
 
- Public Member Functions inherited from openjaus::model::MessageCallback
 MessageCallback ()
 
virtual ~MessageCallback ()
 
uint16_t getId () const
 Accessor to get the value of id. More...
 
bool setId (uint16_t id)
 Accessor to set value of id. More...
 

Protected Attributes

bool(CallbackClass::* callback )(Trigger *trigger)
 
CallbackClass * object
 
- Protected Attributes inherited from openjaus::model::MessageCallback
uint16_t id
 

Constructor & Destructor Documentation

§ TriggerCallbackImpl() [1/2]

template<class CallbackClass >
openjaus::model::TriggerCallbackImpl< CallbackClass >::TriggerCallbackImpl ( )

§ ~TriggerCallbackImpl()

template<class CallbackClass >
openjaus::model::TriggerCallbackImpl< CallbackClass >::~TriggerCallbackImpl ( )
virtual

§ TriggerCallbackImpl() [2/2]

template<class CallbackClass >
openjaus::model::TriggerCallbackImpl< CallbackClass >::TriggerCallbackImpl ( bool(CallbackClass::*)(Trigger *trigger)  callback,
CallbackClass *  object 
)

Member Function Documentation

§ processTrigger()

template<class CallbackClass >
bool openjaus::model::TriggerCallbackImpl< CallbackClass >::processTrigger ( Trigger trigger)
virtual
Parameters
trigger

Reimplemented from openjaus::model::MessageCallback.

§ toString()

template<class CallbackClass >
std::string openjaus::model::TriggerCallbackImpl< CallbackClass >::toString ( ) const
virtual

Reimplemented from openjaus::model::MessageCallback.

Member Data Documentation

§ callback

template<class CallbackClass >
bool(CallbackClass::* openjaus::model::TriggerCallbackImpl< CallbackClass >::callback) (Trigger *trigger)
protected

§ object

template<class CallbackClass >
CallbackClass* openjaus::model::TriggerCallbackImpl< CallbackClass >::object
protected

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