CCA
|
Restless Processing will process the component on every possible incoming processing trigger (timing signal, incoming input). More...
#include <Restless.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 () |
Creates StrategyPtr to Restless strategy. | |
Protected Member Functions | |
Restless () |
Detailed Description
Restless Processing will process the component on every possible incoming processing trigger (timing signal, incoming input).
Definition at line 41 of file Restless.h.
Constructor & Destructor Documentation
cca::Restless::Restless | ( | ) | [protected] |
Definition at line 45 of file Restless.cpp.
Member Function Documentation
StrategyPtr cca::Restless::create | ( | ) | [static] |
Creates StrategyPtr to Restless strategy.
- Returns:
- Pointer to this ProcessingStrategy
Definition at line 41 of file Restless.cpp.
string cca::Restless::print | ( | ) | const [virtual] |
Printing information about this node.
Reimplemented from cca::ProcessingStrategy.
Definition at line 63 of file Restless.cpp.
References cca::ProcessingStrategy::name.
bool cca::Restless::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.
Implements cca::ProcessingStrategy.
Definition at line 53 of file Restless.cpp.
References cca::ProcessingStrategy::logger.
bool cca::Restless::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.
Implements cca::ProcessingStrategy.
Definition at line 49 of file Restless.cpp.
The documentation for this class was generated from the following files:
- cca/processing/Restless.h
- cca/processing/Restless.cpp