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

#include <flow_mgmt_tree.h>

Inheritance diagram for RouteFlowMgmtTree:
Collaboration diagram for RouteFlowMgmtTree:

Public Member Functions

 RouteFlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~RouteFlowMgmtTree ()
 
virtual bool HasVrfFlows (uint32_t vrf_id, Agent::RouteTableType type)=0
 
virtual bool Delete (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual bool OperEntryDelete (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryAdd (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
- Public Member Functions inherited from FlowMgmtTree
 FlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~FlowMgmtTree ()
 
virtual bool Add (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual void InsertEntry (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
virtual void RemoveEntry (Tree::iterator it)
 
virtual bool OperEntryChange (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool RetryDelete (FlowMgmtKey *key)
 
virtual void ExtractKeys (FlowEntry *flow, FlowMgmtKeyTree *tree)=0
 
virtual FlowMgmtEntryAllocate (const FlowMgmtKey *key)=0
 
virtual void FreeNotify (FlowMgmtKey *key, uint32_t gen_id)
 
FlowMgmtEntryLocate (FlowMgmtKey *key)
 
FlowMgmtEntryFind (FlowMgmtKey *key)
 
FlowMgmtKeyLowerBound (FlowMgmtKey *key)
 
Treetree ()
 
FlowMgmtManagermgr () const
 

Private Member Functions

void SetDBEntry (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
 DISALLOW_COPY_AND_ASSIGN (RouteFlowMgmtTree)
 

Additional Inherited Members

- Public Types inherited from FlowMgmtTree
typedef std::map< FlowMgmtKey
*, FlowMgmtEntry
*, FlowMgmtKeyCmp
Tree
 
- Static Public Member Functions inherited from FlowMgmtTree
static bool AddFlowMgmtKey (FlowMgmtKeyTree *tree, FlowMgmtKey *key)
 
- Protected Member Functions inherited from FlowMgmtTree
bool TryDelete (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
- Protected Attributes inherited from FlowMgmtTree
Tree tree_
 
FlowMgmtManagermgr_
 

Detailed Description

Definition at line 146 of file flow_mgmt_tree.h.

Constructor & Destructor Documentation

RouteFlowMgmtTree::RouteFlowMgmtTree ( FlowMgmtManager mgr)
inline

Definition at line 148 of file flow_mgmt_tree.h.

virtual RouteFlowMgmtTree::~RouteFlowMgmtTree ( )
inlinevirtual

Definition at line 149 of file flow_mgmt_tree.h.

Member Function Documentation

bool RouteFlowMgmtTree::Delete ( FlowMgmtKey key,
FlowEntry flow,
FlowMgmtKeyNode node 
)
virtual

Reimplemented from FlowMgmtTree.

Definition at line 391 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

RouteFlowMgmtTree::DISALLOW_COPY_AND_ASSIGN ( RouteFlowMgmtTree  )
private
virtual bool RouteFlowMgmtTree::HasVrfFlows ( uint32_t  vrf_id,
Agent::RouteTableType  type 
)
pure virtual
bool RouteFlowMgmtTree::OperEntryAdd ( const FlowMgmtRequest req,
FlowMgmtKey key 
)
virtual

Reimplemented from FlowMgmtTree.

Reimplemented in InetRouteFlowMgmtTree.

Definition at line 429 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

bool RouteFlowMgmtTree::OperEntryDelete ( const FlowMgmtRequest req,
FlowMgmtKey key 
)
virtual

Reimplemented from FlowMgmtTree.

Reimplemented in InetRouteFlowMgmtTree.

Definition at line 418 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

void RouteFlowMgmtTree::SetDBEntry ( const FlowMgmtRequest req,
FlowMgmtKey key 
)
private

Definition at line 399 of file flow_mgmt_tree.cc.

Here is the call graph for this function:


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