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

#include <agent_route_resync.h>

Inheritance diagram for AgentRouteResync:
Collaboration diagram for AgentRouteResync:

Public Types

typedef DBTableWalker::WalkId RouteWalkerIdList [Agent::ROUTE_TABLE_MAX]
 
- Public Types inherited from AgentRouteWalker
typedef boost::function< void()> WalkDone
 
typedef boost::function< void(VrfEntry *)> RouteWalkDoneCb
 
typedef std::map< const
VrfEntry *, tbb::atomic< int > > 
VrfRouteWalkCountMap
 

Public Member Functions

 AgentRouteResync (const std::string &name, Agent *agent)
 
virtual ~AgentRouteResync ()
 
void Update ()
 
void UpdateRoutesInVrf (VrfEntry *vrf)
 
virtual bool RouteWalkNotify (DBTablePartBase *partition, DBEntryBase *e)
 
- Public Member Functions inherited from AgentRouteWalker
virtual ~AgentRouteWalker ()
 
void StartVrfWalk ()
 
void StartRouteWalk (VrfEntry *vrf)
 
virtual bool VrfWalkNotify (DBTablePartBase *partition, DBEntryBase *e)
 
virtual void VrfWalkDone (DBTableBase *part)
 
virtual void RouteWalkDone (DBTableBase *part)
 
void WalkDoneCallback (WalkDone cb)
 
void RouteWalkDoneForVrfCallback (RouteWalkDoneCb cb)
 
int walk_count () const
 
bool IsWalkCompleted () const
 
bool IsValidDeleteWalkRef () const
 
bool IsValidVrfWalkRef () const
 
bool IsDeregisterDone () const
 
bool AreAllWalksDone () const
 
bool AreAllRouteWalksDone (const VrfEntry *vrf) const
 
bool IsRouteTableWalkCompleted (RouteWalkerDBState *state)
 
AgentRouteWalkerManagermgr ()
 
Agentagent () const
 
uint32_t refcount () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AgentRouteResync)
 

Additional Inherited Members

- Static Public Attributes inherited from AgentRouteWalker
static const int kInvalidWalkCount = 0
 
- Protected Member Functions inherited from AgentRouteWalker
 AgentRouteWalker (const std::string &name, Agent *agent)
 
void set_mgr (AgentRouteWalkerManager *mgr)
 

Detailed Description

Definition at line 12 of file agent_route_resync.h.

Member Typedef Documentation

typedef DBTableWalker::WalkId AgentRouteResync::RouteWalkerIdList[Agent::ROUTE_TABLE_MAX]

Definition at line 14 of file agent_route_resync.h.

Constructor & Destructor Documentation

AgentRouteResync::AgentRouteResync ( const std::string &  name,
Agent agent 
)

Definition at line 18 of file agent_route_resync.cc.

AgentRouteResync::~AgentRouteResync ( )
virtual

Definition at line 22 of file agent_route_resync.cc.

Member Function Documentation

AgentRouteResync::DISALLOW_COPY_AND_ASSIGN ( AgentRouteResync  )
private
bool AgentRouteResync::RouteWalkNotify ( DBTablePartBase partition,
DBEntryBase e 
)
virtual

Reimplemented from AgentRouteWalker.

Definition at line 25 of file agent_route_resync.cc.

Here is the call graph for this function:

void AgentRouteResync::Update ( )

Definition at line 32 of file agent_route_resync.cc.

Here is the call graph for this function:

void AgentRouteResync::UpdateRoutesInVrf ( VrfEntry vrf)

Definition at line 36 of file agent_route_resync.cc.

Here is the call graph for this function:


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