Input Class Reference

#include <Input.h>

Inheritance diagram for Input:
OneInputGate LogicGate BaseOneInputGate AbstractSimObject BaseLogicGate SimObject

List of all members.

Public Member Functions

 Input (size_t id, const std::string &outputName, const std::string &inputName)
 Instantiates a new Input.
 Input (const Input &that)
virtual Inputclone () 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
virtual void execEvent (Graph &graph, GNode &myNode, const EventTy &event)
 Sends a copy of event at the input to all the outputs in the circuit.

Constructor & Destructor Documentation

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

Instantiates a new Input.

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

Member Function Documentation

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

a way to construct different subtypes

Returns:
a copy of this

Reimplemented from OneInputGate.

virtual LogicVal Input::evalOutput (  )  const [inline, protected, virtual]
See also:
LogicGate::evalOutput()

Reimplemented from OneInputGate.

virtual void Input::execEvent ( Graph graph,
GNode myNode,
const EventTy event 
) [inline, protected, virtual]

Sends a copy of event at the input to all the outputs in the circuit.

See also:
OneInputGate::execEvent()

Reimplemented from OneInputGate.

virtual const std::string Input::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:27 2011 for Galois by  doxygen 1.6.3