User Manual, Developers Guide and API Documentation

wns::ldk::tools::Gate Class Reference

Start/stop accepting incoming/outgoing compounds. More...

#include <ldk/tools/Gate.hpp>

Inheritance diagram for wns::ldk::tools::Gate:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::tools::Gate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void doOnData (const CompoundPtr &compound)
virtual void doSendData (const CompoundPtr &compound)
 Gate (fun::FUN *fuNet, const wns::pyconfig::View &config)
virtual void setIncomingState (State state)
virtual void setOutgoingState (State state)

Private Member Functions

virtual bool doIsAccepting (const CompoundPtr &compound) const
virtual void doWakeup ()

Private Attributes

State incomingState
logger::Logger logger
State outgoingState


Detailed Description

Control a Gate via the GateInterface.

Definition at line 64 of file Gate.hpp.


Constructor & Destructor Documentation

Gate::Gate ( fun::FUN fuNet,
const wns::pyconfig::View config 
)

Definition at line 35 of file Gate.cpp.


Member Function Documentation

bool Gate::doIsAccepting ( const CompoundPtr compound  )  const [private, virtual]

Definition at line 67 of file Gate.cpp.

void Gate::doOnData ( const CompoundPtr compound  )  [virtual]

Definition at line 93 of file Gate.cpp.

void Gate::doSendData ( const CompoundPtr compound  )  [virtual]

Definition at line 82 of file Gate.cpp.

void Gate::doWakeup (  )  [private, virtual]

Definition at line 106 of file Gate.cpp.

void Gate::setIncomingState ( State  state  )  [virtual]

Implements wns::ldk::tools::GateInterface.

Definition at line 51 of file Gate.cpp.

void Gate::setOutgoingState ( State  state  )  [virtual]

Implements wns::ldk::tools::GateInterface.

Definition at line 58 of file Gate.cpp.


Member Data Documentation

Definition at line 90 of file Gate.hpp.

Definition at line 88 of file Gate.hpp.

Definition at line 91 of file Gate.hpp.


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

Generated on Sat May 26 03:32:57 2012 for openWNS by  doxygen 1.5.5