CCA
|
Inactive processing, not reacting to any processing triggers. More...
#include <Inactive.h>
Public Member Functions | |
virtual bool | processOnTick () const |
Should the node be processed now, given a new tick arrived? Returns, if this processing strategy wants the node to be processed when the current tick arrives. | |
virtual bool | processOnInputs (ProcessingStrategy::NamedInputPorts inputs) const |
Should the node be processed given the items at the input ports? Returns, if this processing strategy wants the node to be processed when the current tick arrives. | |
virtual std::string | print () const |
Printing information about this node. | |
Static Public Member Functions | |
static StrategyPtr | create () |
Create inactive processing strategy. | |
Protected Member Functions | |
Inactive () |
Detailed Description
Inactive processing, not reacting to any processing triggers.
Definition at line 39 of file Inactive.h.
Constructor & Destructor Documentation
cca::Inactive::Inactive | ( | ) | [protected] |
Definition at line 49 of file Inactive.cpp.
Member Function Documentation
StrategyPtr cca::Inactive::create | ( | ) | [static] |
Create inactive processing strategy.
- Returns:
- Pointer to this ProcessingStrategy
Definition at line 45 of file Inactive.cpp.
string cca::Inactive::print | ( | ) | const [virtual] |
Printing information about this node.
Reimplemented from cca::ProcessingStrategy.
Definition at line 67 of file Inactive.cpp.
References cca::ProcessingStrategy::name.
bool cca::Inactive::processOnInputs | ( | ProcessingStrategy::NamedInputPorts | inputs | ) | const [virtual] |
Should the node be processed given the items at the input ports? Returns, if this processing strategy wants the node to be processed when the current tick arrives.
This method should be called on each tick.
- Returns:
- Whether to process the node right now. (always false)
Implements cca::ProcessingStrategy.
Definition at line 57 of file Inactive.cpp.
References cca::ProcessingStrategy::logger.
bool cca::Inactive::processOnTick | ( | ) | const [virtual] |
Should the node be processed now, given a new tick arrived? Returns, if this processing strategy wants the node to be processed when the current tick arrives.
This method should be called on each tick.
- Returns:
- Whether to process the node right now. (always false)
Implements cca::ProcessingStrategy.
Definition at line 53 of file Inactive.cpp.
The documentation for this class was generated from the following files:
- cca/processing/Inactive.h
- cca/processing/Inactive.cpp