|
OpenSDN source code
|
#include <sandesh_map.h>


Public Types | |
| typedef std::map< uint32_t, VlanMplsResource > | Map |
| typedef Map::iterator | MapIter |
Public Member Functions | |
| VlanMplsBackUpResourceTable (ResourceBackupManager *manager) | |
| virtual | ~VlanMplsBackUpResourceTable () |
| bool | WriteToFile () |
| void | ReadFromFile () |
| void | RestoreResource () |
| Map & | map () |
Public Member Functions inherited from BackUpResourceTable | |
| BackUpResourceTable (ResourceBackupManager *manager, const std::string &name, const std::string &file_name) | |
| virtual | ~BackUpResourceTable () |
| bool | TimerExpiry () |
| void | StartTimer () |
| ResourceBackupManager * | backup_manager () |
| Agent * | agent () |
| void | TriggerBackup () |
| bool | UpdateRequired () |
| void | EnqueueRestore (ResourceManager::KeyPtr key, ResourceManager::DataPtr data) |
| const std::string & | backup_dir () |
| const std::string & | file_name_str () |
| const std::string & | file_name_prefix () |
Private Attributes | |
| Map | map_ |
Additional Inherited Members | |
Static Public Member Functions inherited from BackUpResourceTable | |
| static const std::string | FindFile (const std::string &root, const std::string &file_ext) |
| static bool | CalculateHashSum (const std::string &file_name, uint32_t *hashsum) |
Static Public Attributes inherited from BackUpResourceTable | |
| static const uint8_t | kFallBackCount = 6 |
Protected Member Functions inherited from BackUpResourceTable | |
| template<typename T1 , typename T2 > | |
| bool | WriteMapToFile (T1 *sandesh_data, const T2 &index_map) |
| template<typename T > | |
| void | ReadMapFromFile (T *sandesh_data, const std::string &root) |
Protected Attributes inherited from BackUpResourceTable | |
| std::string | backup_dir_ |
Definition at line 83 of file sandesh_map.h.
| typedef std::map<uint32_t, VlanMplsResource> VlanMplsBackUpResourceTable::Map |
Definition at line 85 of file sandesh_map.h.
| typedef Map::iterator VlanMplsBackUpResourceTable::MapIter |
Definition at line 86 of file sandesh_map.h.
| VlanMplsBackUpResourceTable::VlanMplsBackUpResourceTable | ( | ResourceBackupManager * | manager | ) |
Definition at line 318 of file sandesh_map.cc.
|
virtual |
Definition at line 324 of file sandesh_map.cc.
|
inline |
Definition at line 93 of file sandesh_map.h.
|
virtual |
Implements BackUpResourceTable.
Definition at line 333 of file sandesh_map.cc.

|
virtual |
Implements BackUpResourceTable.
Definition at line 340 of file sandesh_map.cc.

|
virtual |
Implements BackUpResourceTable.
Definition at line 327 of file sandesh_map.cc.
|
private |
Definition at line 95 of file sandesh_map.h.