OpenSDN source code
|
#include <ifmap_update.h>
Public Types | |
typedef DependencyList < IFMapLink, IFMapNodeState > ::iterator | iterator |
typedef DependencyList < IFMapLink, IFMapNodeState > ::const_iterator | const_iterator |
![]() | |
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 | |
IFMapNodeState (IFMapNode *node) | |
void | SetValid () |
void | SetValid (const IFMapNode *node) |
bool | HasDependents () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const BitSet & | nmask () const |
void | nmask_clear () |
void | nmask_set (int bit) |
virtual bool | CanDelete () |
IFMapNodeState (IFMapDependencyManager *manager, IFMapNode *node) | |
IFMapNode * | node () |
DBEntry * | object () |
void | set_object (DBEntry *object) |
void | set_uuid (const boost::uuids::uuid &u) |
void | set_notify (bool flag) |
void | set_oper_db_request_enqueued (bool oper_db_request_enqueued) |
bool | notify () |
boost::uuids::uuid | uuid () |
void | clear_object () |
bool | oper_db_request_enqueued () const |
![]() | |
virtual | ~DBState () |
![]() | |
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 | ClearValid () |
virtual bool | IsValid () const |
virtual bool | IsInvalid () const |
const crc32type & | crc () const |
void | SetCrc (crc32type &crc) |
const IFMapObjectPtr & | data () const |
IFMapNode * | GetIFMapNode () const |
IFMapLink * | GetIFMapLink () const |
bool | IsNode () const |
bool | IsLink () const |
Private Member Functions | |
DEPENDENCY_LIST (IFMapLink, IFMapNodeState, dependents_) | |
Private Attributes | |
BitSet | nmask_ |
IFMapDependencyManager * | manager_ |
IFMapNode * | node_ |
DBEntry * | object_ |
boost::uuids::uuid | uuid_ |
int | refcount_ |
bool | notify_ |
bool | oper_db_request_enqueued_ |
Friends | |
void | intrusive_ptr_add_ref (IFMapNodeState *state) |
void | intrusive_ptr_release (IFMapNodeState *state) |
Additional Inherited Members | |
![]() | |
uint32_t | sig_ |
IFMapObjectPtr | data_ |
![]() | |
static const uint32_t | kInvalidSig = -1 |
Definition at line 176 of file ifmap_update.h.
Definition at line 180 of file ifmap_update.h.
Definition at line 178 of file ifmap_update.h.
|
explicit |
Definition at line 126 of file ifmap_update.cc.
|
inline |
Definition at line 39 of file ifmap_dependency_manager.h.
|
inline |
Definition at line 187 of file ifmap_update.h.
|
inline |
Definition at line 190 of file ifmap_update.h.
|
inlinevirtual |
Implements IFMapState.
Definition at line 196 of file ifmap_update.h.
|
inline |
Definition at line 67 of file ifmap_dependency_manager.h.
|
private |
|
inline |
Definition at line 188 of file ifmap_update.h.
|
inline |
Definition at line 191 of file ifmap_update.h.
bool IFMapNodeState::HasDependents | ( | ) | const |
Definition at line 130 of file ifmap_update.cc.
|
inline |
Definition at line 193 of file ifmap_update.h.
|
inline |
|
inline |
|
inline |
Definition at line 45 of file ifmap_dependency_manager.h.
|
inline |
Definition at line 63 of file ifmap_dependency_manager.h.
|
inline |
Definition at line 46 of file ifmap_dependency_manager.h.
|
inline |
Definition at line 71 of file ifmap_dependency_manager.h.
|
inline |
Definition at line 55 of file ifmap_dependency_manager.h.
|
inline |
|
inline |
|
inline |
Definition at line 51 of file ifmap_dependency_manager.h.
|
inlinevirtual |
Reimplemented from IFMapState.
Definition at line 183 of file ifmap_update.h.
|
inline |
Definition at line 184 of file ifmap_update.h.
|
inline |
Definition at line 65 of file ifmap_dependency_manager.h.
|
friend |
Definition at line 55 of file ifmap_dependency_manager.cc.
|
friend |
Definition at line 59 of file ifmap_dependency_manager.cc.
|
private |
Definition at line 79 of file ifmap_dependency_manager.h.
|
private |
Definition at line 202 of file ifmap_update.h.
|
private |
Definition at line 80 of file ifmap_dependency_manager.h.
|
private |
Definition at line 84 of file ifmap_dependency_manager.h.
|
private |
Definition at line 81 of file ifmap_dependency_manager.h.
|
private |
Definition at line 85 of file ifmap_dependency_manager.h.
|
private |
Definition at line 83 of file ifmap_dependency_manager.h.
|
private |
Definition at line 82 of file ifmap_dependency_manager.h.