TAO_CosNotification
2.4.1
|
An interface for an object that loads Persistent Topology Information. More...
#include <Topology_Loader.h>
Public Member Functions | |
Topology_Loader () | |
The constructor. More... | |
virtual | ~Topology_Loader () |
The destructor. More... | |
virtual void | load (Topology_Object *root)=0 |
Begin the restore process. More... | |
virtual void | close (void) |
Close the loader after loading is complete. More... | |
An interface for an object that loads Persistent Topology Information.
A persistent store must provide an implemention this interface.
TAO_Notify::Topology_Loader::Topology_Loader | ( | ) |
The constructor.
|
virtual |
The destructor.
|
virtual |
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.
|
pure virtual |
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.