torc::generic::LogicValue Class Reference

This class is used within simulationInfo construct to define a logic value to use for modeling in the logicModel view. More...

#include <LogicValue.hpp>

Inheritance diagram for torc::generic::LogicValue:

Inheritance graph
[legend]
Collaboration diagram for torc::generic::LogicValue:

Collaboration graph
[legend]

List of all members.

Public Types

typedef VisitorType< LogicValueVisitor

Public Member Functions

virtual void accept (BaseVisitor &inoutVisitor) throw (Error)
const LogicValueAttributesSharedPtr getAttributes () const throw ()
void setAttributes (const LogicValueAttributesSharedPtr &inSource) throw ()

Private Attributes

LogicValueAttributesSharedPtr mAttributes

Friends

class FactoryType< LogicValue >

Classes

class  Factory


Detailed Description

This class is used within simulationInfo construct to define a logic value to use for modeling in the logicModel view.

Definition at line 44 of file LogicValue.hpp.


Member Typedef Documentation

Convenience class to visit a LogicValue.

Reimplemented in torc::generic::LogicElement.

Definition at line 61 of file LogicValue.hpp.


Member Function Documentation

void torc::generic::LogicValue::accept ( BaseVisitor inoutVisitor  )  throw (Error) [virtual]

Recive a visitor to this class. The visit method of the visitor is called and a reference to this object is passed as a parameter. It has to be noted however, that a dynamic_cast is performed inside this method. If the cast fails, an appropriate exception is thrown by this method. This sitation can arise when the passed Visitor object does not inherit from the appropriate visitor specialization. See Visitor documentation for more details.

Parameters:
[in,out] inoutVisitor A reference to the visitor object
Exceptions:
Error Visitor type inappropriate for visiting this object or any other error thrown by the Visitor::throw() method.

Implements torc::generic::Visitable.

Reimplemented in torc::generic::LogicElement.

Definition at line 74 of file LogicValue.cpp.

const LogicValueAttributesSharedPtr torc::generic::LogicValue::getAttributes (  )  const throw () [inline]

Get the attributes of the LogicValue. Attributes include voltageMap, currentMap, booleanMap, compound, weak, strong, dominates etc.

Returns:
Pointer to LogicValueAttributes object.

Definition at line 139 of file LogicValue.hpp.

void torc::generic::LogicValue::setAttributes ( const LogicValueAttributesSharedPtr &  inSource  )  throw ()

Set the attributes of the LogicValue. Attributes include voltageMap, currentMap, booleanMap, compound, weak, strong, dominates etc.

Parameters:
[in] inSource Pointer to LogicValueAttributes object.

Definition at line 68 of file LogicValue.cpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:50:09 2011 for TORC by  doxygen 1.5.6