Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dmn::ModuleIO Class Reference

Open/Close modules. More...

#include <moduleio.h>

Collaboration diagram for dmn::ModuleIO:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModuleIO ()
 Constructor.

 ModuleIO (const std::string &path)
 Constructor.

 ~ModuleIO ()
 Destructor.

Moduleopen (const std::string &path)
 Open the module.

void close ()
 Close the module.

const std::string path () const
 Path to the module opened.

Modulemodule () const
 Module opened.


Detailed Description

Open/Close modules.


Constructor & Destructor Documentation

dmn::ModuleIO::ModuleIO const std::string &  path  ) 
 

Constructor.

Open the module

Parameters:
path path to the module


Member Function Documentation

void dmn::ModuleIO::close  ) 
 

Close the module.

Only must be called when the module won't be

Module* dmn::ModuleIO::module  )  const
 

Module opened.

Returns:
the module

Module* dmn::ModuleIO::open const std::string &  path  ) 
 

Open the module.

If a previous module is opened, it closes it before open the new one

Parameters:
path path to the module
Returns:
the pointer to the module or NULL if a error happen

const std::string dmn::ModuleIO::path  )  const
 

Path to the module opened.

Returns:
the path to the module


The documentation for this class was generated from the following file:
Generated on Fri Dec 26 22:56:01 2003 for dmn by doxygen 1.3.4