torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::generic::ObjectVisitor Class Referenceabstract

#include <ObjectVisitor.hpp>

+ Inheritance diagram for torc::generic::ObjectVisitor:
+ Collaboration diagram for torc::generic::ObjectVisitor:

Public Member Functions

virtual ~ObjectVisitor () throw ()
 
virtual void visit (_Tp &client)=0 throw (Error)
 

Protected Member Functions

 ObjectVisitor ()
 

Detailed Description

A inoutVisitor that can visit all types of leaf type elements in the library. All visit methods will need to be overridden in the deriving class.

Definition at line 66 of file ObjectVisitor.hpp.

Constructor & Destructor Documentation

torc::generic::ObjectVisitor::ObjectVisitor ( )
protected

Definition at line 25 of file ObjectVisitor.cpp.

25  :
26  Root::Visitor(),
28  Cell::Visitor(),
30  View::Visitor(),
VisitorType< PortBundleReference > Visitor
VisitorType< View > Visitor
Definition: View.hpp:84
VisitorType< ParameterArrayElement > Visitor
VisitorType< InstanceArrayMember > Visitor
VisitorType< VectorNet > Visitor
Definition: VectorNet.hpp:50
VisitorType< VectorNetBit > Visitor
VisitorType< ScalarNet > Visitor
Definition: ScalarNet.hpp:49
VisitorType< SimulationInfo > Visitor
VisitorType< LogicalResponse > Visitor
VisitorType< Permutable > Visitor
Definition: Permutable.hpp:58
VisitorType< InstanceArray > Visitor
VisitorType< ForbiddenEvent > Visitor
VisitorType< WaveValue > Visitor
Definition: WaveValue.hpp:43
VisitorType< Event > Visitor
Definition: Event.hpp:60
VisitorType< Root > Visitor
Definition: Root.hpp:78
VisitorType< ParameterArray > Visitor
VisitorType< PortBundle > Visitor
Definition: PortBundle.hpp:51
VisitorType< Apply > Visitor
Definition: Apply.hpp:46
VisitorType< NetBundle > Visitor
Definition: NetBundle.hpp:50
VisitorType< VectorPortBit > Visitor
VisitorType< Library > Visitor
Definition: Library.hpp:73
VisitorType< LogicElement > Visitor
VisitorType< Design > Visitor
VisitorType< Timing > Visitor
Definition: Timing.hpp:48
VisitorType< PortList > Visitor
Definition: PortList.hpp:53
VisitorType< ScalarPortReference > Visitor
VisitorType< Cell > Visitor
Definition: Cell.hpp:78
VisitorType< VectorPortBitReference > Visitor
VisitorType< SingleParameter > Visitor
VisitorType< VectorPort > Visitor
Definition: VectorPort.hpp:54
VisitorType< Property > Visitor
Definition: Property.hpp:58
VisitorType< LogicValue > Visitor
Definition: LogicValue.hpp:53
VisitorType< Simulate > Visitor
Definition: Simulate.hpp:54
VisitorType< PortListAlias > Visitor
VisitorType< SingleInstance > Visitor
VisitorType< InterfaceJoinedInfo > Visitor
VisitorType< VectorPortReference > Visitor
VisitorType< Status > Visitor
Definition: Status.hpp:52
VisitorType< ScalarPort > Visitor
Definition: ScalarPort.hpp:49
torc::generic::ObjectVisitor::~ObjectVisitor ( )
throw (
)
virtual

Definition at line 66 of file ObjectVisitor.cpp.

66 {}

Member Function Documentation

template<typename _Tp >
virtual void torc::generic::VisitorType< _Tp >::visit ( _Tp &  client)
throw (Error
)
pure virtualinherited

Visit the target object. This will typically be a derived leaf type.

Parameters
[in,out]clientA reference to the target object
Exceptions
ErrorException generated by any of the functions called from inside visit()

+ Here is the caller graph for this function:


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