#include <LogicalResponse.hpp>
Public Types | |
enum | ResponseType { eResponseTypeInput = 0, eResponseTypeOutput } |
typedef VisitorType < LogicalResponse > | Visitor |
Public Member Functions | |
const ResponseType | getResponseType () const throw () |
void | setResponseType (const ResponseType &inSource) throw () |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const PortSharedPtr | getConnectedPort () const throw () |
void | setConnectedPort (const PortSharedPtr &inPort) throw () |
const PortListSharedPtr | getConnectedPortList () const throw () |
void | setConnectedPortList (const PortListSharedPtr &inPortList) throw () |
const PortListAliasSharedPtr | getConnectedPortListAlias () const throw () |
void | setConnectedPortListAlias (const PortListAliasSharedPtr &inPortListAlias) throw () |
const LogicElementSharedPtr | getLogicWaveForm () const throw () |
void | setLogicWaveForm (const LogicElementSharedPtr &inSource) throw () |
Private Member Functions | |
LogicalResponse (const LogicalResponse &source) throw () | |
LogicalResponse & | operator= (const LogicalResponse &source) throw () |
Private Attributes | |
ResponseType | mResponseType |
PortSharedPtr | mConnectedPort |
PortListSharedPtr | mConnectedPortList |
PortListAliasSharedPtr | mConnectedPortListAlias |
LogicElementSharedPtr | mLogicWaveForm |
Friends | |
class | FactoryType< LogicalResponse > |
Classes | |
class | Factory |
Definition at line 39 of file LogicalResponse.hpp.
Convenience class to visit LogicalResponse.
Definition at line 75 of file LogicalResponse.hpp.
Logical response types (logicInput/logicOutput)
Definition at line 50 of file LogicalResponse.hpp.
const LogicalResponse::ResponseType torc::generic::LogicalResponse::getResponseType | ( | ) | const throw () [inline] |
Get the Logical response type
Definition at line 195 of file LogicalResponse.hpp.
void torc::generic::LogicalResponse::setResponseType | ( | const ResponseType & | inSource | ) | throw () |
Set the Logical response type
[in] | inSource | Logical response type |
Definition at line 78 of file LogicalResponse.cpp.
void torc::generic::LogicalResponse::accept | ( | BaseVisitor & | inoutVisitor | ) | throw (Error) [virtual] |
Recive a inoutVisitor to this class. The visit method of the inoutVisitor is called and a reference to this object is passed as a parameter. It has to be noted however, that a dynamic_cast is performed inside this method. If the cast fails, an appropriate exception is thrown by this method. This sitation can arise when the passed Visitor object does not inherit from the appropriate inoutVisitor specialization. See Visitor documentation for more details.
[in,out] | inoutVisitor | A reference to the inoutVisitor object |
Error | Visitor type inappropriate for visiting this object or any other error thrown by the Visitor::throw() method. |
Implements torc::generic::Visitable.
Definition at line 59 of file LogicalResponse.cpp.
const PortSharedPtr torc::generic::LogicalResponse::getConnectedPort | ( | ) | const throw () [inline] |
Get the connected port shared pointer.
Definition at line 205 of file LogicalResponse.hpp.
void torc::generic::LogicalResponse::setConnectedPort | ( | const PortSharedPtr & | inPort | ) | throw () |
Set the connected port shared pointer.
[in] | inPort | Connected port shared pointer. |
Definition at line 88 of file LogicalResponse.cpp.
const PortListSharedPtr torc::generic::LogicalResponse::getConnectedPortList | ( | ) | const throw () [inline] |
Get the connected port list shared pointer.
Definition at line 215 of file LogicalResponse.hpp.
void torc::generic::LogicalResponse::setConnectedPortList | ( | const PortListSharedPtr & | inPortList | ) | throw () |
Set the connected port list shared pointer.
[in] | inPortList | Connected port list shared pointer. |
Definition at line 98 of file LogicalResponse.cpp.
const PortListAliasSharedPtr torc::generic::LogicalResponse::getConnectedPortListAlias | ( | ) | const throw () [inline] |
Get the connected port list alias shared pointer.
Definition at line 225 of file LogicalResponse.hpp.
void torc::generic::LogicalResponse::setConnectedPortListAlias | ( | const PortListAliasSharedPtr & | inPortListAlias | ) | throw () |
Set the connected port list alias shared pointer.
[in] | inPortListAlias | Connected port list alias shared pointer. |
Definition at line 108 of file LogicalResponse.cpp.
const LogicElementSharedPtr torc::generic::LogicalResponse::getLogicWaveForm | ( | ) | const throw () [inline] |
Get the logic wave form for this response.
Definition at line 235 of file LogicalResponse.hpp.
void torc::generic::LogicalResponse::setLogicWaveForm | ( | const LogicElementSharedPtr & | inSource | ) | throw () |
Set the logic wave form for this response.
[in] | inSource | Pointer to logic element object. |
Definition at line 119 of file LogicalResponse.cpp.