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

#include <agent_route_walker.h>

Collaboration diagram for AgentRouteWalkerManager:

Public Types

typedef std::set
< AgentRouteWalkerPtr
WalkRefList
 
typedef std::set
< AgentRouteWalkerPtr >
::iterator 
WalkRefListIter
 

Public Member Functions

 AgentRouteWalkerManager (Agent *agent)
 
virtual ~AgentRouteWalkerManager ()
 
Agentagent ()
 
void RegisterWalker (AgentRouteWalker *walker)
 
void ReleaseWalker (AgentRouteWalker *walker)
 
void Shutdown ()
 
void TryUnregister ()
 
uint8_t walk_ref_list_size () const
 

Protected Member Functions

void VrfNotify (DBTablePartBase *partition, DBEntryBase *e)
 
void RemoveWalker (AgentRouteWalkerPtr walker)
 
void ValidateAgentRouteWalker (AgentRouteWalkerPtr walker) const
 
RouteWalkerDBStateCreateState (VrfEntry *vrf)
 
void RemoveWalkReferencesInVrf (RouteWalkerDBState *state, VrfEntry *vrf)
 
DBTable::ListenerId vrf_listener_id () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AgentRouteWalkerManager)
 

Private Attributes

DBTable::ListenerId vrf_listener_id_
 
Agentagent_
 
WalkRefList walk_ref_list_
 
bool marked_for_deletion_
 

Friends

class AgentRouteWalker
 

Detailed Description

Definition at line 180 of file agent_route_walker.h.

Member Typedef Documentation

Definition at line 183 of file agent_route_walker.h.

Constructor & Destructor Documentation

AgentRouteWalkerManager::AgentRouteWalkerManager ( Agent agent)

Definition at line 35 of file agent_route_walker.cc.

Here is the call graph for this function:

AgentRouteWalkerManager::~AgentRouteWalkerManager ( )
virtual

Definition at line 42 of file agent_route_walker.cc.

Member Function Documentation

Agent* AgentRouteWalkerManager::agent ( )
inline

Definition at line 187 of file agent_route_walker.h.

RouteWalkerDBState * AgentRouteWalkerManager::CreateState ( VrfEntry vrf)
protected

Definition at line 86 of file agent_route_walker.cc.

Here is the call graph for this function:

AgentRouteWalkerManager::DISALLOW_COPY_AND_ASSIGN ( AgentRouteWalkerManager  )
private
void AgentRouteWalkerManager::RegisterWalker ( AgentRouteWalker walker)

Definition at line 114 of file agent_route_walker.cc.

Here is the call graph for this function:

void AgentRouteWalkerManager::ReleaseWalker ( AgentRouteWalker walker)

Definition at line 48 of file agent_route_walker.cc.

Here is the call graph for this function:

void AgentRouteWalkerManager::RemoveWalker ( AgentRouteWalkerPtr  walker)
protected

Definition at line 92 of file agent_route_walker.cc.

void AgentRouteWalkerManager::RemoveWalkReferencesInVrf ( RouteWalkerDBState state,
VrfEntry vrf 
)
protected

Definition at line 55 of file agent_route_walker.cc.

Here is the call graph for this function:

void AgentRouteWalkerManager::Shutdown ( )

Definition at line 97 of file agent_route_walker.cc.

Here is the call graph for this function:

void AgentRouteWalkerManager::TryUnregister ( )

Definition at line 102 of file agent_route_walker.cc.

Here is the call graph for this function:

void AgentRouteWalkerManager::ValidateAgentRouteWalker ( AgentRouteWalkerPtr  walker) const
protected

Definition at line 109 of file agent_route_walker.cc.

DBTable::ListenerId AgentRouteWalkerManager::vrf_listener_id ( ) const
inlineprotected

Definition at line 203 of file agent_route_walker.h.

void AgentRouteWalkerManager::VrfNotify ( DBTablePartBase partition,
DBEntryBase e 
)
protected

Definition at line 66 of file agent_route_walker.cc.

Here is the call graph for this function:

uint8_t AgentRouteWalkerManager::walk_ref_list_size ( ) const
inline

Definition at line 194 of file agent_route_walker.h.

Friends And Related Function Documentation

friend class AgentRouteWalker
friend

Definition at line 197 of file agent_route_walker.h.

Member Data Documentation

Agent* AgentRouteWalkerManager::agent_
private

Definition at line 209 of file agent_route_walker.h.

bool AgentRouteWalkerManager::marked_for_deletion_
private

Definition at line 211 of file agent_route_walker.h.

DBTable::ListenerId AgentRouteWalkerManager::vrf_listener_id_
private

Definition at line 208 of file agent_route_walker.h.

WalkRefList AgentRouteWalkerManager::walk_ref_list_
private

Definition at line 210 of file agent_route_walker.h.


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