xorp

IfMgrVifAtomToCommands Class Reference

Class to convert an IfMgrVifAtom object into a sequence of commands. More...

#include <ifmgr_cmd_queue.hh>

List of all members.

Public Member Functions

 IfMgrVifAtomToCommands (const string &ifn, const IfMgrVifAtom &vif)
 Constructor.
void convert (IfMgrCommandSinkBase &sink) const
 Convert the entire contents of IfMgrIfTree object to a sequence of configuration commands.

Protected Attributes

const string & _ifn
const IfMgrVifAtom_v

Detailed Description

Class to convert an IfMgrVifAtom object into a sequence of commands.


Constructor & Destructor Documentation

IfMgrVifAtomToCommands::IfMgrVifAtomToCommands ( const string &  ifn,
const IfMgrVifAtom vif 
) [inline]

Constructor.

Parameters:
ifnthe name of the interface the vif belongs to.
vifthe vif to be converted into a sequence of commands.

Member Function Documentation

void IfMgrVifAtomToCommands::convert ( IfMgrCommandSinkBase sink) const

Convert the entire contents of IfMgrIfTree object to a sequence of configuration commands.

Parameters:
sinkoutput target for commands that would generate virtual interface state.

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