Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Safir::Utilities::AceDispatcher Class Reference

The class makes a thread switch and perform a dispatch on Dob connection. More...

#include <Safir/Utilities/AceDispatcher.h>

Inheritance diagram for Safir::Utilities::AceDispatcher:
Collaboration diagram for Safir::Utilities::AceDispatcher:

Public Member Functions

 AceDispatcher (const Safir::Dob::Connection &connection)
 Constructor. More...
 
 AceDispatcher (const Safir::Dob::Connection &connection, ACE_Reactor *reactor)
 Constructor. More...
 
- Public Member Functions inherited from Safir::Dob::Dispatcher
virtual ~Dispatcher ()
 Virtual destructor is needed since we have virtual member functions. More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

The class makes a thread switch and perform a dispatch on Dob connection.

Constructor & Destructor Documentation

Safir::Utilities::AceDispatcher::AceDispatcher ( const Safir::Dob::Connection connection)

Constructor.

The process wide ACE reactor is used and is excepted to be the owner of the running event loop.

Parameters
[in]connection- The dob connection.
Safir::Utilities::AceDispatcher::AceDispatcher ( const Safir::Dob::Connection connection,
ACE_Reactor *  reactor 
)

Constructor.

A pointer to a local ACE reactor is supplied by the user of this class.

Parameters
[in]connection- The dob connection.
[in]reactor- A pointer to the reactor running the event loop