Template Class CpTopicSubscriber
Defined in File cp_topic_subscriber.hpp
Inheritance Relationships
Base Type
public smacc2::ISmaccComponent
(Class ISmaccComponent)
Class Documentation
-
template<typename MessageType>
class CpTopicSubscriber : public smacc2::ISmaccComponent Public Types
-
typedef MessageType TMessageType
Public Functions
-
inline CpTopicSubscriber()
-
inline CpTopicSubscriber(std::string topicname)
-
inline virtual ~CpTopicSubscriber()
-
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()
-
inline virtual void onInitialize() override
Public Members
-
std::optional<int> queueSize
-
std::function<void(const MessageType&)> postMessageEvent
-
std::function<void(const MessageType&)> postInitialMessageEvent
-
smacc2::SmaccSignal<void(const MessageType&)> onFirstMessageReceived_
-
smacc2::SmaccSignal<void(const MessageType&)> onMessageReceived_
-
typedef MessageType TMessageType