RSC  0.17.1
rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter Class Reference

An adapter for function-based delivery handlers to the object-oriented interface. More...

Inheritance diagram for rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter:
Inheritance graph
Collaboration diagram for rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter:
Collaboration graph

Public Member Functions

 DeliverFunctionAdapter (deliverFunction function)
 
void deliver (boost::shared_ptr< R > &receiver, const M &message)
 Requests this handler to deliver the message to the receiver. More...
 
- Public Member Functions inherited from rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler
virtual ~DeliveryHandler ()
 

Private Attributes

deliverFunction function
 

Detailed Description

template<class M, class R>
class rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter

An adapter for function-based delivery handlers to the object-oriented interface.

Author
jwienke

Definition at line 175 of file OrderedQueueDispatcherPool.h.

Constructor & Destructor Documentation

template<class M , class R >
rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter::DeliverFunctionAdapter ( deliverFunction  function)
inlineexplicit

Definition at line 178 of file OrderedQueueDispatcherPool.h.

Member Function Documentation

template<class M , class R >
void rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter::deliver ( boost::shared_ptr< R > &  receiver,
const M &  message 
)
inlinevirtual

Requests this handler to deliver the message to the receiver.

Parameters
receiverreceiver to pass message to
messagemessage to pass to the receiver

Implements rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler.

Definition at line 182 of file OrderedQueueDispatcherPool.h.

Member Data Documentation

template<class M , class R >
deliverFunction rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter::function
private

Definition at line 187 of file OrderedQueueDispatcherPool.h.


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