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

#include <flow_mgmt_tree.h>

Inheritance diagram for NhFlowMgmtTree:
Collaboration diagram for NhFlowMgmtTree:

Public Member Functions

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

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (NhFlowMgmtTree)
 

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 134 of file flow_mgmt_tree.h.

Constructor & Destructor Documentation

NhFlowMgmtTree::NhFlowMgmtTree ( FlowMgmtManager mgr)
inline

Definition at line 136 of file flow_mgmt_tree.h.

virtual NhFlowMgmtTree::~NhFlowMgmtTree ( )
inlinevirtual

Definition at line 137 of file flow_mgmt_tree.h.

Member Function Documentation

FlowMgmtEntry * NhFlowMgmtTree::Allocate ( const FlowMgmtKey key)
virtual

Implements FlowMgmtTree.

Definition at line 384 of file flow_mgmt_tree.cc.

NhFlowMgmtTree::DISALLOW_COPY_AND_ASSIGN ( NhFlowMgmtTree  )
private
void NhFlowMgmtTree::ExtractKeys ( FlowEntry flow,
FlowMgmtKeyTree tree 
)
virtual

Implements FlowMgmtTree.

Definition at line 377 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: