Template Class SmaccSubscriberClient
Defined in File smacc_subscriber_client.hpp
Inheritance Relationships
Base Type
public smacc2::ISmaccClient
(Class ISmaccClient)
Class Documentation
-
template<typename MessageType>
class SmaccSubscriberClient : public smacc2::ISmaccClient Public Types
-
typedef MessageType TMessageType
Public Functions
-
inline SmaccSubscriberClient()
-
inline SmaccSubscriberClient(std::string topicname)
-
inline virtual ~SmaccSubscriberClient()
-
template<typename T>
inline boost::signals2::connection onMessageReceived(void (T::* callback)(const MessageType&), T *object)
-
template<typename T>
inline boost::signals2::connection onFirstMessageReceived(void (T::* callback)(const MessageType&), T *object)
-
template<typename TOrthogonal, typename TSourceObject>
inline void onOrthogonalAllocation()
Public Members
-
std::optional<std::string> topicName
-
std::optional<int> queueSize
-
smacc2::SmaccSignal<void(const MessageType&)> onFirstMessageReceived_
-
smacc2::SmaccSignal<void(const MessageType&)> onMessageReceived_
-
std::function<void(const MessageType&)> postMessageEvent
-
std::function<void(const MessageType&)> postInitialMessageEvent
Protected Functions
-
inline virtual void onInitialize() override
-
typedef MessageType TMessageType