|
torc-master
|
This class is used to model logicInput/logicOutput construct. This class holds information of logical response to be expected from a ports during simulation. More...
#include <LogicalResponse.hpp>
Inheritance diagram for torc::generic::LogicalResponse:
Collaboration diagram for torc::generic::LogicalResponse:Data Structures | |
| class | Factory |
Public Types | |
| enum | ResponseType { eResponseTypeInput = 0, eResponseTypeOutput } |
| typedef VisitorType < LogicalResponse > | Visitor |
| typedef LogicalResponse | Type |
| typedef boost::shared_ptr< Type > | Pointer |
| typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
| const ResponseType | getResponseType () const |
| void | setResponseType (const ResponseType &inSource) |
| virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
| const PortSharedPtr | getConnectedPort () const |
| void | setConnectedPort (const PortSharedPtr &inPort) |
| const PortListSharedPtr | getConnectedPortList () const |
| void | setConnectedPortList (const PortListSharedPtr &inPortList) |
| const PortListAliasSharedPtr | getConnectedPortListAlias () const |
| void | setConnectedPortListAlias (const PortListAliasSharedPtr &inPortListAlias) |
| const LogicElementSharedPtr | getLogicWaveForm () const |
| void | setLogicWaveForm (const LogicElementSharedPtr &inSource) |
| ~LogicalResponse () throw () | |
| void | setWeakThis (const WeakPointer &inWeakThis) |
| Pointer | getSharedThis () const |
Protected Member Functions | |
| LogicalResponse () | |
Private Member Functions | |
| LogicalResponse (const LogicalResponse &source) | |
| LogicalResponse & | operator= (const LogicalResponse &source) |
Private Attributes | |
| ResponseType | mResponseType |
| PortSharedPtr | mConnectedPort |
| PortListSharedPtr | mConnectedPortList |
| PortListAliasSharedPtr | mConnectedPortListAlias |
| LogicElementSharedPtr | mLogicWaveForm |
Friends | |
| class | FactoryType< LogicalResponse > |
This class is used to model logicInput/logicOutput construct. This class holds information of logical response to be expected from a ports during simulation.
Definition at line 38 of file LogicalResponse.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
Convenience class to visit LogicalResponse.
Definition at line 67 of file LogicalResponse.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
Logical response types (logicInput/logicOutput)
| Enumerator | |
|---|---|
| eResponseTypeInput | |
| eResponseTypeOutput | |
Definition at line 46 of file LogicalResponse.hpp.
| torc::generic::LogicalResponse::~LogicalResponse | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 110 of file LogicalResponse.cpp.
|
protected |
Definition at line 106 of file LogicalResponse.cpp.
|
private |
|
virtual | ||||||||||||||
Implements torc::generic::Visitable.
Definition at line 52 of file LogicalResponse.cpp.
Here is the call graph for this function:
|
inline |
Get the connected port shared pointer.
Definition at line 180 of file LogicalResponse.hpp.
|
inline |
Get the connected port list shared pointer.
Definition at line 189 of file LogicalResponse.hpp.
|
inline |
Get the connected port list alias shared pointer.
Definition at line 198 of file LogicalResponse.hpp.
|
inline |
Get the logic wave form for this response.
Definition at line 207 of file LogicalResponse.hpp.
|
inline |
Get the Logical response type
Definition at line 171 of file LogicalResponse.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 |
|
private |
| void torc::generic::LogicalResponse::setConnectedPort | ( | const PortSharedPtr & | inPort | ) |
Set the connected port shared pointer.
| [in] | inPort | Connected port shared pointer. |
Definition at line 75 of file LogicalResponse.cpp.
| void torc::generic::LogicalResponse::setConnectedPortList | ( | const PortListSharedPtr & | inPortList | ) |
Set the connected port list shared pointer.
| [in] | inPortList | Connected port list shared pointer. |
Definition at line 84 of file LogicalResponse.cpp.
| void torc::generic::LogicalResponse::setConnectedPortListAlias | ( | const PortListAliasSharedPtr & | inPortListAlias | ) |
Set the connected port list alias shared pointer.
| [in] | inPortListAlias | Connected port list alias shared pointer. |
Definition at line 93 of file LogicalResponse.cpp.
| void torc::generic::LogicalResponse::setLogicWaveForm | ( | const LogicElementSharedPtr & | inSource | ) |
Set the logic wave form for this response.
| [in] | inSource | Pointer to logic element object. |
Definition at line 102 of file LogicalResponse.cpp.
| void torc::generic::LogicalResponse::setResponseType | ( | const ResponseType & | inSource | ) |
Set the Logical response type
| [in] | inSource | Logical response type |
Definition at line 66 of file LogicalResponse.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 39 of file LogicalResponse.hpp.
|
private |
Definition at line 159 of file LogicalResponse.hpp.
|
private |
Definition at line 160 of file LogicalResponse.hpp.
|
private |
Definition at line 161 of file LogicalResponse.hpp.
|
private |
Definition at line 162 of file LogicalResponse.hpp.
|
private |
Definition at line 158 of file LogicalResponse.hpp.