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

#include <routepath_replicator.h>

Collaboration diagram for TableState:

Classes

class  DeleteActor
 

Public Types

typedef std::set< RtGroup * > GroupList
 

Public Member Functions

 TableState (RoutePathReplicator *replicator, BgpTable *table)
 
 ~TableState ()
 
void ManagedDelete ()
 
bool MayDelete () const
 
void RetryDelete ()
 
LifetimeActordeleter ()
 
const LifetimeActordeleter () const
 
bool deleted () const
 
void AddGroup (RtGroup *group)
 
void RemoveGroup (RtGroup *group)
 
const RtGroupFindGroup (RtGroup *group) const
 
bool empty () const
 
DBTableBase::ListenerId listener_id () const
 
void set_listener_id (DBTableBase::ListenerId listener_id)
 
uint32_t route_count () const
 
RoutePathReplicatorreplicator ()
 
const RoutePathReplicatorreplicator () const
 
BgpTabletable () const
 
BgpTabletable ()
 
const DBTable::DBTableWalkRefwalk_ref () const
 
DBTable::DBTableWalkRefwalk_ref ()
 
void set_walk_ref (DBTable::DBTableWalkRef walk_ref)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (TableState)
 

Private Attributes

RoutePathReplicatorreplicator_
 
BgpTabletable_
 
DBTableBase::ListenerId listener_id_
 
boost::scoped_ptr< DeleteActordeleter_
 
LifetimeRef< TableStatetable_delete_ref_
 
GroupList list_
 
DBTable::DBTableWalkRef walk_ref_
 

Detailed Description

Definition at line 48 of file routepath_replicator.h.

Member Typedef Documentation

typedef std::set<RtGroup *> TableState::GroupList

Definition at line 50 of file routepath_replicator.h.

Constructor & Destructor Documentation

TableState::TableState ( RoutePathReplicator replicator,
BgpTable table 
)

Definition at line 72 of file routepath_replicator.cc.

Here is the call graph for this function:

TableState::~TableState ( )

Definition at line 81 of file routepath_replicator.cc.

Here is the call graph for this function:

Member Function Documentation

void TableState::AddGroup ( RtGroup group)

Definition at line 116 of file routepath_replicator.cc.

bool TableState::deleted ( ) const

Definition at line 91 of file routepath_replicator.cc.

Here is the call graph for this function:

LifetimeActor * TableState::deleter ( )

Definition at line 95 of file routepath_replicator.cc.

const LifetimeActor * TableState::deleter ( ) const

Definition at line 99 of file routepath_replicator.cc.

TableState::DISALLOW_COPY_AND_ASSIGN ( TableState  )
private
bool TableState::empty ( ) const
inline

Definition at line 66 of file routepath_replicator.h.

const RtGroup * TableState::FindGroup ( RtGroup group) const

Definition at line 124 of file routepath_replicator.cc.

DBTableBase::ListenerId TableState::listener_id ( ) const
inline

Definition at line 68 of file routepath_replicator.h.

void TableState::ManagedDelete ( )

Definition at line 87 of file routepath_replicator.cc.

Here is the call graph for this function:

bool TableState::MayDelete ( ) const

Definition at line 103 of file routepath_replicator.cc.

Here is the call graph for this function:

void TableState::RemoveGroup ( RtGroup group)

Definition at line 120 of file routepath_replicator.cc.

RoutePathReplicator* TableState::replicator ( )
inline

Definition at line 76 of file routepath_replicator.h.

const RoutePathReplicator* TableState::replicator ( ) const
inline

Definition at line 80 of file routepath_replicator.h.

void TableState::RetryDelete ( )

Definition at line 110 of file routepath_replicator.cc.

Here is the call graph for this function:

uint32_t TableState::route_count ( ) const

Definition at line 129 of file routepath_replicator.cc.

Here is the call graph for this function:

void TableState::set_listener_id ( DBTableBase::ListenerId  listener_id)
inline

Definition at line 69 of file routepath_replicator.h.

Here is the call graph for this function:

void TableState::set_walk_ref ( DBTable::DBTableWalkRef  walk_ref)
inline

Definition at line 100 of file routepath_replicator.h.

Here is the call graph for this function:

BgpTable* TableState::table ( ) const
inline

Definition at line 84 of file routepath_replicator.h.

BgpTable* TableState::table ( )
inline

Definition at line 88 of file routepath_replicator.h.

const DBTable::DBTableWalkRef& TableState::walk_ref ( ) const
inline

Definition at line 92 of file routepath_replicator.h.

DBTable::DBTableWalkRef& TableState::walk_ref ( )
inline

Definition at line 96 of file routepath_replicator.h.

Member Data Documentation

boost::scoped_ptr<DeleteActor> TableState::deleter_
private

Definition at line 109 of file routepath_replicator.h.

GroupList TableState::list_
private

Definition at line 111 of file routepath_replicator.h.

DBTableBase::ListenerId TableState::listener_id_
private

Definition at line 108 of file routepath_replicator.h.

RoutePathReplicator* TableState::replicator_
private

Definition at line 105 of file routepath_replicator.h.

BgpTable* TableState::table_
private

Definition at line 107 of file routepath_replicator.h.

LifetimeRef<TableState> TableState::table_delete_ref_
private

Definition at line 110 of file routepath_replicator.h.

DBTable::DBTableWalkRef TableState::walk_ref_
private

Definition at line 112 of file routepath_replicator.h.


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