SmartSoft Component-Developer API
|
#include <smartQueryServerTaskTrigger_T.h>
Public Member Functions | |
QueryServerTaskTrigger (IQueryServerPattern< RequestType, AnswerType > *server) | |
virtual | ~QueryServerTaskTrigger ()=default |
Smart::StatusCode | consumeRequest (Smart::QueryIdPtr &id, RequestType &request) |
Smart::StatusCode | answer (const Smart::QueryIdPtr &id, const AnswerType &answer) |
Public Member Functions inherited from Smart::IInputHandler< std::pair< Smart::QueryIdPtr, RequestType > > | |
IInputHandler (InputSubject< std::pair< Smart::QueryIdPtr, RequestType > > *subject, const unsigned int &prescaleFactor=1) | |
The default constructor. More... | |
virtual | ~IInputHandler () |
The default destructor. More... | |
virtual void | handle_input (const std::pair< Smart::QueryIdPtr, RequestType > &input)=0 |
This is the main input-handler method that will be automatically called from the given subject each time the subject receives input-data. More... | |
Public Member Functions inherited from Smart::TaskTriggerSubject | |
TaskTriggerSubject () | |
virtual | ~TaskTriggerSubject () |
void | attach (TaskTriggerObserver *observer, const unsigned int &prescaleFactor=1) |
void | detach (TaskTriggerObserver *observer) |
Protected Member Functions | |
virtual void | handle_input (const InputType &input) override |
Protected Member Functions inherited from Smart::IInputHandler< std::pair< Smart::QueryIdPtr, RequestType > > | |
void | attach_self (const unsigned int &prescale=1) |
calls subject->attach(this); More... | |
void | detach_self () |
calls subject->detach(this); More... | |
Protected Member Functions inherited from Smart::TaskTriggerSubject | |
void | trigger_all_tasks () |
Additional Inherited Members | |
Protected Attributes inherited from Smart::IInputHandler< std::pair< Smart::QueryIdPtr, RequestType > > | |
InputSubject< std::pair< Smart::QueryIdPtr, RequestType > > * | subject |
this is the subject-pointer (can be used in derived classes) More... | |
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |