OpenSDN source code
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

◆ GroupList

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

Definition at line 50 of file routepath_replicator.h.

Constructor & Destructor Documentation

◆ TableState()

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::~TableState ( )

Definition at line 81 of file routepath_replicator.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddGroup()

void TableState::AddGroup ( RtGroup group)

Definition at line 116 of file routepath_replicator.cc.

◆ deleted()

bool TableState::deleted ( ) const

Definition at line 91 of file routepath_replicator.cc.

Here is the call graph for this function:

◆ deleter() [1/2]

LifetimeActor * TableState::deleter ( )

Definition at line 95 of file routepath_replicator.cc.

◆ deleter() [2/2]

const LifetimeActor * TableState::deleter ( ) const

Definition at line 99 of file routepath_replicator.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

TableState::DISALLOW_COPY_AND_ASSIGN ( TableState  )
private

◆ empty()

bool TableState::empty ( ) const
inline

Definition at line 66 of file routepath_replicator.h.

◆ FindGroup()

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

Definition at line 124 of file routepath_replicator.cc.

◆ listener_id()

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

Definition at line 68 of file routepath_replicator.h.

◆ ManagedDelete()

void TableState::ManagedDelete ( )

Definition at line 87 of file routepath_replicator.cc.

Here is the call graph for this function:

◆ MayDelete()

bool TableState::MayDelete ( ) const

Definition at line 103 of file routepath_replicator.cc.

Here is the call graph for this function:

◆ RemoveGroup()

void TableState::RemoveGroup ( RtGroup group)

Definition at line 120 of file routepath_replicator.cc.

◆ replicator() [1/2]

RoutePathReplicator* TableState::replicator ( )
inline

Definition at line 76 of file routepath_replicator.h.

◆ replicator() [2/2]

const RoutePathReplicator* TableState::replicator ( ) const
inline

Definition at line 80 of file routepath_replicator.h.

◆ RetryDelete()

void TableState::RetryDelete ( )

Definition at line 110 of file routepath_replicator.cc.

Here is the call graph for this function:

◆ route_count()

uint32_t TableState::route_count ( ) const

Definition at line 129 of file routepath_replicator.cc.

Here is the call graph for this function:

◆ set_listener_id()

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:

◆ set_walk_ref()

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:

◆ table() [1/2]

BgpTable* TableState::table ( )
inline

Definition at line 88 of file routepath_replicator.h.

◆ table() [2/2]

BgpTable* TableState::table ( ) const
inline

Definition at line 84 of file routepath_replicator.h.

◆ walk_ref() [1/2]

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

Definition at line 96 of file routepath_replicator.h.

◆ walk_ref() [2/2]

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

Definition at line 92 of file routepath_replicator.h.

Member Data Documentation

◆ deleter_

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

Definition at line 109 of file routepath_replicator.h.

◆ list_

GroupList TableState::list_
private

Definition at line 111 of file routepath_replicator.h.

◆ listener_id_

DBTableBase::ListenerId TableState::listener_id_
private

Definition at line 108 of file routepath_replicator.h.

◆ replicator_

RoutePathReplicator* TableState::replicator_
private

Definition at line 106 of file routepath_replicator.h.

◆ table_

BgpTable* TableState::table_
private

Definition at line 107 of file routepath_replicator.h.

◆ table_delete_ref_

LifetimeRef<TableState> TableState::table_delete_ref_
private

Definition at line 110 of file routepath_replicator.h.

◆ walk_ref_

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: