torc-master
|
This class associates a delay with a specified chain of events. Delay contains the time from first event to final event. More...
#include <PathDelay.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef PathDelay | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
const Value::MiNoMax | getDelay () const |
void | setDelay (const Value::MiNoMax &inSource) |
void | getEvents (std::list< EventSharedPtr > &outEvents) const |
void | setEvents (const std::list< EventSharedPtr > &inEvents) |
void | addEvent (const EventSharedPtr &inEvent) throw (Error) |
PathDelay () | |
~PathDelay () throw () | |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
Private Member Functions | |
PathDelay (const PathDelay &inSource) | |
PathDelay & | operator= (const PathDelay &inSource) |
Private Attributes | |
Value::MiNoMax | mDelay |
std::list< EventSharedPtr > | mEvents |
Friends | |
class | FactoryType< PathDelay > |
This class associates a delay with a specified chain of events. Delay contains the time from first event to final event.
Definition at line 36 of file PathDelay.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
torc::generic::PathDelay::PathDelay | ( | ) |
Definition at line 77 of file PathDelay.cpp.
torc::generic::PathDelay::~PathDelay | ( | ) | ||
throw | ( | |||
) |
Definition at line 79 of file PathDelay.cpp.
|
private |
void torc::generic::PathDelay::addEvent | ( | const EventSharedPtr & | inEvent | ) | |
throw | ( | Error | |||
) |
Add an event to the list of events. Empty pointer is ignored.
[in] | inEvent | Pointer to event to be added. |
Definition at line 70 of file PathDelay.cpp.
|
inline |
|
inline |
Get the list of events associated with this path delay.
Definition at line 114 of file PathDelay.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 |
void torc::generic::PathDelay::setDelay | ( | const Value::MiNoMax & | inSource | ) |
void torc::generic::PathDelay::setEvents | ( | const std::list< EventSharedPtr > & | inEvents | ) |
Set all the events of this forbiddenEvent.
[in] | inEvents | List of events to be appended to |
Set all the events of this forbiddenEvent.
[out] | inEvents | List of events to be appended to |
Definition at line 59 of file PathDelay.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 37 of file PathDelay.hpp.
|
private |
Definition at line 105 of file PathDelay.hpp.
|
private |
Definition at line 106 of file PathDelay.hpp.