fesa-core  4.3.1
fesa::MsgQueueFactory Class Reference

Creation of message queues. More...

#include <MsgQueueFactory.h>

Inheritance diagram for fesa::MsgQueueFactory:
SingletonBase< T >

Public Member Functions

 ~MsgQueueFactory ()
 Destructor.
 
void destroyQueues ()
 Destroy the message queues.
 
AbstractMsgQueuegetNotificationMsgQueue (const std::string &name, QueueMode::QueueMode mode)
 Returns the notification queue with the specified name and for the specified mode (creates a new one if necessary) More...
 
AbstractMsgQueuegetOnDemandMsgQueue (const std::string &className, const std::string &eventSrcName, QueueMode::QueueMode mode)
 Returns the on-demand event source queue with the specified name and for the specified mode (creates a new one if necessary) More...
 

Friends

class SingletonBase< MsgQueueFactory >
 

Detailed Description

Creation of message queues.

Member Function Documentation

AbstractMsgQueue * fesa::MsgQueueFactory::getNotificationMsgQueue ( const std::string &  name,
QueueMode::QueueMode  mode 
)

Returns the notification queue with the specified name and for the specified mode (creates a new one if necessary)

Parameters
nameThe name of the requested message queue
modeThe access mode to the queue (blocking or non-blocking)
Returns
A notification message queue
AbstractMsgQueue * fesa::MsgQueueFactory::getOnDemandMsgQueue ( const std::string &  className,
const std::string &  eventSrcName,
QueueMode::QueueMode  mode 
)

Returns the on-demand event source queue with the specified name and for the specified mode (creates a new one if necessary)

Parameters
classNameThe name of the class for which the queue is requested
eventSrcNameThe name of the on-demand event source for which the queue is requested
modeThe access mode to the queue (blocking or non-blocking)
Returns
An on-demand event source message queue

The documentation for this class was generated from the following files: