#include <ScalarPortReference.hpp>
Public Types | |
typedef VisitorType < ScalarPortReference > | Visitor |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
virtual Connection | connect (const NetSharedPtr &inNet) throw (Error) |
virtual void | disconnect (const Connection &inConnection) throw (Error) |
Friends | |
class | FactoryType< ScalarPortReference > |
Classes | |
class | Factory |
The ScalarPortReference class represents a reference to a a standalone port object.
Definition at line 45 of file ScalarPortReference.hpp.
void torc::generic::ScalarPortReference::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 79 of file ScalarPortReference.cpp.
Connectable::Connection torc::generic::ScalarPortReference::connect | ( | const NetSharedPtr & | inNet | ) | throw (Error) [virtual] |
Error | Pointer to the Net object does not exists | |
Error | Net size does not match with scalar port reference size |
Implements torc::generic::Connectable.
Definition at line 93 of file ScalarPortReference.cpp.