torc::generic::Timing Class Reference

This class is used to provide a set of path delays or timing constrains (forbidden events). More...

#include <Timing.hpp>

Inheritance diagram for torc::generic::Timing:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef VisitorType< TimingVisitor

Public Member Functions

virtual void accept (BaseVisitor &inoutVisitor) throw (Error)
const Derivation getDerivation () const throw ()
void setDerivation (const Derivation &value) throw ()
void getPathDelays (std::list< PathDelaySharedPtr > &outPathDelays) const throw ()
void setPathDelays (const std::list< PathDelaySharedPtr > &inPathDelays) throw ()
void addPathDelay (const PathDelaySharedPtr &inSource) throw ()
void getForbiddentEvents (std::list< ForbiddenEventSharedPtr > &outForbiddentEvents) const throw ()
void setForbiddentEvents (const std::list< ForbiddenEventSharedPtr > &inForbiddentEvents) throw ()
void addForbiddenEvent (const ForbiddenEventSharedPtr &inSource) throw ()

Private Member Functions

 Timing (const Timing &source) throw ()
Timingoperator= (const Timing &source) throw ()

Private Attributes

Derivation mDerivation
std::list< PathDelaySharedPtr > mPathDelays
std::list
< ForbiddenEventSharedPtr > 
mForbiddentEvents

Friends

class FactoryType< Timing >

Classes

class  Factory


Detailed Description

This class is used to provide a set of path delays or timing constrains (forbidden events).

Definition at line 41 of file Timing.hpp.


Member Typedef Documentation

Convenience class to visit a Timing.

Definition at line 53 of file Timing.hpp.


Member Function Documentation

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

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

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

Implements torc::generic::Visitable.

Definition at line 80 of file Timing.cpp.

const Derivation torc::generic::Timing::getDerivation (  )  const throw () [inline]

Get derivation

Returns:
Derivation value

Definition at line 180 of file Timing.hpp.

void torc::generic::Timing::setDerivation ( const Derivation value  )  throw ()

Set derivation

Parameters:
[in] value Derivation value

Definition at line 99 of file Timing.cpp.

void torc::generic::Timing::getPathDelays ( std::list< PathDelaySharedPtr > &  outPathDelays  )  const throw () [inline]

Get all the path delays of this timing.

Parameters:
[out] outPathDelays List of path delays of this timing to be appended to

Definition at line 190 of file Timing.hpp.

void torc::generic::Timing::setPathDelays ( const std::list< PathDelaySharedPtr > &  inPathDelays  )  throw ()

Set all the path delays of this timing.

Parameters:
[in] inPathDelays List of path delays of this timing to be appended to

Definition at line 109 of file Timing.cpp.

void torc::generic::Timing::addPathDelay ( const PathDelaySharedPtr &  inSource  )  throw ()

Add a path delay to the list of path delays.

Parameters:
[in] inSource Pointer to path delay to be appended to

Definition at line 157 of file Timing.cpp.

void torc::generic::Timing::getForbiddentEvents ( std::list< ForbiddenEventSharedPtr > &  outForbiddentEvents  )  const throw () [inline]

Get all the forbidden events of this timing.

Parameters:
[out] outForbiddentEvents List of events to be appended to

Definition at line 202 of file Timing.hpp.

void torc::generic::Timing::setForbiddentEvents ( const std::list< ForbiddenEventSharedPtr > &  inForbiddentEvents  )  throw ()

Set all the forbidden events of this timing.

Parameters:
[in] inForbiddentEvents List of events to be appended to

Definition at line 133 of file Timing.cpp.

void torc::generic::Timing::addForbiddenEvent ( const ForbiddenEventSharedPtr &  inSource  )  throw ()

Add a forbidden event of the list of forbidden events.

Parameters:
[in] inSource Pointer to forbidden event to be appended to

Definition at line 176 of file Timing.cpp.


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

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