xorp

System< A > Class Template Reference

Top Level container for XORP RIP implementation. More...

#include <system.hh>

Inheritance diagram for System< A >:
NONCOPYABLE

List of all members.

Public Types

typedef RouteDB< A > RouteDatabase
typedef PortManagerBase< A > PortManager

Public Member Functions

 System (EventLoop &e)
EventLoopeventloop ()
 Get EventLoop instance that each object in system should use.
const EventLoopeventloop () const
 Get EventLoop instance that each object in RIP system should use.
RouteDatabaseroute_db ()
 Get the Route Database that each object in the RIP system should use.
const RouteDatabaseroute_db () const
 Get the Route Database that each object in the RIP system should use.
bool set_port_manager (PortManager *pm)
 Set the port manager object associated with the system.
PortManagerport_manager ()
 Get pointer to PortManager that the RIP system is using.
const PortManagerport_manager () const
 Get pointer PortManager that the RIP system is using.
void configure_filter (const uint32_t &filter, const string &conf)
 Configure a policy filter.
void reset_filter (const uint32_t &filter)
 Reset a policy filter.
void push_routes ()
 Push routes through policy filters for re-filtering.
PolicyFilterspolicy_filters ()
Traceroute_trace ()

Protected Attributes

EventLoop_e
PolicyFilters _policy_filters
RouteDatabase _rtdb
PortManager_pm

Detailed Description

template<typename A>
class System< A >

Top Level container for XORP RIP implementation.


Member Function Documentation

template<typename A>
void System< A >::configure_filter ( const uint32_t &  filter,
const string &  conf 
) [inline]

Configure a policy filter.

Parameters:
filterid of filter to configure.
confconfiguration of filter.
template<typename A>
PolicyFilters& System< A >::policy_filters ( ) [inline]
Returns:
reference to global policy filters.
template<typename A>
void System< A >::reset_filter ( const uint32_t &  filter) [inline]

Reset a policy filter.

Parameters:
filterid of filter to reset.
template<typename A >
bool System< A >::set_port_manager ( PortManager pm)

Set the port manager object associated with the system.

Parameters:
pointerto PortManager to be used.
Returns:
true if port manager has not previously been set and pointer is not null, false otherwise.

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