- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# ModuleManager Class Reference

Head class of modular system. More...

`#include <modulemanager.h>`

Inheritance diagram for ModuleManager:

List of all members.

## Public Member Functions

const_iterator | begin () const
const_iterator | end () const
const char * | getType () const
| Return type of class.
Ptr< TkGui > & | getGui ()
| return reference to gui
| ModuleManager (ModuleType *types[], Ptr< TkGui > &gui)
| ctor
Ptr< IModule > & | getModule (const string &instanceName)
| return module of given instance name or empty instance
Ptr< ModuleType > & | getModuleType (const string &type)
| return module type of given name
void | sendToAll (TObject *mesg)
| send message to all module instances (broadcast)

## Static Public Attributes

static Ptr< ModuleManager > | manager
| Hold reference to self.

## Detailed Description

Head class of modular system.

Hold module types (algorithm types), provides methods to access them; also contains methods to send messages.

Date:
  01-29-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

ModuleManager::ModuleManager | ( | ModuleType * | types[],
|  | Ptr< TkGui > & | gui
| ) |

| ctor

Parameters:

  | types[] | module types to array, last element MUST be NULL
  | gui | reference to gui

## Member Function Documentation

ModuleManager::const_iterator ModuleManager::begin | ( |  | ) | const

Returns:
  const_iterator to begining of module type's list

ModuleManager::const_iterator ModuleManager::end | ( |  | ) | const

Returns:
  const_iterator to ending of module type's list

Ptr<TkGui>& ModuleManager::getGui | ( |  | ) | `[inline]`

| return reference to gui

Returns:
  reference to gui

Ptr< IModule > & ModuleManager::getModule | ( | const string & | instanceName | ) |

| return module of given instance name or empty instance

Parameters:

  | instanceName | name of instance

Returns:
  reference to module instance

Ptr< ModuleType > & ModuleManager::getModuleType | ( | const string & | type | ) |

| return module type of given name

Parameters:

  | type | name of module type

Returns:
  reference to module type

const char * ModuleManager::getType | ( |  | ) | const`[virtual]`

| Return type of class.

Returns:
  type of class

Reimplemented from TObject.

void ModuleManager::sendToAll | ( | TObject * | mesg | ) |

| send message to all module instances (broadcast)

Parameters:

  | mesg | message

## Member Data Documentation

Ptr< ModuleManager > ModuleManager::manager`[static]`

| Hold reference to self. Currently, there is only one modular manager. Can change in future.

The documentation for this class was generated from the following files:

- H:/projs/dotNET/eda/src/modulemanager/modulemanager.h
- H:/projs/dotNET/eda/src/modulemanager/modulemanager.cpp