#include <NetBundle.hpp>
Public Types | |
typedef VisitorType< NetBundle > | Visitor |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
virtual void | setParent (const ViewSharedPtr &inParent) throw () |
virtual Connection | connect (const NetSharedPtr &inNet) throw (Error) |
void | disconnect (const Connection &inConnection) throw (Error) |
void | disconnect () throw (Error) |
Friends | |
class | FactoryType< NetBundle > |
Classes | |
class | Factory |
The NetBundle class represents an EDIF net bundle. NetBundles are ordered collection of scalar and vector nets and can be created using the (nettBundle ...) syntax.
Definition at line 46 of file NetBundle.hpp.
void torc::generic::NetBundle::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 81 of file NetBundle.cpp.
Connectable::Connection torc::generic::NetBundle::connect | ( | const NetSharedPtr & | inNet | ) | throw (Error) [virtual] |
Connect the given net with this net. During connection, a none-to-one correspondence is maintained, and all children of the given net are connected to the children of the current net. As a result, if the given net is a preserved vector, it will be exploded.
[in] | inNet | Net to be connected to the current net |
Error | Provided connection is invalid, because pointer to the Net does not exist
| |
Error | Net size does not match with NetBundle size |
Implements torc::generic::Connectable.
Definition at line 96 of file NetBundle.cpp.
void torc::generic::NetBundle::disconnect | ( | ) | throw (Error) [virtual] |
Disconnect all connections to this port.
Reimplemented from torc::generic::Net.
Definition at line 170 of file NetBundle.cpp.