#include <smartIEventServerPattern_T.h>
◆ IEventTestHandlerPtr
template<class ActivationType , class EventType , class UpdateType = EventType>
◆ IEventServerPattern()
template<class ActivationType , class EventType , class UpdateType = EventType>
Default constructor.
Note that a handler has to be supplied. Without a handler, the QueryServer could not accept a query.
- Parameters
-
component | management class of the component |
service | name of the service |
testHandler | is a shared-pointer to an EventTestHandler |
◆ ~IEventServerPattern()
template<class ActivationType , class EventType , class UpdateType = EventType>
Destructor.
Properly disconnects all service requestors in case of destruction such that all pending queries are handled correctly at client side even when the service provider disappears during pending queries.
◆ onActivation()
template<class ActivationType , class EventType , class UpdateType = EventType>
◆ put()
template<class ActivationType , class EventType , class UpdateType = EventType>
Initiate testing the event conditions for the activations.
- Parameters
-
state | contains the current information checked in testEvent() against the individual activation parameters. |
- Returns
- status code
- SMART_OK : everything is ok
- SMART_ERROR_COMMUNICATION : communication problems
- SMART_ERROR : something went wrong
◆ testEvent()
template<class ActivationType , class EventType , class UpdateType = EventType>
bool Smart::IEventServerPattern< ActivationType, EventType, UpdateType >::testEvent |
( |
ActivationType & |
p, |
|
|
EventType & |
e, |
|
|
const UpdateType & |
s |
|
) |
| |
|
inlineprotected |
The documentation for this class was generated from the following file:
- smartIEventServerPattern_T.h