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

#include <bgp_mvpn.h>

Collaboration diagram for MvpnProjectManager:

Classes

class  DeleteActor
 

Public Types

typedef std::vector
< MvpnProjectManagerPartition * > 
PartitionList
 
typedef
PartitionList::const_iterator 
const_iterator
 

Public Member Functions

 MvpnProjectManager (ErmVpnTable *table)
 
virtual ~MvpnProjectManager ()
 
MvpnProjectManagerPartitionGetPartition (int part_id)
 
const MvpnProjectManagerPartitionGetPartition (int part_id) const
 
void ManagedDelete ()
 
virtual void Terminate ()
 
ErmVpnTabletable ()
 
const ErmVpnTabletable () const
 
int listener_id () const
 
const LifetimeActordeleter () const
 
LifetimeActordeleter ()
 
bool deleted () const
 
virtual void Initialize ()
 
MvpnStatePtr GetState (MvpnRoute *route) const
 
MvpnStatePtr GetState (MvpnRoute *route)
 
MvpnStatePtr GetState (ErmVpnRoute *route) const
 
UpdateInfoGetUpdateInfo (MvpnRoute *route)
 
const PartitionListpartitions () const
 
bool MayDelete () const
 
void GetMvpnSourceAddress (ErmVpnRoute *ermvpn_route, Ip4Address *address) const
 

Private Member Functions

void AllocPartitions ()
 
void FreePartitions ()
 
void RouteListener (DBTablePartBase *tpart, DBEntryBase *db_entry)
 
UpdateInfoGetType7UpdateInfo (MvpnRoute *route)
 
 DISALLOW_COPY_AND_ASSIGN (MvpnProjectManager)
 

Private Attributes

ErmVpnTabletable_
 
int listener_id_
 
PartitionList partitions_
 
boost::scoped_ptr< DeleteActordeleter_
 
LifetimeRef< MvpnProjectManagertable_delete_ref_
 

Detailed Description

Definition at line 416 of file bgp_mvpn.h.

Member Typedef Documentation

typedef PartitionList::const_iterator MvpnProjectManager::const_iterator

Definition at line 420 of file bgp_mvpn.h.

Definition at line 418 of file bgp_mvpn.h.

Constructor & Destructor Documentation

MvpnProjectManager::MvpnProjectManager ( ErmVpnTable table)
explicit

Definition at line 82 of file bgp_mvpn.cc.

MvpnProjectManager::~MvpnProjectManager ( )
virtual

Definition at line 89 of file bgp_mvpn.cc.

Member Function Documentation

void MvpnProjectManager::AllocPartitions ( )
private

Definition at line 136 of file bgp_mvpn.cc.

Here is the call graph for this function:

bool MvpnProjectManager::deleted ( ) const

Definition at line 161 of file bgp_mvpn.cc.

const LifetimeActor * MvpnProjectManager::deleter ( ) const

Definition at line 110 of file bgp_mvpn.cc.

LifetimeActor * MvpnProjectManager::deleter ( )

Definition at line 106 of file bgp_mvpn.cc.

MvpnProjectManager::DISALLOW_COPY_AND_ASSIGN ( MvpnProjectManager  )
private
void MvpnProjectManager::FreePartitions ( )
private

Definition at line 141 of file bgp_mvpn.cc.

void MvpnProjectManager::GetMvpnSourceAddress ( ErmVpnRoute ermvpn_route,
Ip4Address address 
) const

Definition at line 1209 of file bgp_mvpn.cc.

Here is the call graph for this function:

MvpnProjectManagerPartition * MvpnProjectManager::GetPartition ( int  part_id)

Definition at line 148 of file bgp_mvpn.cc.

const MvpnProjectManagerPartition * MvpnProjectManager::GetPartition ( int  part_id) const

Definition at line 152 of file bgp_mvpn.cc.

MvpnStatePtr MvpnProjectManager::GetState ( MvpnRoute route) const

Definition at line 165 of file bgp_mvpn.cc.

Here is the call graph for this function:

MvpnStatePtr MvpnProjectManager::GetState ( MvpnRoute route)

Definition at line 170 of file bgp_mvpn.cc.

Here is the call graph for this function:

MvpnStatePtr MvpnProjectManager::GetState ( ErmVpnRoute route) const

Definition at line 174 of file bgp_mvpn.cc.

Here is the call graph for this function:

UpdateInfo * MvpnProjectManager::GetType7UpdateInfo ( MvpnRoute route)
private

Definition at line 1237 of file bgp_mvpn.cc.

Here is the call graph for this function:

UpdateInfo * MvpnProjectManager::GetUpdateInfo ( MvpnRoute route)

Definition at line 1244 of file bgp_mvpn.cc.

Here is the call graph for this function:

void MvpnProjectManager::Initialize ( )
virtual

Definition at line 116 of file bgp_mvpn.cc.

Here is the call graph for this function:

int MvpnProjectManager::listener_id ( ) const

Definition at line 529 of file bgp_mvpn.cc.

void MvpnProjectManager::ManagedDelete ( )

Definition at line 157 of file bgp_mvpn.cc.

bool MvpnProjectManager::MayDelete ( ) const

Definition at line 94 of file bgp_mvpn.cc.

Here is the call graph for this function:

const PartitionList& MvpnProjectManager::partitions ( ) const
inline

Definition at line 439 of file bgp_mvpn.h.

void MvpnProjectManager::RouteListener ( DBTablePartBase tpart,
DBEntryBase db_entry 
)
private

Definition at line 757 of file bgp_mvpn.cc.

Here is the call graph for this function:

ErmVpnTable * MvpnProjectManager::table ( )

Definition at line 560 of file bgp_mvpn.cc.

const ErmVpnTable * MvpnProjectManager::table ( ) const

Definition at line 564 of file bgp_mvpn.cc.

void MvpnProjectManager::Terminate ( )
virtual

Definition at line 128 of file bgp_mvpn.cc.

Here is the call graph for this function:

Member Data Documentation

boost::scoped_ptr<DeleteActor> MvpnProjectManager::deleter_
private

Definition at line 455 of file bgp_mvpn.h.

int MvpnProjectManager::listener_id_
private

Definition at line 452 of file bgp_mvpn.h.

PartitionList MvpnProjectManager::partitions_
private

Definition at line 453 of file bgp_mvpn.h.

ErmVpnTable* MvpnProjectManager::table_
private

Definition at line 451 of file bgp_mvpn.h.

LifetimeRef<MvpnProjectManager> MvpnProjectManager::table_delete_ref_
private

Definition at line 456 of file bgp_mvpn.h.


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