torc-master
|
This class is used to provide a set of path delays or timing constrains (forbidden events) More...
#include <Timing.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef VisitorType< Timing > | Visitor |
typedef Timing | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const Derivation | getDerivation () const |
void | setDerivation (const Derivation &value) |
void | getPathDelays (std::list< PathDelaySharedPtr > &outPathDelays) const |
void | setPathDelays (const std::list< PathDelaySharedPtr > &inPathDelays) |
void | addPathDelay (const PathDelaySharedPtr &inSource) |
void | getForbiddentEvents (std::list< ForbiddenEventSharedPtr > &outForbiddentEvents) const |
void | setForbiddentEvents (const std::list< ForbiddenEventSharedPtr > &inForbiddentEvents) |
void | addForbiddenEvent (const ForbiddenEventSharedPtr &inSource) |
~Timing () throw () | |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
void | addComment (const std::string &comment) |
const std::vector< std::string > & | getComments () const |
void | setComments (const std::vector< std::string > &inSource) |
void | getUserData (std::list< std::string > &outUserData) const |
void | setUserData (const std::list< std::string > &inSource) |
void | addUserData (const std::string &inSource) |
Protected Member Functions | |
Timing () | |
Private Member Functions | |
Timing (const Timing &source) | |
Timing & | operator= (const Timing &source) |
Private Attributes | |
Derivation | mDerivation |
std::list< PathDelaySharedPtr > | mPathDelays |
std::list < ForbiddenEventSharedPtr > | mForbiddentEvents |
Friends | |
class | FactoryType< Timing > |
This class is used to provide a set of path delays or timing constrains (forbidden events)
Definition at line 40 of file Timing.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
Convenience class to visit a Timing.
Definition at line 48 of file Timing.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
torc::generic::Timing::~Timing | ( | ) | ||
throw | ( | |||
) |
Definition at line 150 of file Timing.cpp.
|
protected |
Definition at line 147 of file Timing.cpp.
|
private |
|
virtual |
Implements torc::generic::Visitable.
Definition at line 67 of file Timing.cpp.
|
inherited |
Add a comment to the object
[in] | comment | The comment to add to an existing list of comments |
Definition at line 36 of file Commentable.cpp.
void torc::generic::Timing::addForbiddenEvent | ( | const ForbiddenEventSharedPtr & | inSource | ) |
Add a forbidden event of the list of forbidden events.
[in] | inSource | Pointer to forbidden event to be appended to |
Definition at line 138 of file Timing.cpp.
void torc::generic::Timing::addPathDelay | ( | const PathDelaySharedPtr & | inSource | ) |
Add a path delay to the list of path delays.
[in] | inSource | Pointer to path delay to be appended to |
Definition at line 124 of file Timing.cpp.
|
inherited |
Add an user data to the list of user data
[in] | inSource | An user data as string |
Definition at line 34 of file UserDataContainer.cpp.
|
inlineinherited |
Get the list of all comments
Definition at line 85 of file Commentable.hpp.
|
inline |
|
inline |
Get all the forbidden events of this timing.
[out] | outForbiddentEvents | List of events to be appended to |
Definition at line 176 of file Timing.hpp.
|
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 167 of file Timing.hpp.
|
inlineinherited |
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
[out] | ptr | Set to a shared pointer to this object |
|
inlineinherited |
Get the list of all userData
[out] | outUserData | The list of all userData |
Definition at line 78 of file UserDataContainer.hpp.
|
inherited |
Get the list of all comments
[in] | inSource | A list of all comments to be set on this object |
Definition at line 45 of file Commentable.cpp.
void torc::generic::Timing::setDerivation | ( | const Derivation & | value | ) |
void torc::generic::Timing::setForbiddentEvents | ( | const std::list< ForbiddenEventSharedPtr > & | inForbiddentEvents | ) |
Set all the forbidden events of this timing.
[in] | inForbiddentEvents | List of events to be appended to |
Definition at line 107 of file Timing.cpp.
void torc::generic::Timing::setPathDelays | ( | const std::list< PathDelaySharedPtr > & | inPathDelays | ) |
Set all the path delays of this timing.
[in] | inPathDelays | List of path delays of this timing to be appended to |
Definition at line 90 of file Timing.cpp.
|
inherited |
Set the list of userData
[in] | inSource | The list of UserData |
Definition at line 26 of file UserDataContainer.cpp.
|
inlineinherited |
Set a weak pointer to this object. This will be used later to get a shared pointer to this object from within other member methods if required. This should be called by the Factory creating the object.
[in] | weakThis | A weak pointer to this object |
|
friend |
Definition at line 42 of file Timing.hpp.
|
private |
Definition at line 147 of file Timing.hpp.
|
private |
Definition at line 149 of file Timing.hpp.
|
private |
Definition at line 148 of file Timing.hpp.