SmartSoft Component-Developer API
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Smart::TaskTriggerObserver Class Reference

#include <smartTaskTriggerObserver.h>

Inheritance diagram for Smart::TaskTriggerObserver:
Smart::IManagedTask

Public Member Functions

 TaskTriggerObserver (TaskTriggerSubject *subject, const unsigned int &prescaleFactor=1)
 
virtual ~TaskTriggerObserver ()
 
virtual StatusCode waitOnTrigger ()
 
virtual StatusCode waitOnTrigger (const Duration &timeout)
 

Protected Member Functions

void setSubject (TaskTriggerSubject *subject)
 
virtual void signalTrigger ()
 
virtual void cancelTrigger ()
 

Protected Attributes

TaskTriggerSubjectsubject
 

Friends

class TaskTriggerSubject
 

Constructor & Destructor Documentation

◆ TaskTriggerObserver()

Smart::TaskTriggerObserver::TaskTriggerObserver ( TaskTriggerSubject subject,
const unsigned int &  prescaleFactor = 1 
)
inline

◆ ~TaskTriggerObserver()

Smart::TaskTriggerObserver::~TaskTriggerObserver ( )
inlinevirtual

Member Function Documentation

◆ cancelTrigger()

virtual void Smart::TaskTriggerObserver::cancelTrigger ( )
inlineprotectedvirtual

◆ setSubject()

void Smart::TaskTriggerObserver::setSubject ( TaskTriggerSubject subject)
inlineprotected

◆ signalTrigger()

virtual void Smart::TaskTriggerObserver::signalTrigger ( )
inlineprotectedvirtual

◆ waitOnTrigger() [1/2]

virtual StatusCode Smart::TaskTriggerObserver::waitOnTrigger ( )
inlinevirtual

◆ waitOnTrigger() [2/2]

virtual StatusCode Smart::TaskTriggerObserver::waitOnTrigger ( const Duration timeout)
inlinevirtual

Friends And Related Function Documentation

◆ TaskTriggerSubject

friend class TaskTriggerSubject
friend

Member Data Documentation

◆ subject

TaskTriggerSubject* Smart::TaskTriggerObserver::subject
protected

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