CCA
cca::InputPortBase::InputHandler Class Reference

#include <InputPort.h>

Collaboration diagram for cca::InputPortBase::InputHandler:

List of all members.

Public Member Functions

 InputHandler (const std::string &datatype)
 Constructor to allow additional debug information.
void setNextHandler (rsb::HandlerPtr h)
void setInputCallback (const boost::function1< void, rsb::EventPtr > &c)
void handle (rsb::EventPtr event)
void printContents (std::ostream &stream) const

Protected Attributes

boost::function1< void,
rsb::EventPtr > 
callback
rsb::HandlerPtr handler
std::string mydatatype

Detailed Description

Definition at line 108 of file InputPort.h.


Constructor & Destructor Documentation

cca::InputPortBase::InputHandler::InputHandler ( const std::string &  datatype) [inline]

Constructor to allow additional debug information.

Parameters:
datatypeData-Type of the parent port.

Definition at line 114 of file InputPort.h.

References mydatatype.


Member Function Documentation

void cca::InputPortBase::InputHandler::handle ( rsb::EventPtr  event) [inline]

Definition at line 127 of file InputPort.h.

References callback, and handler.

void cca::InputPortBase::InputHandler::printContents ( std::ostream &  stream) const [inline]

Definition at line 136 of file InputPort.h.

References mydatatype.

void cca::InputPortBase::InputHandler::setInputCallback ( const boost::function1< void, rsb::EventPtr > &  c) [inline]

Definition at line 123 of file InputPort.h.

References callback.

void cca::InputPortBase::InputHandler::setNextHandler ( rsb::HandlerPtr  h) [inline]

Definition at line 119 of file InputPort.h.


Member Data Documentation

boost::function1<void, rsb::EventPtr> cca::InputPortBase::InputHandler::callback [protected]

Definition at line 141 of file InputPort.h.

Referenced by handle(), and setInputCallback().

rsb::HandlerPtr cca::InputPortBase::InputHandler::handler [protected]

Definition at line 142 of file InputPort.h.

Referenced by handle().

Definition at line 143 of file InputPort.h.

Referenced by InputHandler(), and printContents().


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