OpenSDN source code
FlowMgmtKey Class Referenceabstract

#include <flow_mgmt_key.h>

Inheritance diagram for FlowMgmtKey:
Collaboration diagram for FlowMgmtKey:

Public Types

enum  Type {
  INVALID , INTERFACE , ACL , ACE_ID ,
  VN , VM , INET4 , INET6 ,
  BRIDGE , NH , VRF , BGPASASERVICE ,
  END
}
 

Public Member Functions

 FlowMgmtKey (Type type, const DBEntry *db_entry)
 
virtual ~FlowMgmtKey ()
 
virtual FlowMgmtKeyClone ()=0
 
virtual void KeyToFlowRequest (FlowEvent *req)
 
virtual bool UseDBEntry () const
 
virtual bool Compare (const FlowMgmtKey *rhs) const
 
bool IsLess (const FlowMgmtKey *rhs) const
 
FlowEvent::Event FreeDBEntryEvent () const
 
Type type () const
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 

Protected Attributes

Type type_
 
const DBEntrydb_entry_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (FlowMgmtKey)
 

Detailed Description

Definition at line 11 of file flow_mgmt_key.h.

Member Enumeration Documentation

◆ Type

Enumerator
INVALID 
INTERFACE 
ACL 
ACE_ID 
VN 
VM 
INET4 
INET6 
BRIDGE 
NH 
VRF 
BGPASASERVICE 
END 

Definition at line 13 of file flow_mgmt_key.h.

Constructor & Destructor Documentation

◆ FlowMgmtKey()

FlowMgmtKey::FlowMgmtKey ( Type  type,
const DBEntry db_entry 
)
inline

Definition at line 29 of file flow_mgmt_key.h.

◆ ~FlowMgmtKey()

virtual FlowMgmtKey::~FlowMgmtKey ( )
inlinevirtual

Definition at line 33 of file flow_mgmt_key.h.

Member Function Documentation

◆ Clone()

◆ Compare()

virtual bool FlowMgmtKey::Compare ( const FlowMgmtKey rhs) const
inlinevirtual

Reimplemented in BgpAsAServiceFlowMgmtKey, BridgeRouteFlowMgmtKey, and InetRouteFlowMgmtKey.

Definition at line 47 of file flow_mgmt_key.h.

◆ db_entry()

const DBEntry* FlowMgmtKey::db_entry ( ) const
inline

Definition at line 65 of file flow_mgmt_key.h.

◆ DISALLOW_COPY_AND_ASSIGN()

FlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( FlowMgmtKey  )
private

◆ FreeDBEntryEvent()

FlowEvent::Event FlowMgmtKey::FreeDBEntryEvent ( ) const

Definition at line 8 of file flow_mgmt_key.cc.

◆ IsLess()

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

Definition at line 51 of file flow_mgmt_key.h.

Here is the call graph for this function:

◆ KeyToFlowRequest()

virtual void FlowMgmtKey::KeyToFlowRequest ( FlowEvent req)
inlinevirtual

Definition at line 39 of file flow_mgmt_key.h.

Here is the call graph for this function:

◆ set_db_entry()

void FlowMgmtKey::set_db_entry ( const DBEntry db_entry)
inline

Definition at line 66 of file flow_mgmt_key.h.

Here is the call graph for this function:

◆ type()

Type FlowMgmtKey::type ( ) const
inline

Definition at line 64 of file flow_mgmt_key.h.

◆ UseDBEntry()

virtual bool FlowMgmtKey::UseDBEntry ( ) const
inlinevirtual

Reimplemented in BgpAsAServiceFlowMgmtKey, and RouteFlowMgmtKey.

Definition at line 44 of file flow_mgmt_key.h.

Member Data Documentation

◆ db_entry_

const DBEntry* FlowMgmtKey::db_entry_
mutableprotected

Definition at line 70 of file flow_mgmt_key.h.

◆ type_

Type FlowMgmtKey::type_
protected

Definition at line 69 of file flow_mgmt_key.h.


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