|
|
Classes derived from the PortManagerBase are expected to create and manage RIP Port instances. The created Port instances should have associated IO systems attached.
typedef list<Port<A>*> PortList | PortList |
typedef System<A> SystemType | SystemType |
PortManagerBase (SystemType& system, const IfMgrIfTree& iftree)
| PortManagerBase |
~PortManagerBase ()
| ~PortManagerBase |
[virtual]
Destructor
It is important that all the routes stored in the associated System<A> Route database and it's update queue are flushed before destructor is invoked.
inline SystemType& system ()
| system |
Get parent System<A> instance.
inline const SystemType& system ()
| system |
[const]
Get parent System<A> instance.
inline const PortList& const_ports ()
| const_ports |
[const]
Get list of managed RIP Ports.
inline EventLoop& eventloop ()
| eventloop |
inline const EventLoop& eventloop ()
| eventloop |
[const]
inline const IfMgrIfTree& iftree ()
| iftree |
[const]
inline PortList& ports ()
| ports |
[protected]
Get list of managed RIP Ports.
inline const PortList& ports ()
| ports |
[protected const]
Get list of managed RIP Ports.
SystemType& _system | _system |
[protected]
PortList _ports | _ports |
[protected]
const IfMgrIfTree& _iftree | _iftree |
[protected]
template <typename A>
~PortManagerBase ()
| ~PortManagerBase |
[protected]