#include <Timing.hpp>
Public Types | |
typedef VisitorType< Timing > | Visitor |
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 () | |
Timing & | operator= (const Timing &source) throw () |
Private Attributes | |
Derivation | mDerivation |
std::list< PathDelaySharedPtr > | mPathDelays |
std::list < ForbiddenEventSharedPtr > | mForbiddentEvents |
Friends | |
class | FactoryType< Timing > |
Classes | |
class | Factory |
Definition at line 41 of file Timing.hpp.
Convenience class to visit a Timing.
Definition at line 53 of file Timing.hpp.
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.
[in,out] | inoutVisitor | A reference to the inoutVisitor object |
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] |
void torc::generic::Timing::setDerivation | ( | const Derivation & | value | ) | throw () |
void torc::generic::Timing::getPathDelays | ( | std::list< PathDelaySharedPtr > & | outPathDelays | ) | const throw () [inline] |
Get all the path delays of this timing.
[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.
[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.
[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.
[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.
[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.
[in] | inSource | Pointer to forbidden event to be appended to |
Definition at line 176 of file Timing.cpp.