RouteCmd< A > Class Template Reference

The idealised command to execute. More...

#include <spt.hh>

List of all members.

Public Types

enum  Cmd { ADD, DELETE, REPLACE }

Public Member Functions

 RouteCmd (Cmd cmd, A node, A nexthop, A prevhop, int weight=0, bool next_hop_changed=false, bool weight_changed=false)
Cmd cmd () const
const A & node () const
const A & nexthop () const
const A & prevhop () const
int weight () const
bool next_hop_changed () const
bool weight_changed () const
bool operator== (const RouteCmd &lhs)
string c () const
string str () const
string str () const

Private Attributes

Cmd _cmd
int _weight
bool _next_hop_changed
bool _weight_changed

Detailed Description

template<typename A>
class RouteCmd< A >

The idealised command to execute.

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