OpenSDN source code
BgpSenderPartition::RibState Class Reference
Collaboration diagram for BgpSenderPartition::RibState:

Classes

class  iterator
 

Public Member Functions

 RibState (RibOut *ribout)
 
void Add (PeerState *ps)
 
void Remove (PeerState *ps)
 
bool QueueSync (int queue_id)
 
void SetQueueSync (int queue_id)
 
void SetQueueUnsync (int queue_id)
 
RibOutribout ()
 
iterator begin (const PeerStateMap &indexmap)
 
iterator end (const PeerStateMap &indexmap)
 
void set_index (size_t index)
 
size_t index () const
 
bool empty () const
 
const BitSetpeer_set () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (RibState)
 

Private Attributes

RibOutkey_
 
size_t index_
 
BitSet peer_set_
 
vector< bool > in_sync_
 

Detailed Description

Definition at line 250 of file bgp_update_sender.cc.

Constructor & Destructor Documentation

◆ RibState()

BgpSenderPartition::RibState::RibState ( RibOut ribout)
inlineexplicit

Definition at line 277 of file bgp_update_sender.cc.

Member Function Documentation

◆ Add()

void BgpSenderPartition::RibState::Add ( BgpSenderPartition::PeerState ps)

Definition at line 315 of file bgp_update_sender.cc.

Here is the call graph for this function:

◆ begin()

iterator BgpSenderPartition::RibState::begin ( const PeerStateMap indexmap)
inline

Definition at line 290 of file bgp_update_sender.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

BgpSenderPartition::RibState::DISALLOW_COPY_AND_ASSIGN ( RibState  )
private

◆ empty()

bool BgpSenderPartition::RibState::empty ( ) const
inline

Definition at line 301 of file bgp_update_sender.cc.

Here is the call graph for this function:

◆ end()

iterator BgpSenderPartition::RibState::end ( const PeerStateMap indexmap)
inline

Definition at line 294 of file bgp_update_sender.cc.

◆ index()

size_t BgpSenderPartition::RibState::index ( ) const
inline

Definition at line 299 of file bgp_update_sender.cc.

◆ peer_set()

const BitSet& BgpSenderPartition::RibState::peer_set ( ) const
inline

Definition at line 303 of file bgp_update_sender.cc.

◆ QueueSync()

bool BgpSenderPartition::RibState::QueueSync ( int  queue_id)

Definition at line 325 of file bgp_update_sender.cc.

◆ Remove()

void BgpSenderPartition::RibState::Remove ( BgpSenderPartition::PeerState ps)

Definition at line 320 of file bgp_update_sender.cc.

Here is the call graph for this function:

◆ ribout()

RibOut* BgpSenderPartition::RibState::ribout ( )
inline

Definition at line 288 of file bgp_update_sender.cc.

◆ set_index()

void BgpSenderPartition::RibState::set_index ( size_t  index)
inline

Definition at line 298 of file bgp_update_sender.cc.

Here is the call graph for this function:

◆ SetQueueSync()

void BgpSenderPartition::RibState::SetQueueSync ( int  queue_id)

Definition at line 330 of file bgp_update_sender.cc.

◆ SetQueueUnsync()

void BgpSenderPartition::RibState::SetQueueUnsync ( int  queue_id)

Definition at line 335 of file bgp_update_sender.cc.

Member Data Documentation

◆ in_sync_

vector<bool> BgpSenderPartition::RibState::in_sync_
private

Definition at line 309 of file bgp_update_sender.cc.

◆ index_

size_t BgpSenderPartition::RibState::index_
private

Definition at line 307 of file bgp_update_sender.cc.

◆ key_

RibOut* BgpSenderPartition::RibState::key_
private

Definition at line 306 of file bgp_update_sender.cc.

◆ peer_set_

BitSet BgpSenderPartition::RibState::peer_set_
private

Definition at line 308 of file bgp_update_sender.cc.


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