OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IFMapLinkState Class Reference

#include <ifmap_update.h>

Inheritance diagram for IFMapLinkState:
Collaboration diagram for IFMapLinkState:

Public Member Functions

 IFMapLinkState (IFMapLink *link)
 
void SetDependency (IFMapNodeState *first, IFMapNodeState *second)
 
void RemoveDependency ()
 
bool HasDependency () const
 
void SetValid ()
 
void SetValid (const IFMapLink *link)
 
IFMapNodeStateleft ()
 
IFMapNodeStateright ()
 
virtual bool CanDelete ()
 
- Public Member Functions inherited from IFMapState
 IFMapState (IFMapNode *node)
 
 IFMapState (IFMapLink *link)
 
virtual ~IFMapState ()
 
const BitSetinterest () const
 
const BitSetadvertised () const
 
const UpdateListupdate_list () const
 
IFMapUpdateGetUpdate (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 crc32typecrc () const
 
void SetCrc (crc32type &crc)
 
const IFMapObjectPtrdata () const
 
IFMapNodeGetIFMapNode () const
 
IFMapLinkGetIFMapLink () const
 
bool IsNode () const
 
bool IsLink () const
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Private Attributes

DependencyRef< IFMapLink,
IFMapNodeState
left_
 
DependencyRef< IFMapLink,
IFMapNodeState
right_
 

Additional Inherited Members

- Public Types inherited from IFMapState
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
 
- Protected Attributes inherited from IFMapState
uint32_t sig_
 
IFMapObjectPtr data_
 
- Static Protected Attributes inherited from IFMapState
static const uint32_t kInvalidSig = -1
 

Detailed Description

Definition at line 205 of file ifmap_update.h.

Constructor & Destructor Documentation

IFMapLinkState::IFMapLinkState ( IFMapLink link)
explicit

Definition at line 134 of file ifmap_update.cc.

Member Function Documentation

virtual bool IFMapLinkState::CanDelete ( )
inlinevirtual

Implements IFMapState.

Definition at line 217 of file ifmap_update.h.

Here is the call graph for this function:

bool IFMapLinkState::HasDependency ( ) const

Definition at line 149 of file ifmap_update.cc.

Here is the call graph for this function:

IFMapNodeState* IFMapLinkState::left ( )
inline

Definition at line 215 of file ifmap_update.h.

Here is the call graph for this function:

void IFMapLinkState::RemoveDependency ( )

Definition at line 144 of file ifmap_update.cc.

Here is the call graph for this function:

IFMapNodeState* IFMapLinkState::right ( )
inline

Definition at line 216 of file ifmap_update.h.

Here is the call graph for this function:

void IFMapLinkState::SetDependency ( IFMapNodeState first,
IFMapNodeState second 
)

Definition at line 138 of file ifmap_update.cc.

Here is the call graph for this function:

void IFMapLinkState::SetValid ( )
inlinevirtual

Reimplemented from IFMapState.

Definition at line 212 of file ifmap_update.h.

Here is the call graph for this function:

void IFMapLinkState::SetValid ( const IFMapLink link)
inline

Definition at line 213 of file ifmap_update.h.

Member Data Documentation

DependencyRef<IFMapLink, IFMapNodeState> IFMapLinkState::left_
private

Definition at line 222 of file ifmap_update.h.

DependencyRef<IFMapLink, IFMapNodeState> IFMapLinkState::right_
private

Definition at line 223 of file ifmap_update.h.


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