OpenSDN source code
AgentRouteWalkerManager Class Reference

#include <agent_route_walker.h>

Collaboration diagram for AgentRouteWalkerManager:

Public Types

typedef std::set< AgentRouteWalkerPtrWalkRefList
 
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

◆ WalkRefList

◆ WalkRefListIter

Definition at line 183 of file agent_route_walker.h.

Constructor & Destructor Documentation

◆ AgentRouteWalkerManager()

AgentRouteWalkerManager::AgentRouteWalkerManager ( Agent agent)

Definition at line 35 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ ~AgentRouteWalkerManager()

AgentRouteWalkerManager::~AgentRouteWalkerManager ( )
virtual

Definition at line 42 of file agent_route_walker.cc.

Member Function Documentation

◆ agent()

Agent* AgentRouteWalkerManager::agent ( )
inline

Definition at line 187 of file agent_route_walker.h.

◆ CreateState()

RouteWalkerDBState * AgentRouteWalkerManager::CreateState ( VrfEntry vrf)
protected

Definition at line 86 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

AgentRouteWalkerManager::DISALLOW_COPY_AND_ASSIGN ( AgentRouteWalkerManager  )
private

◆ RegisterWalker()

void AgentRouteWalkerManager::RegisterWalker ( AgentRouteWalker walker)

Definition at line 114 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ ReleaseWalker()

void AgentRouteWalkerManager::ReleaseWalker ( AgentRouteWalker walker)

Definition at line 48 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ RemoveWalker()

void AgentRouteWalkerManager::RemoveWalker ( AgentRouteWalkerPtr  walker)
protected

Definition at line 92 of file agent_route_walker.cc.

◆ RemoveWalkReferencesInVrf()

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:

◆ Shutdown()

void AgentRouteWalkerManager::Shutdown ( )

Definition at line 97 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ TryUnregister()

void AgentRouteWalkerManager::TryUnregister ( )

Definition at line 102 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ ValidateAgentRouteWalker()

void AgentRouteWalkerManager::ValidateAgentRouteWalker ( AgentRouteWalkerPtr  walker) const
protected

Definition at line 108 of file agent_route_walker.cc.

◆ vrf_listener_id()

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

Definition at line 203 of file agent_route_walker.h.

◆ VrfNotify()

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:

◆ walk_ref_list_size()

uint8_t AgentRouteWalkerManager::walk_ref_list_size ( ) const
inline

Definition at line 194 of file agent_route_walker.h.

Friends And Related Function Documentation

◆ AgentRouteWalker

friend class AgentRouteWalker
friend

Definition at line 197 of file agent_route_walker.h.

Member Data Documentation

◆ agent_

Agent* AgentRouteWalkerManager::agent_
private

Definition at line 209 of file agent_route_walker.h.

◆ marked_for_deletion_

bool AgentRouteWalkerManager::marked_for_deletion_
private

Definition at line 211 of file agent_route_walker.h.

◆ vrf_listener_id_

DBTable::ListenerId AgentRouteWalkerManager::vrf_listener_id_
private

Definition at line 208 of file agent_route_walker.h.

◆ walk_ref_list_

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: