nfd::rib::RibUpdateBatch Class Reference

Represents a collection of RibUpdates to be applied to a single FaceId. More...

#include <daemon/rib/rib-update-batch.hpp>

Public Types

using const_iterator = RibUpdateList::const_iterator
 

Public Member Functions

 RibUpdateBatch (uint64_t faceId)
 
void add (const RibUpdate &update)
 
const_iterator begin () const
 
const_iterator end () const
 
uint64_t getFaceId () const
 
size_t size () const
 

Detailed Description

Represents a collection of RibUpdates to be applied to a single FaceId.

Definition at line 40 of file rib-update-batch.hpp.

Member Typedef Documentation

◆ const_iterator

using nfd::rib::RibUpdateBatch::const_iterator = RibUpdateList::const_iterator

Definition at line 43 of file rib-update-batch.hpp.

Constructor & Destructor Documentation

◆ RibUpdateBatch()

nfd::rib::RibUpdateBatch::RibUpdateBatch ( uint64_t  faceId)
explicit

Definition at line 30 of file rib-update-batch.cpp.

Member Function Documentation

◆ add()

void nfd::rib::RibUpdateBatch::add ( const RibUpdate update)

Definition at line 36 of file rib-update-batch.cpp.

◆ begin()

RibUpdateBatch::const_iterator nfd::rib::RibUpdateBatch::begin ( ) const

Definition at line 44 of file rib-update-batch.cpp.

◆ end()

RibUpdateBatch::const_iterator nfd::rib::RibUpdateBatch::end ( ) const

Definition at line 50 of file rib-update-batch.cpp.

◆ getFaceId()

uint64_t nfd::rib::RibUpdateBatch::getFaceId ( ) const
inline

Definition at line 49 of file rib-update-batch.hpp.

◆ size()

size_t nfd::rib::RibUpdateBatch::size ( ) const

Definition at line 56 of file rib-update-batch.cpp.