Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TAO_Notify::Topology_Loader Class Reference

An interface for an object that loads Persistent Topology Information. More...

#include <Topology_Loader.h>

Inheritance diagram for TAO_Notify::Topology_Loader:

Inheritance graph
List of all members.

Public Member Functions

 Topology_Loader ()
 The constructor.
virtual ~Topology_Loader ()
 The destructor.
virtual void load (Topology_Object *root ACE_ENV_ARG_DECL)=0
 Begin the restore process.
virtual void close (ACE_ENV_SINGLE_ARG_DECL)
 Close the loader after loading is complete.

Detailed Description

An interface for an object that loads Persistent Topology Information.

A persistent store must provide an implemention this interface.

Constructor & Destructor Documentation

TAO_Notify::Topology_Loader::Topology_Loader  ) 

The constructor.

TAO_Notify::Topology_Loader::~Topology_Loader  )  [virtual]

The destructor.

Member Function Documentation

void TAO_Notify::Topology_Loader::close ACE_ENV_SINGLE_ARG_DECL   )  [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.

virtual void TAO_Notify::Topology_Loader::load Topology_Object *root  ACE_ENV_ARG_DECL  )  [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.

The documentation for this class was generated from the following files:
Generated on Sun May 15 13:28:17 2005 for TAO_CosNotification by  doxygen