xorp

PortManagerBase< A > Class Template Reference

Base for RIP Port container and factory classes. More...

#include <port_manager.hh>

Inheritance diagram for PortManagerBase< A >:
SpoofPortManager< A > SpoofPortManager< A > SpoofPortManager< A > SpoofPortManager< A > SpoofPortManager< A > XrlPortManager< A >

List of all members.

Public Types

typedef list< Port< A > * > PortList
typedef System< A > SystemType

Public Member Functions

 PortManagerBase (SystemType &system, const IfMgrIfTree &iftree)
virtual ~PortManagerBase ()
 Destructor.
SystemTypesystem ()
 Get parent System instance.
const SystemTypesystem () const
 Get parent System instance.
const PortList & const_ports () const
 Get list of managed RIP Ports.
EventLoopeventloop ()
 Get EventLoop.
const EventLoopeventloop () const
 Get EventLoop.
const IfMgrIfTreeiftree () const
 Get IfMgrIfTree.

Protected Member Functions

PortList & ports ()
 Get list of managed RIP Ports.
const PortList & ports () const
 Get list of managed RIP Ports.

Protected Attributes

SystemType_system
PortList _ports
const IfMgrIfTree_iftree

Detailed Description

template<typename A>
class PortManagerBase< A >

Base for RIP Port container and factory classes.

Classes derived from the PortManagerBase are expected to create and manage RIP Port instances. The created Port instances should have associated IO systems attached.


Constructor & Destructor Documentation

template<typename A >
PortManagerBase< A >::~PortManagerBase ( ) [virtual]

Destructor.

It is important that all the routes stored in the associated System Route database and it's update queue are flushed before destructor is invoked.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations