torc-master
|
This class is used within simulate to describe input stimuli and expected responces over a certain time interval. More...
#include <Apply.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef VisitorType< Apply > | Visitor |
typedef Apply | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const int32_t | getNoOfCycle () const |
void | setNoOfCycle (const int32_t &inValue) |
const Value | getCycleDuration () const |
void | setCycleDuration (const Value &value) |
void | getLogicResponses (std::list< LogicalResponseSharedPtr > &outLogicResponces) const |
void | setLogicResponses (const std::list< LogicalResponseSharedPtr > &inLogicResponces) |
void | addLogicResponse (const LogicalResponseSharedPtr &inLogicResponce) |
~Apply () throw () | |
void | addComment (const std::string &comment) |
const std::vector< std::string > & | getComments () const |
void | setComments (const std::vector< std::string > &inSource) |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
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 | |
Apply () | |
Private Member Functions | |
Apply (const Apply &source) | |
Apply & | operator= (const Apply &source) |
Private Attributes | |
int32_t | mNoOfCycle |
Value | mCycleDuration |
std::list < LogicalResponseSharedPtr > | mLogicResponses |
Friends | |
class | FactoryType< Apply > |
This class is used within simulate to describe input stimuli and expected responces over a certain time interval.
|
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.
|
protected |
Definition at line 110 of file Apply.cpp.
|
private |
|
virtual |
Implements torc::generic::Visitable.
Definition at line 53 of file Apply.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::Apply::addLogicResponse | ( | const LogicalResponseSharedPtr & | inLogicResponce | ) |
Add a LogicResponce to the list of LogicResponce.
[in] | inLogicResponce | Pointer to LogicResponce to be appended to |
Add a LogicResponce to the list of LogicResponces.
[in] | inLogicResponce | Pointer to LogicResponce to be appended to |
Definition at line 101 of file Apply.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 the list of LogicResponce.
[out] | outLogicResponces | List of LogicResponce (s) to be appended to |
Definition at line 154 of file Apply.hpp.
|
inline |
|
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::Apply::setCycleDuration | ( | const Value & | value | ) |
void torc::generic::Apply::setLogicResponses | ( | const std::list< LogicalResponseSharedPtr > & | inLogicResponces | ) |
Set the list of LogicResponce.
[in] | inLogicResponces | List of LogicResponce (s) to be appended to |
Definition at line 83 of file Apply.cpp.
void torc::generic::Apply::setNoOfCycle | ( | const int32_t & | inValue | ) |
|
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 |
|
private |