#include <Topology_Loader.h>
Inheritance diagram for TAO_Notify::Topology_Loader:
Public Member Functions | |
Topology_Loader () | |
The constructor. | |
virtual | ~Topology_Loader () |
The destructor. | |
virtual void | load (Topology_Object *root)=0 |
Begin the restore process. | |
virtual void | close () |
Close the loader after loading is complete. |
A persistent store must provide an implemention this interface.
Definition at line 47 of file Topology_Loader.h.
|
The constructor.
Definition at line 7 of file Topology_Loader.cpp.
00008 { 00009 } |
|
The destructor.
Definition at line 11 of file Topology_Loader.cpp.
00012 { 00013 } |
|
Close the loader after loading is complete. This is not pure virtual because some loaders may not need to be closed. The default implementation does nothing. There should be a corresponding open, but the signature may vary based on the type of loader, so we can't include it in the interface. Definition at line 16 of file Topology_Loader.cpp.
00017 { 00018 } |
|
Begin the restore process. Call this function to start the reload of data from a persistent store. When the Topology_Loader detects a child object, it should call the load_child method of the object passed in, then do the same loading process on the returned object. Implemented in TAO_Notify::XML_Loader. |