anatomist  5.1.2
3D neuroimaging data viewer
anatomist::ModuleManager Class Reference

Manage Anatomist modules. More...

#include "anatomist/application/module.h"

Public Types

typedef std::list< Module * >::iterator iterator
 
typedef std::list< Module * >::const_iterator const_iterator
 
typedef std::list< Module * >::reverse_iterator reverse_iterator
 
typedef std::list< Module * >::const_reverse_iterator const_reverse_iterator
 
typedef std::list< Module * >::size_type size_type
 

Public Member Functions

 ~ModuleManager ()
 
iterator begin ()
 
iterator end ()
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
bool empty () const
 
size_type size () const
 

Static Public Member Functions

static ModuleManagerinstance ()
 
static void shutdown ()
 delete the module manager More...
 

Protected Member Functions

void insert (Module *m)
 
void remove (Module *m)
 

Friends

class Module
 

Detailed Description

Manage Anatomist modules.

The ModuleManager maintains a list of the Modules loaded by the application.

See also
anatomist::Module anatomist::ModuleObserver

Definition at line 70 of file module.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 76 of file module.h.

◆ const_reverse_iterator

◆ iterator

Definition at line 75 of file module.h.

◆ reverse_iterator

Definition at line 77 of file module.h.

◆ size_type

Definition at line 79 of file module.h.

Constructor & Destructor Documentation

◆ ~ModuleManager()

anatomist::ModuleManager::~ModuleManager ( )

Member Function Documentation

◆ begin()

iterator anatomist::ModuleManager::begin ( )
inline

Definition at line 81 of file module.h.

◆ empty()

bool anatomist::ModuleManager::empty ( ) const
inline

Definition at line 85 of file module.h.

◆ end()

iterator anatomist::ModuleManager::end ( )
inline

Definition at line 82 of file module.h.

◆ insert()

void anatomist::ModuleManager::insert ( Module m)
inlineprotected

Definition at line 92 of file module.h.

◆ instance()

static ModuleManager* anatomist::ModuleManager::instance ( )
static

◆ rbegin()

reverse_iterator anatomist::ModuleManager::rbegin ( )
inline

Definition at line 83 of file module.h.

◆ remove()

void anatomist::ModuleManager::remove ( Module m)
inlineprotected

Definition at line 93 of file module.h.

◆ rend()

reverse_iterator anatomist::ModuleManager::rend ( )
inline

Definition at line 84 of file module.h.

◆ shutdown()

static void anatomist::ModuleManager::shutdown ( )
static

delete the module manager

◆ size()

size_type anatomist::ModuleManager::size ( ) const
inline

Definition at line 86 of file module.h.

Friends And Related Function Documentation

◆ Module

friend class Module
friend

Definition at line 72 of file module.h.


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