OpenSDN source code
|
#include <ifmap_update.h>
Public Types | |
typedef boost::crc_32_type::value_type | crc32type |
typedef boost::intrusive::member_hook < IFMapUpdate, boost::intrusive::slist_member_hook <>,&IFMapUpdate::node_ > | MemberHook |
typedef boost::intrusive::slist < IFMapUpdate, MemberHook > | UpdateList |
Public Member Functions | |
IFMapState (IFMapNode *node) | |
IFMapState (IFMapLink *link) | |
virtual | ~IFMapState () |
const BitSet & | interest () const |
const BitSet & | advertised () const |
const UpdateList & | update_list () const |
IFMapUpdate * | GetUpdate (IFMapListEntry::EntryType type) |
void | Insert (IFMapUpdate *update) |
void | Remove (IFMapUpdate *update) |
void | InterestOr (const BitSet &bset) |
void | SetInterest (const BitSet &bset) |
void | InterestReset (const BitSet &set) |
void | AdvertisedOr (const BitSet &set) |
void | AdvertisedReset (const BitSet &set) |
template<typename Disposer > | |
void | ClearAndDispose (Disposer disposer) |
virtual void | SetValid () |
virtual void | ClearValid () |
virtual bool | IsValid () const |
virtual bool | IsInvalid () const |
const crc32type & | crc () const |
void | SetCrc (crc32type &crc) |
virtual bool | CanDelete ()=0 |
const IFMapObjectPtr & | data () const |
IFMapNode * | GetIFMapNode () const |
IFMapLink * | GetIFMapLink () const |
bool | IsNode () const |
bool | IsLink () const |
![]() | |
virtual | ~DBState () |
Protected Attributes | |
uint32_t | sig_ |
IFMapObjectPtr | data_ |
Static Protected Attributes | |
static const uint32_t | kInvalidSig = -1 |
Private Attributes | |
BitSet | interest_ |
BitSet | advertised_ |
UpdateList | update_list_ |
crc32type | crc_ |
Definition at line 117 of file ifmap_update.h.
typedef boost::crc_32_type::value_type IFMapState::crc32type |
Definition at line 119 of file ifmap_update.h.
typedef boost::intrusive::member_hook< IFMapUpdate, boost::intrusive::slist_member_hook<>, &IFMapUpdate::node_ > IFMapState::MemberHook |
Definition at line 122 of file ifmap_update.h.
typedef boost::intrusive::slist<IFMapUpdate, MemberHook> IFMapState::UpdateList |
Definition at line 123 of file ifmap_update.h.
IFMapState::IFMapState | ( | IFMapNode * | node | ) |
Definition at line 79 of file ifmap_update.cc.
IFMapState::IFMapState | ( | IFMapLink * | link | ) |
Definition at line 83 of file ifmap_update.cc.
|
virtual |
Definition at line 87 of file ifmap_update.cc.
|
inline |
Definition at line 130 of file ifmap_update.h.
|
inline |
Definition at line 141 of file ifmap_update.h.
|
inline |
|
pure virtual |
Implemented in IFMapLinkState, and IFMapNodeState.
|
inline |
Definition at line 145 of file ifmap_update.h.
|
inlinevirtual |
Definition at line 150 of file ifmap_update.h.
|
inline |
Definition at line 153 of file ifmap_update.h.
|
inline |
Definition at line 156 of file ifmap_update.h.
IFMapLink * IFMapState::GetIFMapLink | ( | ) | const |
IFMapNode * IFMapState::GetIFMapNode | ( | ) | const |
IFMapUpdate * IFMapState::GetUpdate | ( | IFMapListEntry::EntryType | type | ) |
Definition at line 91 of file ifmap_update.cc.
void IFMapState::Insert | ( | IFMapUpdate * | update | ) |
Definition at line 102 of file ifmap_update.cc.
|
inline |
Definition at line 129 of file ifmap_update.h.
|
inline |
Definition at line 137 of file ifmap_update.h.
|
inline |
|
inlinevirtual |
Definition at line 152 of file ifmap_update.h.
|
inline |
|
inline |
|
inlinevirtual |
Definition at line 151 of file ifmap_update.h.
void IFMapState::Remove | ( | IFMapUpdate * | update | ) |
Definition at line 106 of file ifmap_update.cc.
|
inline |
|
inline |
Definition at line 138 of file ifmap_update.h.
|
inlinevirtual |
Reimplemented in IFMapLinkState, and IFMapNodeState.
Definition at line 149 of file ifmap_update.h.
|
inline |
Definition at line 132 of file ifmap_update.h.
|
private |
Definition at line 171 of file ifmap_update.h.
|
private |
Definition at line 173 of file ifmap_update.h.
|
protected |
Definition at line 165 of file ifmap_update.h.
|
private |
Definition at line 169 of file ifmap_update.h.
|
staticprotected |
Definition at line 163 of file ifmap_update.h.
|
protected |
Definition at line 164 of file ifmap_update.h.
|
private |
Definition at line 172 of file ifmap_update.h.