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

#include <ifmap_config_listener.h>

Inheritance diagram for IFMapConfigListener:
Collaboration diagram for IFMapConfigListener:

Classes

struct  ConfigDelta
 
class  ConfigManager
 

Public Types

typedef std::vector< ConfigDeltaChangeList
 

Public Member Functions

 IFMapConfigListener (ConfigManager *manager, const char *concurrency)
 
virtual ~IFMapConfigListener ()
 
void Initialize ()
 
void Terminate ()
 
virtual void GetChangeList (ChangeList *change_list)
 

Protected Types

typedef std::map< std::string,
DBTable::ListenerId
TableMap
 

Protected Member Functions

IFMapDependencyTrackerget_dependency_tracker ()
 
virtual void DependencyTrackerInit ()=0
 
virtual void NodeObserver (DBTablePartBase *root, DBEntryBase *db_entry)
 
virtual void LinkObserver (DBTablePartBase *root, DBEntryBase *db_entry)
 
void ChangeListAdd (IFMapNode *node)
 
DBdatabase ()
 

Protected Attributes

ConfigManagermanager_
 
boost::scoped_ptr
< IFMapDependencyTracker
tracker_
 
TableMap table_map_
 
ChangeList change_list_
 
const std::string kConcurrency_
 

Detailed Description

Definition at line 44 of file ifmap_config_listener.h.

Member Typedef Documentation

Definition at line 62 of file ifmap_config_listener.h.

typedef std::map<std::string, DBTable::ListenerId> IFMapConfigListener::TableMap
protected

Definition at line 77 of file ifmap_config_listener.h.

Constructor & Destructor Documentation

IFMapConfigListener::IFMapConfigListener ( ConfigManager manager,
const char *  concurrency 
)
explicit

Definition at line 26 of file ifmap_config_listener.cc.

IFMapConfigListener::~IFMapConfigListener ( )
virtual

Definition at line 30 of file ifmap_config_listener.cc.

Member Function Documentation

void IFMapConfigListener::ChangeListAdd ( IFMapNode node)
protected

Definition at line 114 of file ifmap_config_listener.cc.

Here is the call graph for this function:

DB * IFMapConfigListener::database ( )
protected

Definition at line 90 of file ifmap_config_listener.cc.

Here is the call graph for this function:

virtual void IFMapConfigListener::DependencyTrackerInit ( )
protectedpure virtual

Implemented in BgpConfigListener.

IFMapDependencyTracker * IFMapConfigListener::get_dependency_tracker ( )
protected

Definition at line 105 of file ifmap_config_listener.cc.

void IFMapConfigListener::GetChangeList ( ChangeList change_list)
virtual

Definition at line 97 of file ifmap_config_listener.cc.

void IFMapConfigListener::Initialize ( )

Definition at line 42 of file ifmap_config_listener.cc.

Here is the call graph for this function:

void IFMapConfigListener::LinkObserver ( DBTablePartBase root,
DBEntryBase db_entry 
)
protectedvirtual

Definition at line 166 of file ifmap_config_listener.cc.

Here is the call graph for this function:

void IFMapConfigListener::NodeObserver ( DBTablePartBase root,
DBEntryBase db_entry 
)
protectedvirtual

Definition at line 141 of file ifmap_config_listener.cc.

Here is the call graph for this function:

void IFMapConfigListener::Terminate ( )

Definition at line 74 of file ifmap_config_listener.cc.

Here is the call graph for this function:

Member Data Documentation

ChangeList IFMapConfigListener::change_list_
protected

Definition at line 89 of file ifmap_config_listener.h.

const std::string IFMapConfigListener::kConcurrency_
protected

Definition at line 90 of file ifmap_config_listener.h.

ConfigManager* IFMapConfigListener::manager_
protected

Definition at line 86 of file ifmap_config_listener.h.

TableMap IFMapConfigListener::table_map_
protected

Definition at line 88 of file ifmap_config_listener.h.

boost::scoped_ptr<IFMapDependencyTracker> IFMapConfigListener::tracker_
protected

Definition at line 87 of file ifmap_config_listener.h.


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