|
| SMSubscriber (const elt::mal::Uri &uri, SMAdapter &sm, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
void | Callback (elt::mal::ps::Subscriber< TOPIC_TYPE > &subscriber, const elt::mal::ps::DataEvent< TOPIC_TYPE > &event) |
|
| SMSubscriber (const SMSubscriber &)=delete |
|
SMSubscriber & | operator= (const SMSubscriber &)=delete |
|
| SMSubscriber (const elt::mal::Uri &uri, SMAdapter &sm, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
void | Callback (elt::mal::ps::Subscriber< TOPIC_TYPE > &subscriber, const elt::mal::ps::DataEvent< TOPIC_TYPE > &event) |
|
| SMSubscriber (const SMSubscriber &)=delete |
|
SMSubscriber & | operator= (const SMSubscriber &)=delete |
|
| SMSubscriber (const elt::mal::Uri &uri, SMAdapter &sm, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
void | Callback (elt::mal::ps::Subscriber< TOPIC_TYPE > &subscriber, const elt::mal::ps::DataEvent< TOPIC_TYPE > &event) |
|
| SMSubscriber (const SMSubscriber &)=delete |
|
SMSubscriber & | operator= (const SMSubscriber &)=delete |
|
| Subscriber (const elt::mal::Uri &uri, TopicHandler_t handler, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
| Subscriber (const Subscriber &)=delete |
|
Subscriber & | operator= (const Subscriber &)=delete |
|
| Subscriber (Subscriber &&rhs)=default |
|
| Subscriber (const elt::mal::Uri &uri, TopicHandler_t handler, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
| Subscriber (const Subscriber &)=delete |
|
Subscriber & | operator= (const Subscriber &)=delete |
|
| Subscriber (Subscriber &&rhs)=default |
|
| Subscriber (const elt::mal::Uri &uri, TopicHandler_t handler, const std::optional< elt::mal::Mal::Properties > mal_properties={}) |
|
| Subscriber (const Subscriber &)=delete |
|
Subscriber & | operator= (const Subscriber &)=delete |
|
| Subscriber (Subscriber &&rhs)=default |
|
template<typename TOPIC_TYPE, typename EVENT_TYPE>
class rad::cii::SMSubscriber< TOPIC_TYPE, EVENT_TYPE >
This class allows to subscribe to a topic of a given type and, upon reception inject an event of type EVENT_TYPE into to the State Machine engine. The payload of the event is the same as the payload of the topic.
- Template Parameters
-
TOPIC_TYPE | Type of the topic that can be subscribed to. |
EVENT_TYPE | Type of the event to be triggered upon the reception of the topic. |