OpenSDN source code
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 ()
 
Agent * agent ()
 
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
 
RouteWalkerDBState * CreateState (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_
 
Agent * agent_
 
WalkRefList walk_ref_list_
 
bool marked_for_deletion_
 

Friends

class AgentRouteWalker
 

Detailed Description

Definition at line 183 of file agent_route_walker.h.

Member Typedef Documentation

◆ WalkRefList

◆ WalkRefListIter

Definition at line 186 of file agent_route_walker.h.

Constructor & Destructor Documentation

◆ AgentRouteWalkerManager()

AgentRouteWalkerManager::AgentRouteWalkerManager ( Agent *  agent)

Definition at line 36 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ ~AgentRouteWalkerManager()

AgentRouteWalkerManager::~AgentRouteWalkerManager ( )
virtual

Definition at line 43 of file agent_route_walker.cc.

Member Function Documentation

◆ agent()

Agent* AgentRouteWalkerManager::agent ( )
inline

Definition at line 190 of file agent_route_walker.h.

◆ CreateState()

RouteWalkerDBState * AgentRouteWalkerManager::CreateState ( VrfEntry *  vrf)
protected

Definition at line 87 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 115 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ ReleaseWalker()

void AgentRouteWalkerManager::ReleaseWalker ( AgentRouteWalker *  walker)

Definition at line 49 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ RemoveWalker()

void AgentRouteWalkerManager::RemoveWalker ( AgentRouteWalkerPtr  walker)
protected

Definition at line 93 of file agent_route_walker.cc.

◆ RemoveWalkReferencesInVrf()

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

Definition at line 56 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ Shutdown()

void AgentRouteWalkerManager::Shutdown ( )

Definition at line 98 of file agent_route_walker.cc.

Here is the call graph for this function:

◆ TryUnregister()

void AgentRouteWalkerManager::TryUnregister ( )

Definition at line 103 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 109 of file agent_route_walker.cc.

◆ vrf_listener_id()

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

Definition at line 206 of file agent_route_walker.h.

◆ VrfNotify()

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

Definition at line 67 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 197 of file agent_route_walker.h.

Friends And Related Function Documentation

◆ AgentRouteWalker

friend class AgentRouteWalker
friend

Definition at line 200 of file agent_route_walker.h.

Member Data Documentation

◆ agent_

Agent* AgentRouteWalkerManager::agent_
private

Definition at line 212 of file agent_route_walker.h.

◆ marked_for_deletion_

bool AgentRouteWalkerManager::marked_for_deletion_
private

Definition at line 214 of file agent_route_walker.h.

◆ vrf_listener_id_

DBTable::ListenerId AgentRouteWalkerManager::vrf_listener_id_
private

Definition at line 211 of file agent_route_walker.h.

◆ walk_ref_list_

WalkRefList AgentRouteWalkerManager::walk_ref_list_
private

Definition at line 213 of file agent_route_walker.h.


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