Output Class Reference

The Class Output. More...

#include <Output.h>

Inheritance diagram for Output:
OneInputGate LogicGate BaseOneInputGate AbstractSimObject BaseLogicGate SimObject

List of all members.

Public Member Functions

 Output (size_t id, const std::string &outputName, const std::string &inputName)
 Instantiates a new Output.
 Output (const Output &that)
virtual Outputclone () 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.

Detailed Description

The Class Output.


Constructor & Destructor Documentation

Output::Output ( size_t  id,
const std::string &  outputName,
const std::string &  inputName 
) [inline]

Instantiates a new Output.

Parameters:
id 
outputName the output name
inputName the Output name
Output::Output ( const Output that  )  [inline]

Member Function Documentation

virtual Output* Output::clone (  )  const [inline, virtual]

a way to construct different subtypes

Returns:
a copy of this

Reimplemented from OneInputGate.

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.


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:28 2011 for Galois by  doxygen 1.6.3