|
AceSmartSoft API Documentation
|
Template for generating a class which handles the event service on server side. More...
#include <smartEvent.hh>
Public Types | |
| using | IEventServerBase = Smart::IEventServerPattern< P, E, S > |
Public Member Functions | |
| EventServer (SmartComponent *component, const std::string &service, IEventTestHandlerPtr handler) | |
| Constructor. More... | |
| virtual | ~EventServer () |
| Destructor. More... | |
| Smart::StatusCode | put (const S &state) |
| Initiate testing the event conditions for the activations. More... | |
Template for generating a class which handles the event service on server side.
Template parameters:
Demonstrated in fifth example
| using SmartACE::EventServer< P, E, S >::IEventServerBase = Smart::IEventServerPattern<P,E,S> |
| SmartACE::EventServer< P, E, S >::EventServer | ( | SmartComponent * | component, |
| const std::string & | service, | ||
| IEventTestHandlerPtr | handler | ||
| ) |
Constructor.
| component | management class of the component |
| service | name of the service |
| handler | test handler decide if a event needs to fire |
|
virtual |
Destructor.
Properly disconnects all service requestors in case of destruction such that all activations are properly deactivated at client side.
| Smart::StatusCode SmartACE::EventServer< P, E, S >::put | ( | const S & | state | ) |
Initiate testing the event conditions for the activations.
| state | contains the current information checked in testEvent() against the individual activation parameters. |
1.8.13