OpenSDN source code
IFMapUpdate Class Reference

#include <ifmap_update.h>

Inheritance diagram for IFMapUpdate:
Collaboration diagram for IFMapUpdate:

Public Member Functions

 IFMapUpdate (IFMapNode *node, bool positive)
 
 IFMapUpdate (IFMapLink *link, bool positive)
 
virtual ~IFMapUpdate ()
 
void AdvertiseReset (const BitSet &set)
 
void AdvertiseOr (const BitSet &set)
 
void SetAdvertise (const BitSet &set)
 
const BitSetadvertise () const
 
const IFMapObjectPtrdata () const
 
std::string ConfigName ()
 
virtual std::string ToString ()
 
bool IsNode () const
 
bool IsLink () const
 
- Public Member Functions inherited from IFMapListEntry
 IFMapListEntry (EntryType type)
 
virtual ~IFMapListEntry ()
 
bool IsMarker () const
 
bool IsUpdate () const
 
bool IsDelete () const
 
std::string TypeToString ()
 
void set_queue_insert_at_to_now ()
 
std::string queue_insert_ago_str ()
 
void set_sequence (uint64_t seq)
 
uint64_t get_sequence ()
 

Private Attributes

boost::intrusive::slist_member_hook node_
 
IFMapObjectPtr data_
 
BitSet advertise_
 

Friends

class IFMapState
 

Additional Inherited Members

- Public Types inherited from IFMapListEntry
enum  EntryType { UPDATE , DEL , MARKER }
 
- Public Attributes inherited from IFMapListEntry
boost::intrusive::list_member_hook node
 
EntryType type
 
uint64_t queue_insert_at
 
uint64_t sequence
 

Detailed Description

Definition at line 85 of file ifmap_update.h.

Constructor & Destructor Documentation

◆ IFMapUpdate() [1/2]

IFMapUpdate::IFMapUpdate ( IFMapNode node,
bool  positive 
)

Definition at line 33 of file ifmap_update.cc.

◆ IFMapUpdate() [2/2]

IFMapUpdate::IFMapUpdate ( IFMapLink link,
bool  positive 
)

Definition at line 38 of file ifmap_update.cc.

◆ ~IFMapUpdate()

virtual IFMapUpdate::~IFMapUpdate ( )
inlinevirtual

Definition at line 89 of file ifmap_update.h.

Member Function Documentation

◆ advertise()

const BitSet& IFMapUpdate::advertise ( ) const
inline

Definition at line 94 of file ifmap_update.h.

◆ AdvertiseOr()

void IFMapUpdate::AdvertiseOr ( const BitSet set)

Definition at line 63 of file ifmap_update.cc.

◆ AdvertiseReset()

void IFMapUpdate::AdvertiseReset ( const BitSet set)

Definition at line 59 of file ifmap_update.cc.

Here is the call graph for this function:

◆ ConfigName()

std::string IFMapUpdate::ConfigName ( )

Definition at line 43 of file ifmap_update.cc.

Here is the call graph for this function:

◆ data()

const IFMapObjectPtr& IFMapUpdate::data ( ) const
inline

Definition at line 96 of file ifmap_update.h.

◆ IsLink()

bool IFMapUpdate::IsLink ( ) const
inline

Definition at line 100 of file ifmap_update.h.

Here is the call graph for this function:

◆ IsNode()

bool IFMapUpdate::IsNode ( ) const
inline

Definition at line 99 of file ifmap_update.h.

Here is the call graph for this function:

◆ SetAdvertise()

void IFMapUpdate::SetAdvertise ( const BitSet set)

Definition at line 67 of file ifmap_update.cc.

◆ ToString()

std::string IFMapUpdate::ToString ( )
virtual

Reimplemented from IFMapListEntry.

Definition at line 55 of file ifmap_update.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ IFMapState

friend class IFMapState
friend

Definition at line 103 of file ifmap_update.h.

Member Data Documentation

◆ advertise_

BitSet IFMapUpdate::advertise_
private

Definition at line 106 of file ifmap_update.h.

◆ data_

IFMapObjectPtr IFMapUpdate::data_
private

Definition at line 105 of file ifmap_update.h.

◆ node_

boost::intrusive::slist_member_hook IFMapUpdate::node_
private

Definition at line 104 of file ifmap_update.h.


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