MipBaselib::SharedListener Class Reference
[Shared Listener Module]

Todo. More...

#include <SharedListener.h>

Inheritance diagram for MipBaselib::SharedListener:

MipBaselib::CharKeybSharList MipBaselib::FifoSharList MipBaselib::StringKeybSharList MipBaselib::UDPSharedListener

List of all members.

Public Member Functions

 SharedListener ()
 ~SharedListener ()
 Desturctor.
bool registerHandler (MessageHandler *handler, string id, Time addedDelay=Time(0, 0))
 Register a message recipient for the incoming messages.

Protected Member Functions

template<class T>
void _runThread (void *p)

Friends

template<class T>
void * sharedListenerThread (void *p)


Detailed Description

Todo.

Author:
Antonio Franchi

Constructor & Destructor Documentation

MipBaselib::SharedListener::SharedListener (  ) 

MipBaselib::SharedListener::~SharedListener (  ) 

Desturctor.


Member Function Documentation

template<class T>
void MipBaselib::SharedListener::_runThread ( void *  p  )  [inline, protected]

bool MipBaselib::SharedListener::registerHandler ( MessageHandler handler,
string  id,
Time  addedDelay = Time(0,0) 
)

Register a message recipient for the incoming messages.

Parameters:
[in] handler Pointer to the MessageHandler.
[in] id Message id to be handled by this handler.
[in] addedDelay Delay to add to this handler
Note:
The addedDelay works fine only for streams of messages in which the addedDelay is a multiple of the interval between two consecutive messages of the stream


Friends And Related Function Documentation

template<class T>
void* sharedListenerThread ( void *  p  )  [friend]


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

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6