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

#include <bgp_attr.h>

Collaboration diagram for EdgeForwarding:

Classes

struct  Edge
 
struct  EdgeCompare
 

Public Types

typedef std::vector< Edge * > EdgeList
 

Public Member Functions

 EdgeForwarding (EdgeForwardingDB *edge_forwarding_db, const EdgeForwardingSpec &efspec)
 
virtual ~EdgeForwarding ()
 
virtual void Remove ()
 
int CompareTo (const EdgeForwarding &rhs) const
 
const EdgeForwardingSpecedge_forwarding () const
 

Public Attributes

EdgeList edge_list
 

Private Attributes

tbb::atomic< int > refcount_
 
EdgeForwardingDBedge_forwarding_db_
 
EdgeForwardingSpec efspec_
 

Friends

class EdgeForwardingDB
 
std::size_t hash_value (const EdgeForwarding &edge_forwarding)
 
int intrusive_ptr_add_ref (const EdgeForwarding *ceforwarding)
 
int intrusive_ptr_del_ref (const EdgeForwarding *ceforwarding)
 
void intrusive_ptr_release (const EdgeForwarding *ceforwarding)
 

Detailed Description

Definition at line 569 of file bgp_attr.h.

Member Typedef Documentation

typedef std::vector<Edge *> EdgeForwarding::EdgeList

Definition at line 591 of file bgp_attr.h.

Constructor & Destructor Documentation

EdgeForwarding::EdgeForwarding ( EdgeForwardingDB edge_forwarding_db,
const EdgeForwardingSpec efspec 
)

Definition at line 687 of file bgp_attr.cc.

EdgeForwarding::~EdgeForwarding ( )
virtual

Definition at line 700 of file bgp_attr.cc.

Here is the call graph for this function:

Member Function Documentation

int EdgeForwarding::CompareTo ( const EdgeForwarding rhs) const

Definition at line 712 of file bgp_attr.cc.

Here is the call graph for this function:

const EdgeForwardingSpec& EdgeForwarding::edge_forwarding ( ) const
inline

Definition at line 577 of file bgp_attr.h.

void EdgeForwarding::Remove ( )
virtual

Definition at line 719 of file bgp_attr.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class EdgeForwardingDB
friend

Definition at line 606 of file bgp_attr.h.

std::size_t hash_value ( const EdgeForwarding edge_forwarding)
friend

Definition at line 579 of file bgp_attr.h.

int intrusive_ptr_add_ref ( const EdgeForwarding ceforwarding)
friend

Definition at line 613 of file bgp_attr.h.

int intrusive_ptr_del_ref ( const EdgeForwarding ceforwarding)
friend

Definition at line 617 of file bgp_attr.h.

void intrusive_ptr_release ( const EdgeForwarding ceforwarding)
friend

Definition at line 621 of file bgp_attr.h.

Member Data Documentation

EdgeForwardingDB* EdgeForwarding::edge_forwarding_db_
private

Definition at line 609 of file bgp_attr.h.

EdgeList EdgeForwarding::edge_list

Definition at line 600 of file bgp_attr.h.

EdgeForwardingSpec EdgeForwarding::efspec_
private

Definition at line 610 of file bgp_attr.h.

tbb::atomic<int> EdgeForwarding::refcount_
mutableprivate

Definition at line 608 of file bgp_attr.h.


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