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

#include <ObjectFactory.hpp>

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

Public Types

typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Design Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Library Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef NetBundle Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef ParameterArray Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef PortBundle Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Property Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef PortList Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef PortListAlias Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Root Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef ScalarNet Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef ScalarPort Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef ScalarPortReference Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef SingleInstance Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef SingleParameter Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Status Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef VectorNet Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef VectorPort Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef VectorPortReference Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef View Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Written Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef SimulationInfo Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Simulate Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Apply Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef LogicalResponse Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef LogicElement Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef PathDelay Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef Event Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 
typedef _Tp Type
 
typedef SelfReferencing< Type >
::Pointer 
Pointer
 
typedef SelfReferencing< Type >
::WeakPointer 
WeakPointer
 

Public Member Functions

 ObjectFactory ()
 
virtual ~ObjectFactory () throw ()
 
virtual CellSharedPtr newCellPtr (const std::string &inName, const LibrarySharedPtr &inLibraryPtr, const Cell::Type &inCellType=Cell::eTypeGeneric, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual DesignSharedPtr newDesignPtr (const std::string &inName, const RootSharedPtr &inRootPtr, const std::string &inCellRefName, const std::string &inLibraryRefName, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual LibrarySharedPtr newLibraryPtr (const std::string &inName, const RootSharedPtr &inRootPtr, const EdifLevel &inEdifLevel=eEdifLevel0, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual InstanceArraySharedPtr newInstanceArrayPtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMaster, const size_t &inSize, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual InstanceArraySharedPtr newInstanceArrayPtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMaster, const std::vector< size_t > &inLimits, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual NetBundleSharedPtr newNetBundlePtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const NetBundleSharedPtr &inParentCollection=NetBundleSharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ParameterArraySharedPtr newParameterArrayPtr (const std::string &inName, const size_t &inSize, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual ParameterArraySharedPtr newParameterArrayPtr (const std::string &inName, const std::vector< size_t > &inLimits, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual PortBundleSharedPtr newPortBundlePtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const PortBundleSharedPtr &inParentCollection=PortBundleSharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual
PortBundleReferenceSharedPtr 
newPortBundleReferencePtr (const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const ObjectFactorySharedPtr &inFactory, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr()) throw (Error)
 
virtual PropertySharedPtr newPropertyPtr (const std::string &inName, const PropertyContainerSharedPtr &inContainer, const Value &inValue, const Unit &inUnit=eUnitUndefined, const PropertySharedPtr &inParentProperty=PropertySharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual PortListSharedPtr newPortListPtr (const std::list< PortSharedPtr > &inPorts, const std::list< PortReferenceSharedPtr > &inPortReferences) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual PortListAliasSharedPtr newPortListAliasPtr (const std::string &inName, const PortListSharedPtr &inPortList, const SimulateSharedPtr &inSimulate=SimulateSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual RootSharedPtr newRootPtr (const std::string &inName, const EdifLevel &inEdifLevel=eEdifLevel0, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ScalarNetSharedPtr newScalarNetPtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const NetBundleSharedPtr &inParentCollection=NetBundleSharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ScalarPortSharedPtr newScalarPortPtr (const std::string &inName, const EPortDirection &inDirection, const ViewSharedPtr &inViewPtr, const PortBundleSharedPtr &inParentCollection=PortBundleSharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual
ScalarPortReferenceSharedPtr 
newScalarPortReferencePtr (const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual SingleInstanceSharedPtr newSingleInstancePtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMasterPtr, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual SingleParameterSharedPtr newSingleParameterPtr (const std::string &inName, const Value &inValue, const Unit &inUnit=eUnitUndefined, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual StatusSharedPtr newStatusPtr (const StatusContainerSharedPtr &inContainer) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual VectorNetSharedPtr newVectorNetPtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const size_t &inSize, const NetBundleSharedPtr &inParentCollection=NetBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual VectorNetSharedPtr newVectorNetPtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const std::vector< size_t > &inLimits, const NetBundleSharedPtr &inParentCollection=NetBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual VectorPortSharedPtr newVectorPortPtr (const std::string &inName, const EPortDirection &inDirection, const ViewSharedPtr &inViewPtr, const size_t &inSize, const PortBundleSharedPtr &inParentCollection=PortBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual VectorPortSharedPtr newVectorPortPtr (const std::string &inName, const EPortDirection &inDirection, const ViewSharedPtr &inViewPtr, const std::vector< size_t > &inLimits, const PortBundleSharedPtr &inParentCollection=PortBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual
VectorPortReferenceSharedPtr 
newVectorPortReferencePtr (const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const size_t &inSize, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseType::ChildFactorySharedPtr(new BaseType::ChildFactory())) throw (Error)
 
virtual
VectorPortReferenceSharedPtr 
newVectorPortReferencePtr (const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const std::vector< size_t > &inLimits, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseType::ChildFactorySharedPtr(new BaseType::ChildFactory())) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ViewSharedPtr newViewPtr (const std::string &inName, const CellSharedPtr &inCellPtr, const View::Type &inViewType=View::eTypeNetlist, const std::string &inOriginalName=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual WrittenSharedPtr newWrittenPtr (const TimeStamp &inTimeStamp, const StatusSharedPtr &inStatusPtr, const std::string &inAuthorName=std::string(), const std::string &inProgramName=std::string(), const std::string &inProgramVersion=std::string(), const std::string &inDataOriginLocName=std::string(), const std::string &inDataOriginVersion=std::string()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual PermutableSharedPtr newPermutablePtr (const std::vector< PortSharedPtr > &inPorts, const ViewSharedPtr &inViewPtr, const PermutableSharedPtr &inParentPermutable=PermutableSharedPtr()) throw (Error)
 
virtual
InterfaceJoinedInfoSharedPtr 
newInterfaceJoinedInfoPtr (const std::list< PortSharedPtr > &inPorts, const std::list< PortListSharedPtr > &inPortLists, const ViewSharedPtr &inViewPtr, const InterfaceJoinedInfoSharedPtr &inParentJoinedInfo=InterfaceJoinedInfoSharedPtr()) throw (Error)
 
virtual LogicValueSharedPtr newLogicValuePtr (const std::string &inName, const LogicValueAttributesSharedPtr &inAttributes, const std::string &inOriginalName=std::string(), const SimulationInfoSharedPtr &inSimulationInfo=SimulationInfoSharedPtr()) throw (Error)
 
virtual SimulationInfoSharedPtr newSimulationInfoPtr (const std::vector< LogicValueSharedPtr > &inLogicValues, const LibrarySharedPtr &inLibraryPtr) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual SimulateSharedPtr newSimulatePtr (const std::string &inName, const std::vector< PortListAliasSharedPtr > &inPortListAliases, const std::vector< ApplySharedPtr > &inAllApply, const std::vector< WaveValueSharedPtr > &inWaveValues, const ViewSharedPtr &inView, const std::string &inOriginalName=std::string(), const InterfaceAttributesSharedPtr &inInterfaceAttributes=InterfaceAttributesSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ApplySharedPtr newApplyPtr (const int32_t &inNoOfCycle, const Value &inCycleDuration, const std::list< LogicalResponseSharedPtr > &inLogicResponces, const SimulateSharedPtr &inSimulate=SimulateSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual LogicalResponseSharedPtr newLogicalResponsePtr (const ResponseType &inResponseType, const PortSharedPtr &inPort, const LogicElementSharedPtr &inLogicWaveForm, const PortListAliasSharedPtr &inPortListAlias=PortListAliasSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual LogicElementSharedPtr newLogicElementPtr (const LogicElement::Type &inType, const LogicValueSharedPtr &inLogicValue=LogicValueSharedPtr(), const LogicElementSharedPtr &inParentLogicElement=LogicElementSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual WaveValueSharedPtr newWaveValuePtr (const std::string &inName, const Value &inDeltaTimeDuration, const LogicElementSharedPtr inLogicWaveForm, const SimulateSharedPtr &inSimulate=SimulateSharedPtr()) throw (Error)
 
virtual TimingSharedPtr newTimingPtr (const Derivation &inDerivation, const std::list< PathDelaySharedPtr > &inPathDelays, const std::list< ForbiddenEventSharedPtr > &inForbiddentEvents, const ViewSharedPtr &inView, const InterfaceAttributesSharedPtr &inInterfaceAttributes=InterfaceAttributesSharedPtr(), const InstanceSharedPtr &inInstance=InstanceSharedPtr()) throw (Error)
 
virtual PathDelaySharedPtr newPathDelayPtr (const Value::MiNoMax &inDelay, const std::list< EventSharedPtr > &inEvents, const TimingSharedPtr &inTiming=TimingSharedPtr()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual EventSharedPtr newEventPtr (const Event::Type &inEventType, const std::list< PortSharedPtr > &inPorts, const std::list< PortReferenceSharedPtr > &inPortReferences, const std::list< NetSharedPtr > &inNets, const LogicElementSharedPtr &inTransition=LogicElementSharedPtr(), const PortListSharedPtr &inPortList=PortListSharedPtr(), const Value &inOffsetTime=Value()) throw (Error)
 
virtual void create (Pointer &outPointer) throw (Error)
 
virtual ForbiddenEventSharedPtr newForbiddenEventPtr (const EventSharedPtr &inStartTimeInterval, const EventSharedPtr &inEndTimeInterval, const std::list< EventSharedPtr > &inEvents, const TimingSharedPtr &inTiming=TimingSharedPtr(), const Value &inDuration=Value()) throw (Error)
 

Detailed Description

Creates objects of different leaf types. Provides a series of create functions for creating leaf type objects. This factory is used by the parser to generate the object model. This can also be used by the clients to create inherited objects by overriding specific create methods.

Note
The create method should be called as: boost::shared_ptr<Port> port = factory->create<VectorPort>();

Definition at line 71 of file ObjectFactory.hpp.

Member Typedef Documentation

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::Pointer torc::generic::FactoryType< _Tp >::Pointer
inherited

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

A pointer to an object of type Type

Definition at line 45 of file FactoryType.hpp.

typedef Event torc::generic::FactoryType< Event >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

typedef View torc::generic::FactoryType< View >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

typedef Root torc::generic::FactoryType< Root >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

typedef Apply torc::generic::FactoryType< Apply >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

template<typename _Tp>
typedef _Tp torc::generic::FactoryType< _Tp >::Type
inherited

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A rename of the parameter type

Definition at line 40 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

template<typename _Tp>
typedef SelfReferencing<Type>::WeakPointer torc::generic::FactoryType< _Tp >::WeakPointer
inherited

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

A weak pointer to an object of type Type

Definition at line 50 of file FactoryType.hpp.

Constructor & Destructor Documentation

torc::generic::ObjectFactory::ObjectFactory ( )

Definition at line 25 of file ObjectFactory.cpp.

25  :
26  Cell::Factory(),
27  Design::Factory(),
28  Library::Factory(),
29  InstanceArray::Factory(),
31  NetBundle::Factory(),
32  ParameterArray::Factory(),
33  PortBundle::Factory(),
34  PortBundleReference::Factory(),
35  Property::Factory(),
37  PortList::Factory(),
38  PortListAlias::Factory(),
39  Root::Factory(),
40  ScalarNet::Factory(),
41  ScalarPort::Factory(),
42  ScalarPortReference::Factory(),
43  SingleInstance::Factory(),
44  SingleParameter::Factory(),
45  Status::Factory(),
46  VectorNet::Factory(),
48  VectorPort::Factory(),
50  VectorPortReference::Factory(),
52  View::Factory(),
53  Written::Factory(),
54  Permutable::Factory(),
55  InterfaceJoinedInfo::Factory(),
56  LogicValue::Factory(),
57  SimulationInfo::Factory(),
58  Simulate::Factory(),
59  Apply::Factory(),
60  LogicalResponse::Factory(),
61  LogicElement::Factory(),
62  WaveValue::Factory(),
63  Timing::Factory(),
64  PathDelay::Factory(),
65  Event::Factory(),
66  ForbiddenEvent::Factory() {}
FactoryType< InstanceArrayMember > Factory
FactoryType< VectorPortBitReference > Factory
FactoryType< VectorNetBit > Factory
FactoryType< VectorPortBit > Factory
FactoryType< ParameterArrayElement > Factory
torc::generic::ObjectFactory::~ObjectFactory ( )
throw (
)
virtual

Definition at line 68 of file ObjectFactory.cpp.

68 {}

Member Function Documentation

template<typename _Tp>
virtual void torc::generic::FactoryType< _Tp >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Design >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Property >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< SingleInstance >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< PathDelay >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< SingleParameter >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Event >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Status >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< VectorNet >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< NetBundle >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< PortList >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< VectorPort >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< PortListAlias >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< VectorPortReference >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< View >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Library >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< ParameterArray >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Root >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Written >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< ScalarNet >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< SimulationInfo >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< PortBundle >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< ScalarPort >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Simulate >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< Apply >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< ScalarPortReference >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< LogicalResponse >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
virtual void torc::generic::FactoryType< LogicElement >::create ( Pointer outPointer)
throw (Error
)
inlinevirtualinherited

Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.

Returns
A pointer to the freshly created object.

Definition at line 58 of file FactoryType.hpp.

58  {
59  try {
60  Pointer temp(new _Tp()); //Do not remove
61  outPointer = temp;
62  WeakPointer weakPtr(outPointer);
63  outPointer->setWeakThis(weakPtr);
64  } catch(std::exception& e) //May receive std::bad_alloc
65  {
66  //TBD::ERROR
67  }
68  }
SelfReferencing< Type >::WeakPointer WeakPointer
Definition: FactoryType.hpp:50
SelfReferencing< Type >::Pointer Pointer
Definition: FactoryType.hpp:45
ApplySharedPtr torc::generic::Apply::Factory::newApplyPtr ( const int32_t &  inNoOfCycle,
const Value inCycleDuration,
const std::list< LogicalResponseSharedPtr > &  inLogicResponces,
const SimulateSharedPtr inSimulate = SimulateSharedPtr() 
)
throw (Error
)
virtualinherited

Create an apply.

Parameters
[in]inNoOfCycleint32_t No of cycles for this apply.
[in]inCycleDurationValue Duration of each cycle.
[in]inLogicResponcesList of LogicResponces.
[in]inSimulatePointer to parented (Simulate) object [optional]. If not mentioned apply will not be added to simulate.
Returns
Pointer to created apply.

Definition at line 34 of file Apply.cpp.

36  {
37  try {
38  ApplySharedPtr newApply;
39  create(newApply);
40  newApply->setNoOfCycle(inNoOfCycle);
41  newApply->setCycleDuration(inCycleDuration);
42  newApply->setLogicResponses(inLogicResponces);
43  if(inSimulate) {
44  inSimulate->addApply(newApply);
45  }
46  return newApply;
47  } catch(Error& e) {
48  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
49  throw;
50  }
51 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Apply > ApplySharedPtr

+ Here is the call graph for this function:

CellSharedPtr torc::generic::Cell::Factory::newCellPtr ( const std::string &  inName,
const LibrarySharedPtr inLibraryPtr,
const Cell::Type inCellType = Cell::eTypeGeneric,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a cell

Parameters
[in]inNameName of the cell to be created.
[in]inLibraryPtrPointer to parented(Library) object.
[in]inCellTypeCell Type.
[in]inOriginalNameOriginal name of the cell [optional].
Returns
Pointer to created cell.

Create a cell

Parameters
[in]inNameName of the cell to be created.
[in]inLibraryPtrPointer to parented(Library) object.
[in]inCellTypeCell Type
[in]inOriginalNameOriginal name of the cell [optional]
Returns
Pointer to created cell.

Definition at line 63 of file Cell.cpp.

65  {
66  try {
67  CellSharedPtr newCell;
68  create(newCell);
69  newCell->setName(inName);
70  newCell->setParent(inLibraryPtr);
71  inLibraryPtr->addCell(newCell);
72  newCell->setType(inCellType);
73  newCell->setOriginalName(inOriginalName);
74  return newCell;
75  } catch(Error& e) {
76  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
77  throw;
78  }
79 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Cell > CellSharedPtr

+ Here is the call graph for this function:

DesignSharedPtr torc::generic::Design::Factory::newDesignPtr ( const std::string &  inName,
const RootSharedPtr inRootPtr,
const std::string &  inCellRefName,
const std::string &  inLibraryRefName,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a design

Parameters
[in]inNameName of the design to be created.
[in]inRootPtrPointer to parented(Root) object.
[in]inCellRefNameThe top level cell ref name for this design.
[in]inLibraryRefNameThe top level Library ref name for this design.
[in]inOriginalNameOriginal name of the design [optional].
Returns
Pointer to created design.

Definition at line 25 of file generic/Design.cpp.

27  {
28  try {
29  DesignSharedPtr newDesign;
30  create(newDesign);
31  newDesign->setName(inName);
32  newDesign->setParent(inRootPtr);
33  inRootPtr->addDesign(newDesign);
34  newDesign->setCellRefName(inCellRefName);
35  newDesign->setLibraryRefName(inLibraryRefName);
36  newDesign->setOriginalName(inOriginalName);
37  return newDesign;
38  } catch(Error& e) {
39  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
40  throw;
41  }
42 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Design > DesignSharedPtr

+ Here is the call graph for this function:

EventSharedPtr torc::generic::Event::Factory::newEventPtr ( const Event::Type inEventType,
const std::list< PortSharedPtr > &  inPorts,
const std::list< PortReferenceSharedPtr > &  inPortReferences,
const std::list< NetSharedPtr > &  inNets,
const LogicElementSharedPtr inTransition = LogicElementSharedPtr(),
const PortListSharedPtr inPortList = PortListSharedPtr(),
const Value inOffsetTime = Value() 
)
throw (Error
)
virtualinherited

Create an event.

Parameters
[in]inEventTypeEvent type.
[in]inPortsList of ports to this composition.
[in]inPortReferencesList of port references to this composition.
[in]inNetsList of nets to this composition.
[in]inTransitionPointer to logic state value(transition/becomes) [optional]. If no transition are specified, then the default meaning is any logic state change.
[in]inPortListConnected Port list to this event [optional].
[in]inOffsetTimeOffset time retative to an event [optional]. This is must for OffsetEvent, but optional for normal Event.
Returns
Pointer to created event.

Definition at line 38 of file Event.cpp.

42  {
43  try {
44  EventSharedPtr newEvent;
45  create(newEvent);
46  newEvent->setType(inEventType);
47  std::list<PortSharedPtr>::const_iterator portIt = inPorts.begin();
48  for(; portIt != inPorts.end(); portIt++) {
49  newEvent->addPort(*portIt);
50  }
51 
52  std::list<PortReferenceSharedPtr>::const_iterator portRefIt = inPortReferences.begin();
53  for(; portRefIt != inPortReferences.end(); portRefIt++) {
54  newEvent->addPortReference(*portRefIt);
55  }
56 
57  std::list<NetSharedPtr>::const_iterator netIt = inNets.begin();
58  for(; netIt != inNets.end(); netIt++) {
59  newEvent->addNet(*netIt);
60  }
61  if(inTransition) {
62  newEvent->setTransition(inTransition);
63  }
64  if(inPortList) {
65  newEvent->setPortList(inPortList);
66  }
67  if(Event::eTypeOffsetEvent == inEventType) {
68  if(inOffsetTime.getIsSet()) {
69  newEvent->setOffsetTime(inOffsetTime);
70  }
71  }
72  return newEvent;
73  } catch(Error& e) {
74  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
75  throw;
76  }
77 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Event > EventSharedPtr

+ Here is the call graph for this function:

ForbiddenEventSharedPtr torc::generic::ForbiddenEvent::Factory::newForbiddenEventPtr ( const EventSharedPtr inStartTimeInterval,
const EventSharedPtr inEndTimeInterval,
const std::list< EventSharedPtr > &  inEvents,
const TimingSharedPtr inTiming = TimingSharedPtr(),
const Value inDuration = Value() 
)
throw (Error
)
virtualinherited

Create a ForbiddenEvent.

Parameters
[in]inStartTimeIntervalPointer to start event/offsetEvent of timeInterval.
[in]inEndTimeIntervalPointer to end event/offsetEvent of timeInterval.
[in]inEventsList of events which are forbidden during a period of time specified by TimeInterval(StartTimeInterval and EndTimeInterval).
[in]inTimingPointer to parented object (Timing) [optional]. If not mentioned PathDelay will not be added to timing.
[in]inDurationDuration of timeInterval, if end event is absent [optional].
Returns
Pointer to created ForbiddenEvent.

Definition at line 36 of file ForbiddenEvent.cpp.

39  {
40  try {
41  ForbiddenEventSharedPtr newForbiddenEvent;
42  create(newForbiddenEvent);
43  newForbiddenEvent->setStartTimeInterval(inStartTimeInterval);
44  newForbiddenEvent->setEndTimeInterval(inEndTimeInterval);
45  newForbiddenEvent->setEvents(inEvents);
46  if(inDuration.getIsSet()) {
47  newForbiddenEvent->setDuration(inDuration);
48  }
49  if(inTiming) {
50  inTiming->addForbiddenEvent(newForbiddenEvent);
51  }
52  return newForbiddenEvent;
53  } catch(Error& e) {
54  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
55  throw;
56  }
57 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< ForbiddenEvent > ForbiddenEventSharedPtr

+ Here is the call graph for this function:

InstanceArraySharedPtr torc::generic::InstanceArray::Factory::newInstanceArrayPtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const ViewSharedPtr inMaster,
const size_t &  inSize,
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create an instance array

Parameters
[in]inNameName of the instance array to be created.
[in]inViewPtrPointer to parented(view) object.
[in]inMasterPointer to master object.
[in]inSizeSize of the instance array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the instance array [optional].
Returns
Pointer to created instance array.

Definition at line 51 of file InstanceArray.cpp.

53  {
54  try {
55  std::vector < size_t > limits;
56  limits.push_back(inSize);
57  return newInstanceArrayPtr(inName, inViewPtr, inMaster, limits, inFactory, inOriginalName);
58  } catch(Error& e) {
59  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
60  throw;
61  }
62 }
virtual InstanceArraySharedPtr newInstanceArrayPtr(const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMaster, const size_t &inSize, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string())

+ Here is the call graph for this function:

InstanceArraySharedPtr torc::generic::InstanceArray::Factory::newInstanceArrayPtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const ViewSharedPtr inMaster,
const std::vector< size_t > &  inLimits,
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create an instance array

Parameters
[in]inNameName of the instance array to be created.
[in]inViewPtrPointer to parented(view) object.
[in]inMasterPointer to master object.
[in]inLimitsDimensions of the vector.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the instance array [optional].
Returns
Pointer to created instance array.

Definition at line 77 of file InstanceArray.cpp.

80  {
81  try {
82  InstanceArraySharedPtr newInstanceArray;
83  create(newInstanceArray);
84  newInstanceArray->setName(inName);
85  //newInstanceArray->setMaster(inMaster);
86  newInstanceArray->constructChildren(inFactory, inLimits);
87  newInstanceArray->bindToMasterView(inMaster);
88  newInstanceArray->setOriginalName(inOriginalName);
89  inViewPtr->addInstance(newInstanceArray);
90  return newInstanceArray;
91  } catch(Error& e) {
92  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
93  throw;
94  }
95 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< InstanceArray > InstanceArraySharedPtr

+ Here is the call graph for this function:

InterfaceJoinedInfoSharedPtr torc::generic::InterfaceJoinedInfo::Factory::newInterfaceJoinedInfoPtr ( const std::list< PortSharedPtr > &  inPorts,
const std::list< PortListSharedPtr > &  inPortLists,
const ViewSharedPtr inViewPtr,
const InterfaceJoinedInfoSharedPtr inParentJoinedInfo = InterfaceJoinedInfoSharedPtr() 
)
throw (Error
)
virtualinherited

Create an interface joining information .

Parameters
[in]inPortsList of ports to this joining information.
[in]inPortListsList of portLists to this joining information.
[in]inViewPtrPointer to parented(View) object.
[in]inParentJoinedInfoPointer to parent joining information.
Returns
Pointer to created interface joining information.

Definition at line 33 of file InterfaceJoinedInfo.cpp.

36  {
37  try {
38  InterfaceJoinedInfoSharedPtr newInterfaceJoinedInfo;
39  create(newInterfaceJoinedInfo);
40  newInterfaceJoinedInfo->setPorts(inPorts);
41  if(inParentJoinedInfo) {
42  inParentJoinedInfo->addChildJoinedInfo(newInterfaceJoinedInfo);
43  } else if(inViewPtr) {
44  inViewPtr->addInterfaceJoinedInfo(newInterfaceJoinedInfo);
45  }
46  return newInterfaceJoinedInfo;
47  } catch(Error& e) {
48  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
49  throw;
50  }
51 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< InterfaceJoinedInfo > InterfaceJoinedInfoSharedPtr

+ Here is the call graph for this function:

LibrarySharedPtr torc::generic::Library::Factory::newLibraryPtr ( const std::string &  inName,
const RootSharedPtr inRootPtr,
const EdifLevel inEdifLevel = eEdifLevel0,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a library

Parameters
[in]inNameName of the library to be created.
[in]inRootPtrPointer to parented(Root) object.
[in]inEdifLevelEdif level.
[in]inOriginalNameOriginal name of the library [optional]
Returns
Pointer to created library.

Definition at line 71 of file Library.cpp.

73  {
74  try {
75  LibrarySharedPtr newLibrary;
76  create(newLibrary);
77  newLibrary->setName(inName);
78  newLibrary->setParent(inRootPtr);
79  inRootPtr->addLibrary(newLibrary);
80  newLibrary->setLevel(inEdifLevel);
81  newLibrary->setOriginalName(inOriginalName);
82  return newLibrary;
83  } catch(Error& e) {
84  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
85  throw;
86  }
87 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Library > LibrarySharedPtr

+ Here is the call graph for this function:

LogicalResponseSharedPtr torc::generic::LogicalResponse::Factory::newLogicalResponsePtr ( const ResponseType inResponseType,
const PortSharedPtr inPort,
const LogicElementSharedPtr inLogicWaveForm,
const PortListAliasSharedPtr inPortListAlias = PortListAliasSharedPtr() 
)
throw (Error
)
virtualinherited

Create a logical response.

Parameters
[in]inResponseTypeResponse type.
[in]inPortConnected Port to this logical response.
[in]inLogicWaveFormLogic wave form for this logical response.
[in]inPortListAliasConnected Port list alias to this logical response [optional].
Returns
Pointer to created logical response.

Definition at line 34 of file LogicalResponse.cpp.

37  {
38  try {
39  LogicalResponseSharedPtr newLogicalResponse;
40  create(newLogicalResponse);
41  newLogicalResponse->setResponseType(inResponseType);
42  newLogicalResponse->setConnectedPort(inPort);
43  newLogicalResponse->setLogicWaveForm(inLogicWaveForm);
44  newLogicalResponse->setConnectedPortListAlias(inPortListAlias);
45  return newLogicalResponse;
46  } catch(Error& e) {
47  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
48  throw;
49  }
50 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< LogicalResponse > LogicalResponseSharedPtr

+ Here is the call graph for this function:

LogicElementSharedPtr torc::generic::LogicElement::Factory::newLogicElementPtr ( const LogicElement::Type inType,
const LogicValueSharedPtr inLogicValue = LogicValueSharedPtr(),
const LogicElementSharedPtr inParentLogicElement = LogicElementSharedPtr() 
)
throw (Error
)
virtualinherited

Create a logic element.

Parameters
[in]inTypeType of the logic value.
[in]inLogicValuePointer to the logic value [optional], needed for single logic element creation.
[in]inParentLogicElementPointer to parent logic element [optional].
Returns
Pointer to created permutable.

Definition at line 32 of file LogicElement.cpp.

34  {
35  try {
36  LogicElementSharedPtr newLogicElement;
37  create(newLogicElement);
38  newLogicElement->setType(inType);
39  if(inLogicValue) {
40  newLogicElement->setName(inLogicValue->getName());
41  }
42  if(inParentLogicElement) {
43  inParentLogicElement->addChildLogicElement(newLogicElement);
44  }
45  return newLogicElement;
46  } catch(Error& e) {
47  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
48  throw;
49  }
50 }
boost::shared_ptr< LogicElement > LogicElementSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

LogicValueSharedPtr torc::generic::LogicValue::Factory::newLogicValuePtr ( const std::string &  inName,
const LogicValueAttributesSharedPtr inAttributes,
const std::string &  inOriginalName = std::string(),
const SimulationInfoSharedPtr inSimulationInfo = SimulationInfoSharedPtr() 
)
throw (Error
)
virtualinherited

Create a LogicValue.

Parameters
[in]inNameName of the LogicValue to be created.
[in]inAttributesPointer to LogicValueAttributes object.
[in]inOriginalNameOriginal name of the LogicValue [optional].
[in]inSimulationInfoPointer to parented(SimulationInfo) object. If not mentioned LogicValue will not be added to SimulationInfo.
Returns
Pointer to created LogicValue.

Definition at line 34 of file LogicValue.cpp.

36  {
37  try {
38  LogicValueSharedPtr newLogicValue;
39  create(newLogicValue);
40  newLogicValue->setName(inName);
41  newLogicValue->setAttributes(inAttributes);
42  newLogicValue->setOriginalName(inOriginalName);
43  if(inSimulationInfo) {
44  inSimulationInfo->addLogicValue(newLogicValue);
45  }
46  return newLogicValue;
47  } catch(Error& e) {
48  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
49  throw;
50  }
51 }
boost::shared_ptr< LogicValue > LogicValueSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

NetBundleSharedPtr torc::generic::NetBundle::Factory::newNetBundlePtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const NetBundleSharedPtr inParentCollection = NetBundleSharedPtr(),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a net bundle.

Parameters
[in]inNameName of the net bundle to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inParentCollectionPointer to parent bundle.
[in]inOriginalNameOriginal name of the net bundle [optional].
Returns
Pointer to created net bundle.

Create a net bundle.

Parameters
[in]inNameName of the net bundle to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inOriginalNameOriginal name of the vector net [optional].
Returns
Pointer to created net bundle.

Definition at line 47 of file NetBundle.cpp.

49  {
50  try {
51  NetBundleSharedPtr newNetBundle;
52  create(newNetBundle);
53  newNetBundle->setName(inName);
54  newNetBundle->setOriginalName(inOriginalName);
55  if(inParentCollection) {
56  inParentCollection->addChild(newNetBundle);
57  } else {
58  inViewPtr->addNet(newNetBundle);
59  }
60  return newNetBundle;
61  } catch(Error& e) {
62  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
63  throw;
64  }
65 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< NetBundle > NetBundleSharedPtr

+ Here is the call graph for this function:

ParameterArraySharedPtr torc::generic::ParameterArray::Factory::newParameterArrayPtr ( const std::string &  inName,
const size_t &  inSize,
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a parameter array.

Parameters
[in]inNameName of the parameter array to be created.
[in]inSizeSize of the instance array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the parameter array [optional].
Returns
Pointer to created parameter array.

Create a parameter array.

Parameters
[in]inNameName of the parameter array to be created.
[in]inUnitUnit of the parameter array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the parameter array [optional].
Returns
Pointer to created parameter array.

Definition at line 55 of file ParameterArray.cpp.

57  {
58  try {
59  std::vector < size_t > limits;
60  limits.push_back(inSize);
61  return newParameterArrayPtr(inName, limits, inFactory, inOriginalName);
62  } catch(Error& e) {
63  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
64  throw;
65  }
66 }
virtual ParameterArraySharedPtr newParameterArrayPtr(const std::string &inName, const size_t &inSize, const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string())

+ Here is the call graph for this function:

ParameterArraySharedPtr torc::generic::ParameterArray::Factory::newParameterArrayPtr ( const std::string &  inName,
const std::vector< size_t > &  inLimits,
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a parameter array.

Parameters
[in]inNameName of the parameter array to be created.
[in]inLimitsDimensions of the vector.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the parameter array [optional].
Returns
Pointer to created parameter array.

Create a parameter array.

Parameters
[in]inNameName of the parameter array to be created.
[in]inLimitsDimensions of the vector.
[in]inValueValue of the parameter array.
[in]inUnitUnit of the parameter array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the parameter array [optional].
Returns
Pointer to created parameter array.

Definition at line 80 of file ParameterArray.cpp.

82  {
83  try {
84  ParameterArraySharedPtr newParameterArray;
85  create(newParameterArray);
86  newParameterArray->setName(inName);
87  newParameterArray->setOriginalName(inOriginalName);
88  newParameterArray->constructChildren(inFactory, inLimits);
89  return newParameterArray;
90  } catch(Error& e) {
91  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
92  throw;
93  }
94 }
boost::shared_ptr< ParameterArray > ParameterArraySharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

PathDelaySharedPtr torc::generic::PathDelay::Factory::newPathDelayPtr ( const Value::MiNoMax inDelay,
const std::list< EventSharedPtr > &  inEvents,
const TimingSharedPtr inTiming = TimingSharedPtr() 
)
throw (Error
)
virtualinherited

Create a PathDelay.

Parameters
[in]inDelayValue::MiNoMax Delay value.
[in]inEventsList of events to be appended to
[in]inTimingPointer to parented object (Timing) [optional]. If not mentioned PathDelay will not be added to timing.
Returns
Pointer to created PathDelay.

Definition at line 33 of file PathDelay.cpp.

34  {
35  try {
36  PathDelaySharedPtr newPathDelay;
37  create(newPathDelay);
38  newPathDelay->setDelay(inDelay);
39  newPathDelay->setEvents(inEvents);
40  if(inTiming) {
41  inTiming->addPathDelay(newPathDelay);
42  }
43  return newPathDelay;
44  } catch(Error& e) {
45  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
46  throw;
47  }
48 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< PathDelay > PathDelaySharedPtr

+ Here is the call graph for this function:

PermutableSharedPtr torc::generic::Permutable::Factory::newPermutablePtr ( const std::vector< PortSharedPtr > &  inPorts,
const ViewSharedPtr inViewPtr,
const PermutableSharedPtr inParentPermutable = PermutableSharedPtr() 
)
throw (Error
)
virtualinherited

Create a permutable.

Parameters
[in]inPortsVector of ports to this permutable.
[in]inViewPtrPointer to parented(View) object.
[in]inParentPermutablePointer to parent permutable.
Returns
Pointer to created permutable.

Definition at line 31 of file Permutable.cpp.

32  {
33  try {
34  PermutableSharedPtr newPermutable;
35  create(newPermutable);
36  newPermutable->setPorts(inPorts);
37  if(inParentPermutable) {
38  inParentPermutable->addChildPermutable(newPermutable);
39  } else if(inViewPtr) {
40  inViewPtr->addPermutable(newPermutable);
41  }
42  return newPermutable;
43  } catch(Error& e) {
44  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
45  throw;
46  }
47 }
boost::shared_ptr< Permutable > PermutableSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

PortBundleSharedPtr torc::generic::PortBundle::Factory::newPortBundlePtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const PortBundleSharedPtr inParentCollection = PortBundleSharedPtr(),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a port bundle.

Parameters
[in]inNameName of the port bundle to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inParentCollectionPointer to parent bundle.
[in]inOriginalNameOriginal name of the port bundle [optional].
Returns
Pointer to created port bundle.

Create a port bundle.

Parameters
[in]inNameName of the port bundle to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inParentCollectionPointer to parent bundle.
[in]inOriginalNameOriginal name of the port bundle [optional].
Returns
Pointer to created port bundle.

Definition at line 156 of file PortBundle.cpp.

158  {
159  try {
160  PortBundleSharedPtr newPortBundle;
161  create(newPortBundle);
162  newPortBundle->setName(inName);
163  newPortBundle->setOriginalName(inOriginalName);
164  if(inParentCollection) {
165  inParentCollection->addChild(newPortBundle);
166  } else {
167  inViewPtr->addPort(newPortBundle);
168  }
169  return newPortBundle;
170  } catch(Error& e) {
171  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
172  throw;
173  }
174 }
boost::shared_ptr< PortBundle > PortBundleSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

PortBundleReferenceSharedPtr torc::generic::PortBundleReference::Factory::newPortBundleReferencePtr ( const InstanceSharedPtr inInstancePtr,
const PortSharedPtr inPortPtr,
const ObjectFactorySharedPtr inFactory,
const PortBundleReferenceSharedPtr inParentCollection = PortBundleReferenceSharedPtr() 
)
throw (Error
)
virtualinherited

Create a portbundle ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inFactoryFactory for the child.
[in]inParentCollectionPointer to parent bundle.
Returns
Pointer to created portbundle ref.

Definition at line 43 of file PortBundleReference.cpp.

46  {
47  try {
48  PortBundleReferenceSharedPtr newPortBundleReference;
49  PortRefCreator<PortBundleReferenceSharedPtr> creator(inFactory, inInstancePtr,
50  inParentCollection);
51  inPortPtr->getParent()->applyOnAllPorts(
52  VisitorApplier<PortRefCreator<PortBundleReferenceSharedPtr> >(creator));
53  newPortBundleReference = creator.getReturnValue();
54  newPortBundleReference->bindToMasterPort(inPortPtr);
55  return newPortBundleReference;
56  } catch(Error& e) {
57  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
58  throw;
59  }
60 
61 }
boost::shared_ptr< PortBundleReference > PortBundleReferenceSharedPtr

+ Here is the call graph for this function:

PortListAliasSharedPtr torc::generic::PortListAlias::Factory::newPortListAliasPtr ( const std::string &  inName,
const PortListSharedPtr inPortList,
const SimulateSharedPtr inSimulate = SimulateSharedPtr() 
)
throw (Error
)
virtualinherited

Create a port list alias

Parameters
[in]inNameName of the port list alias to be created.
[in]inPortListPointer to port list object.
[in]inSimulatePointer to parented (Simulate) object [optional]. If not mentioned PortListAlias will not be added to simulate.
Returns
Pointer to created port list alias.

Definition at line 32 of file PortListAlias.cpp.

33  {
34  try {
35  PortListAliasSharedPtr newPortListAlias;
36  create(newPortListAlias);
37  newPortListAlias->setName(inName);
38  newPortListAlias->setPortList(inPortList);
39  if(inSimulate) {
40  inSimulate->addPortListAlias(newPortListAlias);
41  }
42  return newPortListAlias;
43  } catch(Error& e) {
44  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
45  throw;
46  }
47 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< PortListAlias > PortListAliasSharedPtr

+ Here is the call graph for this function:

PortListSharedPtr torc::generic::PortList::Factory::newPortListPtr ( const std::list< PortSharedPtr > &  inPorts,
const std::list< PortReferenceSharedPtr > &  inPortReferences 
)
throw (Error
)
virtualinherited

Create a port list.

Parameters
[in]inPortsList of ports to this composition.
[in]inPortReferencesList of port references to this composition.
Returns
Pointer to created port list.

Definition at line 45 of file PortList.cpp.

46  {
47  try {
48  PortListSharedPtr newPortList;
49  create(newPortList);
50  std::list<PortSharedPtr>::const_iterator portIt = inPorts.begin();
51  for(; portIt != inPorts.end(); portIt++) {
52  newPortList->addChildPort(*portIt);
53  }
54  std::list<PortReferenceSharedPtr>::const_iterator portRefIt = inPortReferences.begin();
55  for(; portRefIt != inPortReferences.end(); portRefIt++) {
56  newPortList->addChildPortReference(*portRefIt);
57  }
58  return newPortList;
59  } catch(Error& e) {
60  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
61  throw;
62  }
63 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< PortList > PortListSharedPtr

+ Here is the call graph for this function:

PropertySharedPtr torc::generic::Property::Factory::newPropertyPtr ( const std::string &  inName,
const PropertyContainerSharedPtr inContainer,
const Value inValue,
const Unit inUnit = eUnitUndefined,
const PropertySharedPtr inParentProperty = PropertySharedPtr(),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
inlinevirtualinherited

Create a property.

Parameters
[in]inNameName of the property to be created.
[in]inContainerPointer of the property container.
[in]inValueValue of the property.
[in]inUnitUnit of the property.
Returns
Pointer to created property.

Definition at line 228 of file Property.hpp.

230  {
231  try {
232  PropertySharedPtr newProperty;
233  create(newProperty);
234  newProperty->setName(inName);
235  newProperty->setValue(inValue);
236  newProperty->setUnit(inUnit);
237  newProperty->setOriginalName(inOriginalName);
238  if(inParentProperty) {
239  inParentProperty->addChildProperty(inName, newProperty);
240  } else {
241  inContainer->setProperty(inName, newProperty);
242  }
243  return newProperty;
244  } catch(Error& e) {
245  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
246  throw;
247  }
248 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Property > PropertySharedPtr

+ Here is the call graph for this function:

RootSharedPtr torc::generic::Root::Factory::newRootPtr ( const std::string &  inName,
const EdifLevel inEdifLevel = eEdifLevel0,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a root

Parameters
[in]inNameName of the root to be created.
[in]inEdifLevelEdif level.
[in]inOriginalNameOriginal name of the root [optional].
Returns
Pointer to created root.

Create a root

Parameters
[in]inNameName of the root to be created.
[in]inEdifLevelEdif level.
[in]inOriginalNameOriginal name of the root [optional]
Returns
Pointer to created root.

Definition at line 211 of file Root.cpp.

212  {
213  try {
214  RootSharedPtr newRoot;
215  create(newRoot);
216  newRoot->setName(inName);
217  newRoot->setLevel(inEdifLevel);
218  newRoot->setOriginalName(inOriginalName);
219  return newRoot;
220  } catch(Error& e) {
221  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
222  throw;
223  }
224 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Root > RootSharedPtr

+ Here is the call graph for this function:

ScalarNetSharedPtr torc::generic::ScalarNet::Factory::newScalarNetPtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const NetBundleSharedPtr inParentCollection = NetBundleSharedPtr(),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a scalar net.

Parameters
[in]inNameName of the scalar net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inParentCollectionPointer to parent bundle.
[in]inOriginalNameOriginal name of the scalar net [optional].
Returns
Pointer to created scalar net.

Create a scalar net.

Parameters
[in]inNameName of the scalar net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inOriginalNameOriginal name of the scalar net [optional].
Returns
Pointer to created scalar net.

Definition at line 45 of file ScalarNet.cpp.

47  {
48  try {
49  ScalarNetSharedPtr newScalarNet;
50  create(newScalarNet);
51  newScalarNet->setName(inName);
52  newScalarNet->setOriginalName(inOriginalName);
53  if(inParentCollection) {
54  inParentCollection->addChild(newScalarNet);
55  } else {
56  inViewPtr->addNet(newScalarNet);
57  }
58  return newScalarNet;
59  } catch(Error& e) {
60  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
61  throw;
62  }
63 }
boost::shared_ptr< ScalarNet > ScalarNetSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

ScalarPortSharedPtr torc::generic::ScalarPort::Factory::newScalarPortPtr ( const std::string &  inName,
const EPortDirection inDirection,
const ViewSharedPtr inViewPtr,
const PortBundleSharedPtr inParentCollection = PortBundleSharedPtr(),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a scalar port.

Parameters
[in]inNameName of the scalar port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inParentCollectionPointer to parent bundle.
[in]inOriginalNameOriginal name of the scalar port [optional].
Returns
Pointer to created scalar port.

Create a scalar port.

Parameters
[in]inNameName of the scalar port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inOriginalNameOriginal name of the scalar port [optional].
Returns
Pointer to created scalar port.

Definition at line 50 of file ScalarPort.cpp.

53  {
54  try {
55  ScalarPortSharedPtr newScalarPort;
56  create(newScalarPort);
57  newScalarPort->setName(inName);
58  newScalarPort->setDirection(inDirection);
59  newScalarPort->setOriginalName(inOriginalName);
60  if(inParentCollection) {
61  inParentCollection->addChild(newScalarPort);
62  } else {
63  inViewPtr->addPort(newScalarPort);
64  }
65  return newScalarPort;
66  } catch(Error& e) {
67  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
68  throw;
69  }
70 }
boost::shared_ptr< ScalarPort > ScalarPortSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

ScalarPortReferenceSharedPtr torc::generic::ScalarPortReference::Factory::newScalarPortReferencePtr ( const InstanceSharedPtr inInstancePtr,
const PortSharedPtr inPortPtr,
const PortBundleReferenceSharedPtr inParentCollection = PortBundleReferenceSharedPtr() 
)
throw (Error
)
virtualinherited

Create a scalar port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inParentCollectionPointer to parent bundle.
Returns
Pointer to created scalar port ref.

Create a scalar port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
Returns
Pointer to created scalar port ref.

Definition at line 46 of file ScalarPortReference.cpp.

48  {
49  try {
50  ScalarPortReferenceSharedPtr newScalarPortReference;
51  create(newScalarPortReference);
52  newScalarPortReference->bindToMasterPort(inPortPtr);
53  if(inParentCollection) {
54  inParentCollection->addChild(newScalarPortReference);
55  } else {
56  inInstancePtr->addPortReference(newScalarPortReference);
57  }
58  return newScalarPortReference;
59  } catch(Error& e) {
60  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
61  throw;
62  }
63 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< ScalarPortReference > ScalarPortReferenceSharedPtr

+ Here is the call graph for this function:

SimulateSharedPtr torc::generic::Simulate::Factory::newSimulatePtr ( const std::string &  inName,
const std::vector< PortListAliasSharedPtr > &  inPortListAliases,
const std::vector< ApplySharedPtr > &  inAllApply,
const std::vector< WaveValueSharedPtr > &  inWaveValues,
const ViewSharedPtr inView,
const std::string &  inOriginalName = std::string(),
const InterfaceAttributesSharedPtr inInterfaceAttributes = InterfaceAttributesSharedPtr() 
)
throw (Error
)
virtualinherited

Create a simulate.

Parameters
[in]inNameName of the simulate to be created.
[in]inPortListAliasesVector of port list aliases to this simulate.
[in]inAllApplyVector of apply to this simulate.
[in]inWaveValuesVector of WaveValues to this simulate.
[in]inViewPointer to parented (view) object.
[in]inOriginalNameOriginal name of the simulate [optional].
[in]inInterfaceAttributesPointer to parented (InterfaceAttributes) object [optional]. If mentioned then this will decompile within (contents ...) construct.
Returns
Pointer to created simulate.

Definition at line 40 of file Simulate.cpp.

45  {
46  try {
47  SimulateSharedPtr newSimulate;
48  create(newSimulate);
49  newSimulate->setName(inName);
50  newSimulate->setPortListAliases(inPortListAliases);
51  newSimulate->setAllApply(inAllApply);
52  newSimulate->setWaveValues(inWaveValues);
53  newSimulate->setOriginalName(inOriginalName);
54  if(inInterfaceAttributes) {
55  inInterfaceAttributes->setSimulate(newSimulate);
56  inView->setInterfaceAttributes(inInterfaceAttributes);
57  } else {
58  inView->setSimulate(newSimulate);
59  }
60  return newSimulate;
61  } catch(Error& e) {
62  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
63  throw;
64  }
65 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Simulate > SimulateSharedPtr

+ Here is the call graph for this function:

SimulationInfoSharedPtr torc::generic::SimulationInfo::Factory::newSimulationInfoPtr ( const std::vector< LogicValueSharedPtr > &  inLogicValues,
const LibrarySharedPtr inLibraryPtr 
)
throw (Error
)
virtualinherited

Create a simulation info.

Parameters
[in]inLogicValuesVector of logic values to be appended to
[in]inLibraryPtrPointer to parented(Library) object.
Returns
Pointer to simulation info.

Definition at line 31 of file SimulationInfo.cpp.

33  {
34  try {
35  SimulationInfoSharedPtr newSimulationInfo;
36  create(newSimulationInfo);
37  newSimulationInfo->setLogicValues(inLogicValues);
38  inLibraryPtr->setSimulationInfo(newSimulationInfo);
39  return newSimulationInfo;
40  } catch(Error& e) {
41  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
42  throw;
43  }
44 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< SimulationInfo > SimulationInfoSharedPtr

+ Here is the call graph for this function:

SingleInstanceSharedPtr torc::generic::SingleInstance::Factory::newSingleInstancePtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const ViewSharedPtr inMasterPtr,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a single instance.

Parameters
[in]inNameName of the single instance to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inMasterPtrPointer to master(View) object.
[in]inOriginalNameOriginal name of the single instance [optional].
Returns
Pointer to created single instance.

Definition at line 43 of file SingleInstance.cpp.

45  {
46  try {
47  SingleInstanceSharedPtr newSingleInstance;
48  create(newSingleInstance);
49  newSingleInstance->setName(inName);
50  newSingleInstance->setMaster(inMasterPtr);
51  newSingleInstance->setOriginalName(inOriginalName);
52  inViewPtr->addInstance(newSingleInstance);
53  return newSingleInstance;
54  } catch(Error& e) {
55  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
56  throw;
57  }
58 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< SingleInstance > SingleInstanceSharedPtr

+ Here is the call graph for this function:

SingleParameterSharedPtr torc::generic::SingleParameter::Factory::newSingleParameterPtr ( const std::string &  inName,
const Value inValue,
const Unit inUnit = eUnitUndefined,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a single parameter.

Parameters
[in]inNameName of the single parameter to be created.
[in]inValueValue of the parameter.
[in]inUnitUnit of the parameter.
[in]inOriginalNameOriginal name of the single parameter [optional].
Returns
Pointer to created single parameter.

Create a single parameter.

Parameters
[in]inNameName of the single parameter to be created.
[in]inValueValue of the parameter.
[in]inUnitUnit of the parameter.
Returns
Pointer to created single parameter.

Definition at line 41 of file SingleParameter.cpp.

42  {
43  try {
44  SingleParameterSharedPtr newSingleParameter;
45  create(newSingleParameter);
46  newSingleParameter->setName(inName);
47  newSingleParameter->setValue(inValue);
48  newSingleParameter->setUnit(inUnit);
49  newSingleParameter->setOriginalName(inOriginalName);
50  return newSingleParameter;
51  } catch(Error& e) {
52  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
53  throw;
54  }
55 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< SingleParameter > SingleParameterSharedPtr

+ Here is the call graph for this function:

StatusSharedPtr torc::generic::Status::Factory::newStatusPtr ( const StatusContainerSharedPtr inContainer)
throw (Error
)
virtualinherited

Create a status.

Parameters
[in]inContainerPointer of the status container.
Returns
Pointer to created status.

Definition at line 28 of file Status.cpp.

29  {
30  try {
31  StatusSharedPtr newStatus;
32  create(newStatus);
33  inContainer->addStatus(newStatus);
34  return newStatus;
35  } catch(Error& e) {
36  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
37  throw;
38  }
39 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Status > StatusSharedPtr

+ Here is the call graph for this function:

TimingSharedPtr torc::generic::Timing::Factory::newTimingPtr ( const Derivation inDerivation,
const std::list< PathDelaySharedPtr > &  inPathDelays,
const std::list< ForbiddenEventSharedPtr > &  inForbiddentEvents,
const ViewSharedPtr inView,
const InterfaceAttributesSharedPtr inInterfaceAttributes = InterfaceAttributesSharedPtr(),
const InstanceSharedPtr inInstance = InstanceSharedPtr() 
)
throw (Error
)
virtualinherited

Create a Timing.

Parameters
[in]inDerivationDerivation value
[in]inPathDelaysList of path delays of this timing to be appended to.
[in]inForbiddentEventsList of forbidden events to be appended to
[in]inViewPointer to parented (view) object.
[in]inInterfaceAttributesPointer to parented (InterfaceAttributes) object [optional]. If mentioned then this will decompile within (contents ...) construct.
[in]inInstancePointer to parented object(Instance) [optional]. If mentioned then this will decompile within (instance ...) construct.
Returns
Pointer to created Timing.

Definition at line 41 of file Timing.cpp.

45  {
46  try {
47  TimingSharedPtr newTiming;
48  create(newTiming);
49  newTiming->setDerivation(inDerivation);
50  newTiming->setPathDelays(inPathDelays);
51  newTiming->setForbiddentEvents(inForbiddentEvents);
52  if(inInstance) {
53  inInstance->setTiming(newTiming);
54  } else if(inInterfaceAttributes) {
55  inInterfaceAttributes->setTiming(newTiming);
56  inView->setInterfaceAttributes(inInterfaceAttributes);
57  } else {
58  inView->setTiming(newTiming);
59  }
60  return newTiming;
61  } catch(Error& e) {
62  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
63  throw;
64  }
65 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Timing > TimingSharedPtr

+ Here is the call graph for this function:

VectorNetSharedPtr torc::generic::VectorNet::Factory::newVectorNetPtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const size_t &  inSize,
const NetBundleSharedPtr inParentCollection = NetBundleSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a vector net.

Parameters
[in]inNameName of the vector net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inSizeSize of the net array.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector net [optional].
Returns
Pointer to created vector net.

Create a vector net.

Parameters
[in]inNameName of the vector net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inSizeSize of the net array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector net [optional].
Returns
Pointer to created vector net.

Definition at line 49 of file VectorNet.cpp.

52  {
53  try {
54  std::vector < size_t > limits;
55  limits.push_back(inSize);
56  return newVectorNetPtr(inName, inViewPtr, limits, inParentCollection, inFactory,
57  inOriginalName);
58  } catch(Error& e) {
59  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
60  throw;
61  }
62 }
virtual VectorNetSharedPtr newVectorNetPtr(const std::string &inName, const ViewSharedPtr &inViewPtr, const size_t &inSize, const NetBundleSharedPtr &inParentCollection=NetBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string())
Definition: VectorNet.cpp:49

+ Here is the call graph for this function:

VectorNetSharedPtr torc::generic::VectorNet::Factory::newVectorNetPtr ( const std::string &  inName,
const ViewSharedPtr inViewPtr,
const std::vector< size_t > &  inLimits,
const NetBundleSharedPtr inParentCollection = NetBundleSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a vector net.

Parameters
[in]inNameName of the vector net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inLimitsDimensions of the vector.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector net [optional].
Returns
Pointer to created vector net.

Create a vector net.

Parameters
[in]inNameName of the vector net to be created.
[in]inViewPtrPointer to parented(View) object.
[in]inLimitsDimensions of the vector.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector net [optional].
Returns
Pointer to created vector net.

Definition at line 75 of file VectorNet.cpp.

78  {
79  try {
80  VectorNetSharedPtr newVectorNet;
81  create(newVectorNet);
82  newVectorNet->setName(inName);
83  newVectorNet->constructChildren(inFactory, inLimits);
84  newVectorNet->setOriginalName(inOriginalName);
85  if(inParentCollection) {
86  inParentCollection->addChild(newVectorNet);
87  } else {
88  inViewPtr->addNet(newVectorNet);
89  }
90  return newVectorNet;
91  } catch(Error& e) {
92  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
93  throw;
94  }
95 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< VectorNet > VectorNetSharedPtr

+ Here is the call graph for this function:

VectorPortSharedPtr torc::generic::VectorPort::Factory::newVectorPortPtr ( const std::string &  inName,
const EPortDirection inDirection,
const ViewSharedPtr inViewPtr,
const size_t &  inSize,
const PortBundleSharedPtr inParentCollection = PortBundleSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr( new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a vector port.

Parameters
[in]inNameName of the vector port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inSizeSize of the port array.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector port [optional].
Returns
Pointer to created vector port.

Create a vector port.

Parameters
[in]inNameName of the vector port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inSizeSize of the port array.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector port [optional].
Returns
Pointer to created vector port.

Definition at line 54 of file VectorPort.cpp.

57  {
58  try {
59  std::vector < size_t > limits;
60  limits.push_back(inSize);
61  return newVectorPortPtr(inName, inDirection, inViewPtr, limits, inParentCollection,
62  inFactory, inOriginalName);
63  } catch(Error& e) {
64  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
65  throw;
66  }
67 }
virtual VectorPortSharedPtr newVectorPortPtr(const std::string &inName, const EPortDirection &inDirection, const ViewSharedPtr &inViewPtr, const size_t &inSize, const PortBundleSharedPtr &inParentCollection=PortBundleSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()), const std::string &inOriginalName=std::string())
Definition: VectorPort.cpp:54

+ Here is the call graph for this function:

VectorPortSharedPtr torc::generic::VectorPort::Factory::newVectorPortPtr ( const std::string &  inName,
const EPortDirection inDirection,
const ViewSharedPtr inViewPtr,
const std::vector< size_t > &  inLimits,
const PortBundleSharedPtr inParentCollection = PortBundleSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseVectorType::ChildFactorySharedPtr(new BaseVectorType::ChildFactory()),
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a vector port.

Parameters
[in]inNameName of the vector port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inLimitsDimensions of the vector.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector port [optional].
Returns
Pointer to created vector port.

Create a vector port.

Parameters
[in]inNameName of the vector port to be created.
[in]inDirectionDirection of port.
[in]inViewPtrPointer to parented(View) object.
[in]inLimitsDimensions of the vector.
[in]inFactoryFactory for the child.
[in]inOriginalNameOriginal name of the vector port [optional].
Returns
Pointer to created vector port.

Definition at line 81 of file VectorPort.cpp.

84  {
85  try {
86  VectorPortSharedPtr newVectorPort;
87  create(newVectorPort);
88  newVectorPort->setName(inName);
89  newVectorPort->setDirection(inDirection);
90  newVectorPort->constructChildren(inFactory,
91  inLimits);
92  newVectorPort->setOriginalName(inOriginalName);
93  if(inParentCollection) {
94  inParentCollection->addChild(newVectorPort);
95  } else {
96  inViewPtr->addPort(newVectorPort);
97  }
98  return newVectorPort;
99  } catch(Error& e) {
100  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
101  throw;
102  }
103 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< VectorPort > VectorPortSharedPtr

+ Here is the call graph for this function:

VectorPortReferenceSharedPtr torc::generic::VectorPortReference::Factory::newVectorPortReferencePtr ( const InstanceSharedPtr inInstancePtr,
const PortSharedPtr inPortPtr,
const size_t &  inSize,
const PortBundleReferenceSharedPtr inParentCollection = PortBundleReferenceSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseType::ChildFactorySharedPtr(new BaseType::ChildFactory()) 
)
throw (Error
)
virtualinherited

Create a vector port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inSizeSize of the net array.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
Returns
Pointer to created scalar port ref.

Create a vector port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inSizeSize of the net array.
[in]inFactoryFactory for the child.
Returns
Pointer to created scalar port ref.

Definition at line 78 of file VectorPortReference.cpp.

81  {
82  try {
83  std::vector < size_t > limits;
84  limits.push_back(inSize);
85  return newVectorPortReferencePtr(inInstancePtr, inPortPtr, limits, inParentCollection,
86  inFactory);
87  } catch(Error& e) {
88  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
89  throw;
90  }
91 }
virtual VectorPortReferenceSharedPtr newVectorPortReferencePtr(const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const size_t &inSize, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr(), const ChildFactorySharedPtr &inFactory=BaseType::ChildFactorySharedPtr(new BaseType::ChildFactory()))

+ Here is the call graph for this function:

VectorPortReferenceSharedPtr torc::generic::VectorPortReference::Factory::newVectorPortReferencePtr ( const InstanceSharedPtr inInstancePtr,
const PortSharedPtr inPortPtr,
const std::vector< size_t > &  inLimits,
const PortBundleReferenceSharedPtr inParentCollection = PortBundleReferenceSharedPtr(),
const ChildFactorySharedPtr inFactory = BaseType::ChildFactorySharedPtr(new BaseType::ChildFactory()) 
)
throw (Error
)
virtualinherited

Create a vector port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inLimitsDimensions of the vector.
[in]inParentCollectionPointer to parent bundle.
[in]inFactoryFactory for the child.
Returns
Pointer to created scalar port ref.

Create a vector port ref.

Parameters
[in]inInstancePtrPointer to parented(Instance) object.
[in]inPortPtrPointer to master(Port) object.
[in]inLimitsDimensions of the vector.
[in]inFactoryFactory for the child.
Returns
Pointer to created scalar port ref.

Definition at line 103 of file VectorPortReference.cpp.

106  {
107  try {
108  VectorPortReferenceSharedPtr newVectorPortReference;
109  create(newVectorPortReference);
110  newVectorPortReference->constructChildren(inFactory, inLimits);
111  newVectorPortReference->bindToMasterPort(inPortPtr);
112  if(inParentCollection) {
113  inParentCollection->addChild(newVectorPortReference);
114  } else {
115  inInstancePtr->addPortReference(newVectorPortReference);
116  }
117  return newVectorPortReference;
118  } catch(Error& e) {
119  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
120  throw;
121  }
122 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< VectorPortReference > VectorPortReferenceSharedPtr

+ Here is the call graph for this function:

ViewSharedPtr torc::generic::View::Factory::newViewPtr ( const std::string &  inName,
const CellSharedPtr inCellPtr,
const View::Type inViewType = View::eTypeNetlist,
const std::string &  inOriginalName = std::string() 
)
throw (Error
)
virtualinherited

Create a view

Parameters
[in]inNameName of the view to be created.
[in]inCellPtrPointer to parented(Cell) object.
[in]inViewTypeView Type.
[in]inOriginalNameOriginal name of the view [optional].
Returns
Pointer to created view.

Definition at line 72 of file View.cpp.

73  {
74  try {
75  ViewSharedPtr newView;
76  create(newView);
77  newView->setName(inName);
78  newView->setParent(inCellPtr);
79  newView->setType(inViewType);
80  newView->setOriginalName(inOriginalName);
81  inCellPtr->addView(newView);
82  return newView;
83  } catch(Error& e) {
84  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
85  throw;
86  }
87 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< View > ViewSharedPtr

+ Here is the call graph for this function:

WaveValueSharedPtr torc::generic::WaveValue::Factory::newWaveValuePtr ( const std::string &  inName,
const Value inDeltaTimeDuration,
const LogicElementSharedPtr  inLogicWaveForm,
const SimulateSharedPtr inSimulate = SimulateSharedPtr() 
)
throw (Error
)
virtualinherited

Create a WaveValue.

Parameters
[in]inNameName of the WaveValue to be created.
[in]inDeltaTimeDurationValue Delta time duration between the values contained in the logic waveform.
[in]inLogicWaveFormLogic wave form for this WaveValue.
[in]inSimulatePointer to parented (Simulate) object [optional]. If not mentioned WaveValue will not be added to simulate.
Returns
Pointer to created WaveValue.

Definition at line 35 of file WaveValue.cpp.

37  {
38  try {
39  WaveValueSharedPtr newWaveValue;
40  create(newWaveValue);
41  newWaveValue->setName(inName);
42  newWaveValue->setDeltaTimeDuration(inDeltaTimeDuration);
43  newWaveValue->setLogicWaveform(inLogicWaveForm);
44  if(inSimulate) {
45  inSimulate->addWaveValue(newWaveValue);
46  }
47  return newWaveValue;
48  } catch(Error& e) {
49  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
50  throw;
51  }
52 }
boost::shared_ptr< WaveValue > WaveValueSharedPtr
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58

+ Here is the call graph for this function:

WrittenSharedPtr torc::generic::Written::Factory::newWrittenPtr ( const TimeStamp inTimeStamp,
const StatusSharedPtr inStatusPtr,
const std::string &  inAuthorName = std::string(),
const std::string &  inProgramName = std::string(),
const std::string &  inProgramVersion = std::string(),
const std::string &  inDataOriginLocName = std::string(),
const std::string &  inDataOriginVersion = std::string() 
)
throw (Error
)
virtualinherited

Create a written.

Parameters
[in]inTimeStampTimeStamp in Universal Time Coordinate.
[in]inStatusPtrPointer to parented(Status) object.
[in]inAuthorNameName of the author
[in]inProgramNameName of the program
[in]inProgramVersionVersion of the program
[in]inDataOriginLocNameData Origin Location Name
[in]inDataOriginVersionVersion of the DataOrigin
Returns
Pointer to created written.

Definition at line 35 of file Written.cpp.

38  {
39  try {
40  WrittenSharedPtr newWritten;
41  create(newWritten);
42  newWritten->setTimeStamp(inTimeStamp);
43  newWritten->setAuthorName(inAuthorName);
44  newWritten->setProgramName(inProgramName);
45  newWritten->setProgramVersion(inProgramVersion);
46  newWritten->setDataOriginLocationName(inDataOriginLocName);
47  newWritten->setDataOriginVersion(inDataOriginVersion);
48  if(inStatusPtr) {
49  inStatusPtr->addWritten(newWritten);
50  }
51  return newWritten;
52  } catch(Error& e) {
53  e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
54  throw;
55  }
56 }
virtual void create(Pointer &outPointer)
Definition: FactoryType.hpp:58
boost::shared_ptr< Written > WrittenSharedPtr

+ Here is the call graph for this function:


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