OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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 ( Type  type,
const DBEntry db_entry 
)
inline

Definition at line 29 of file flow_mgmt_key.h.

virtual FlowMgmtKey::~FlowMgmtKey ( )
inlinevirtual

Definition at line 33 of file flow_mgmt_key.h.

Member Function Documentation

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.

const DBEntry* FlowMgmtKey::db_entry ( ) const
inline

Definition at line 65 of file flow_mgmt_key.h.

FlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( FlowMgmtKey  )
private
FlowEvent::Event FlowMgmtKey::FreeDBEntryEvent ( ) const

Definition at line 8 of file flow_mgmt_key.cc.

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:

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:

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 FlowMgmtKey::type ( ) const
inline

Definition at line 64 of file flow_mgmt_key.h.

virtual bool FlowMgmtKey::UseDBEntry ( ) const
inlinevirtual

Reimplemented in BgpAsAServiceFlowMgmtKey, and RouteFlowMgmtKey.

Definition at line 44 of file flow_mgmt_key.h.

Member Data Documentation

const DBEntry* FlowMgmtKey::db_entry_
mutableprotected

Definition at line 70 of file flow_mgmt_key.h.

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: