OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VlanNHKey Class Reference

#include <nexthop.h>

Inheritance diagram for VlanNHKey:
Collaboration diagram for VlanNHKey:

Public Member Functions

 VlanNHKey (const boost::uuids::uuid &vm_port_uuid, uint16_t vlan_tag)
 
 VlanNHKey (InterfaceKey *key, uint16_t vlan_tag)
 
virtual ~VlanNHKey ()
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
const boost::uuids::uuidGetUuid () const
 
const std::string & name () const
 
const uint16_t vlan_tag () const
 
- Public Member Functions inherited from NextHopKey
 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
bool IsEqual (const NextHopKey &rhs) const
 
void SetPolicy (bool policy)
 
NextHop::Type GetType () const
 
bool GetPolicy () const
 
bool IsLess (const NextHopKey &rhs) const
 
- Public Member Functions inherited from AgentKey
 AgentKey ()
 
 AgentKey (DBSubOperation sub_op)
 
virtual ~AgentKey ()
 
- Public Member Functions inherited from DBRequestKey
virtual ~DBRequestKey ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (VlanNHKey)
 

Private Attributes

boost::scoped_ptr< InterfaceKeyintf_key_
 
uint16_t vlan_tag_
 

Friends

class VlanNH
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 
- Protected Attributes inherited from NextHopKey
NextHop::Type type_
 
bool policy_
 

Detailed Description

Definition at line 1478 of file nexthop.h.

Constructor & Destructor Documentation

VlanNHKey::VlanNHKey ( const boost::uuids::uuid vm_port_uuid,
uint16_t  vlan_tag 
)
inline

Definition at line 1480 of file nexthop.h.

VlanNHKey::VlanNHKey ( InterfaceKey key,
uint16_t  vlan_tag 
)
inline

Definition at line 1486 of file nexthop.h.

virtual VlanNHKey::~VlanNHKey ( )
inlinevirtual

Definition at line 1490 of file nexthop.h.

Member Function Documentation

NextHop * VlanNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 1645 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* VlanNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 1492 of file nexthop.h.

Here is the call graph for this function:

VlanNHKey::DISALLOW_COPY_AND_ASSIGN ( VlanNHKey  )
private
const boost::uuids::uuid& VlanNHKey::GetUuid ( ) const
inline

Definition at line 1503 of file nexthop.h.

const std::string& VlanNHKey::name ( ) const
inline

Definition at line 1504 of file nexthop.h.

virtual bool VlanNHKey::NextHopKeyIsLess ( const NextHopKey rhs) const
inlinevirtual

Reimplemented from NextHopKey.

Definition at line 1495 of file nexthop.h.

const uint16_t VlanNHKey::vlan_tag ( ) const
inline

Definition at line 1505 of file nexthop.h.

Friends And Related Function Documentation

friend class VlanNH
friend

Definition at line 1507 of file nexthop.h.

Member Data Documentation

boost::scoped_ptr<InterfaceKey> VlanNHKey::intf_key_
private

Definition at line 1508 of file nexthop.h.

uint16_t VlanNHKey::vlan_tag_
private

Definition at line 1509 of file nexthop.h.


The documentation for this class was generated from the following files: