this class is responsible for sending notification messages to the notification consumer, thus connecting the RT and server parts
More...
#include <NotificationProducer.h>
|
void | sendAutomaticNotification (const uint32_t ¬ificationID, boost::shared_ptr< MultiplexingContext > &muxContext, const std::string &className, uint32_t msgPrio=DEFAULT_MQ_PRIO) |
| this generates an automatic notification msg and puts it on the queue More...
|
|
void | sendManualNotification (const ManualNotificationMessage &message) |
|
void | sendCommandMessage (const std::string &command, const std::string ¶meter1, const std::string ¶meter2, uint32_t msgPrio=DEFAULT_MQ_PRIO) |
| this generates a sendCommandMessage and puts it on the queue More...
|
|
std::size_t | getCurrentMsgCount () |
| returns the number of Messages, which are stored in the notification queue. More...
|
|
| HasMetrics (const std::string &componentName) |
|
|
template<typename T > |
void | registerMetric (const std::string &name, T &value) |
|
template<typename T > |
void | registerMetric (const std::string &name, boost::atomic< T > &value) |
|
this class is responsible for sending notification messages to the notification consumer, thus connecting the RT and server parts
std::size_t fesa::NotificationProducer::getCurrentMsgCount |
( |
| ) |
|
|
inline |
returns the number of Messages, which are stored in the notification queue.
- Returns
- the current Message count
void fesa::NotificationProducer::sendAutomaticNotification |
( |
const uint32_t & |
notificationID, |
|
|
boost::shared_ptr< MultiplexingContext > & |
muxContext, |
|
|
const std::string & |
className, |
|
|
uint32_t |
msgPrio = DEFAULT_MQ_PRIO |
|
) |
| |
this generates an automatic notification msg and puts it on the queue
- Parameters
-
notificationID | the Notification, which should be triggered on the Server side |
muxContext | The Multiplexing Context for the Msg ( cycle-number ) |
className | The name of the FESA class that sends the notification |
msgPrio | The Message Priority ( always set to DEFAULT_MQ_PRIO ) |
void fesa::NotificationProducer::sendCommandMessage |
( |
const std::string & |
command, |
|
|
const std::string & |
parameter1, |
|
|
const std::string & |
parameter2, |
|
|
uint32_t |
msgPrio = DEFAULT_MQ_PRIO |
|
) |
| |
this generates a sendCommandMessage and puts it on the queue
- Parameters
-
command | The name of the command |
parameter1 | of the command as string |
parameter2 | of the command as string |
msgPrio | The Message Priority ( always set to DEFAULT_MQ_PRIO ) |
void fesa::NotificationProducer::sendManualNotification |
( |
const ManualNotificationMessage & |
message | ) |
|
Sends a ManualNotificationMessage.
- Parameters
-
message | the manual notification message |
The documentation for this class was generated from the following files:
- NotificationProducer.h
- NotificationProducer.cpp