#include <Output.h>
Public Member Functions | |
Output (size_t id, const std::string &outputName, const std::string &inputName) | |
Instantiates a new Output. | |
Output (const Output &that) | |
virtual Output * | clone () const |
a way to construct different subtypes | |
virtual const std::string | getGateName () const |
name depends on the logic function this gate is implementing | |
Protected Member Functions | |
virtual LogicVal | evalOutput () const |
just replicates the output | |
virtual void | execEvent (Graph &g, GNode &myNode, const EventTy &event) |
Output just receives events and updates its state, does not send out any events. |
The Class Output.
Output::Output | ( | size_t | id, | |
const std::string & | outputName, | |||
const std::string & | inputName | |||
) | [inline] |
Output::Output | ( | const Output & | that | ) | [inline] |
virtual Output* Output::clone | ( | ) | const [inline, virtual] |
virtual LogicVal Output::evalOutput | ( | ) | const [inline, protected, virtual] |
just replicates the output
Reimplemented from OneInputGate.
virtual void Output::execEvent | ( | Graph & | g, | |
GNode & | myNode, | |||
const EventTy & | event | |||
) | [inline, protected, virtual] |
Output just receives events and updates its state, does not send out any events.
Reimplemented from OneInputGate.
virtual const std::string Output::getGateName | ( | ) | const [inline, virtual] |
name depends on the logic function this gate is implementing
Reimplemented from OneInputGate.