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

#include <nexthop.h>

Inheritance diagram for NextHopKey:
Collaboration diagram for NextHopKey:

Public Member Functions

 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
virtual NextHopAllocEntry () const =0
 
virtual NextHopKeyClone () const =0
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
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 ()
 

Protected Attributes

NextHop::Type type_
 
bool policy_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (NextHopKey)
 

Friends

class NextHop
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 

Detailed Description

Definition at line 469 of file nexthop.h.

Constructor & Destructor Documentation

NextHopKey::NextHopKey ( NextHop::Type  type,
bool  policy 
)
inline

Definition at line 471 of file nexthop.h.

virtual NextHopKey::~NextHopKey ( )
inlinevirtual

Definition at line 473 of file nexthop.h.

Member Function Documentation

NextHopKey::DISALLOW_COPY_AND_ASSIGN ( NextHopKey  )
private
bool NextHopKey::GetPolicy ( ) const
inline

Definition at line 500 of file nexthop.h.

NextHop::Type NextHopKey::GetType ( ) const
inline

Definition at line 499 of file nexthop.h.

bool NextHopKey::IsEqual ( const NextHopKey rhs) const
inline

Definition at line 481 of file nexthop.h.

Here is the call graph for this function:

bool NextHopKey::IsLess ( const NextHopKey rhs) const
inline

Definition at line 501 of file nexthop.h.

Here is the call graph for this function:

virtual bool NextHopKey::NextHopKeyIsLess ( const NextHopKey rhs) const
inlinevirtual
void NextHopKey::SetPolicy ( bool  policy)
inline

Definition at line 495 of file nexthop.h.

Friends And Related Function Documentation

friend class NextHop
friend

Definition at line 511 of file nexthop.h.

Member Data Documentation

bool NextHopKey::policy_
protected

Definition at line 513 of file nexthop.h.

NextHop::Type NextHopKey::type_
protected

Definition at line 512 of file nexthop.h.


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