torc-master
|
This class is used within simulate to describe input stimuli and expected responces over a certain time interval. More...
#include <WaveValue.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef VisitorType< WaveValue > | Visitor |
typedef WaveValue | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const Value | getDeltaTimeDuration () const |
void | setDeltaTimeDuration (const Value &value) |
const LogicElementSharedPtr | getLogicWaveform () const |
void | setLogicWaveform (const LogicElementSharedPtr &inSource) |
~WaveValue () throw () | |
virtual const std::string | getName () const |
void | setName (const std::string &inSource) throw (Error) |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
Protected Member Functions | |
WaveValue () | |
Private Member Functions | |
WaveValue (const WaveValue &source) | |
WaveValue & | operator= (const WaveValue &source) |
Private Attributes | |
Value | mDeltaTimeDuration |
LogicElementSharedPtr | mLogicWaveform |
Friends | |
class | FactoryType< WaveValue > |
This class is used within simulate to describe input stimuli and expected responces over a certain time interval.
Definition at line 35 of file WaveValue.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
Convenience class to visit a WaveValue.
Definition at line 43 of file WaveValue.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
torc::generic::WaveValue::~WaveValue | ( | ) | ||
throw | ( | |||
) |
Definition at line 57 of file WaveValue.cpp.
|
protected |
Definition at line 54 of file WaveValue.cpp.
|
private |
|
virtual |
Definition at line 59 of file WaveValue.cpp.
|
inline |
Get the delta time duration between the values contained in the logic waveform.
Definition at line 115 of file WaveValue.hpp.
|
inline |
Get the logic waveform.
Get the logic waveform.
[out] | outLogicElements | List of LogicElement (s) to be appended to |
Definition at line 124 of file WaveValue.hpp.
|
inlinevirtualinherited |
Get the object name
Definition at line 89 of file Nameable.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::WaveValue::setDeltaTimeDuration | ( | const Value & | value | ) |
Set the delta time duration between the values contained in the logic waveform.
[in] | value | Delta time duration between the values contained in the logic waveform. |
Set the delta time duration between the values contained in the logic waveform.
[in] | Value | Delta time duration between the values contained in the logic waveform. |
Definition at line 72 of file WaveValue.cpp.
void torc::generic::WaveValue::setLogicWaveform | ( | const LogicElementSharedPtr & | inSource | ) |
Set the logic waveform.
[in] | inSource | Pointer to logic element object. |
Definition at line 81 of file WaveValue.cpp.
|
inherited |
Set a name for this object
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members)
|
Set a name for this object
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members) |
Definition at line 41 of file Nameable.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 36 of file WaveValue.hpp.
|
private |
Definition at line 106 of file WaveValue.hpp.
|
private |
Definition at line 107 of file WaveValue.hpp.