Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

selectionManager Class Reference

stores, servers and applies the system and user defined cuts. More...

#include <selectionManager.h>

Inheritance diagram for selectionManager:

serviceI messageVI optionVI nameVI nameVI List of all members.

Public Methods

 selectionManager ()
 default constructor - constructs the cutUserServer.

virtual ~selectionManager ()
 destructor. More...

bool apply (std::string name)
 apply the named cutVI.

cutVIgetCut (std::string name) const
 returns a named cutVI.

void addCut (std::string name, cutVI* cut)
 add a cut into the server.

cutCompositegetCutComposite (std::string name)
 returns a cutComposite.

cutSelectionTaskgetCutSelectionTask (std::string name) const
 returns a named cutSelectionTask.

void addCutSelectionTask (std::string name, cutSelectionTask* sel)
 add a cutSelectionTask into the server.

virtual void writeOut () const
 info of the manager. More...


Static Public Methods

selectionManager* instance ()
 Singleton: returns the Manager.


Protected Methods

virtual void defineOption ()
 define the options optionVI.

virtual void setOption (std::string selectionName, std::string cutName)
 the User define the selections (cutComposite) via optionVI.


Private Attributes

serverVI<cutVI>* m_serverCut
 Pointer to the user defined cut in the Server.

serverVI<cutSelectionTask>* m_serverSelection
 Pointer to the selections in the Server.

std::string m_selName
 dummy string for the options.


Static Private Attributes

selectionManager* m_instance = 0
 Singleton: pointer to the class.


Detailed Description

stores, servers and applies the system and user defined cuts.

selectionManager stores the system and user defined cuts.
selectionManager returns the cuts and cutComposite via the getCut() method and getCutComposite() methods
selectionManager applies a cut via its apply() method.
General features:

Centella features:

Definition at line 59 of file selectionManager.h.


Constructor & Destructor Documentation

selectionManager::selectionManager ( )

default constructor - constructs the cutUserServer.

Definition at line 12 of file selectionManager.cpp.

selectionManager::~selectionManager ( ) [inline, virtual]

destructor.

userCuts add the User cuts into ther server

Definition at line 41 of file selectionManager.cpp.


Member Function Documentation

void selectionManager::addCut ( std::string name,
cutVI * cut )

add a cut into the server.

Definition at line 65 of file selectionManager.cpp.

void selectionManager::addCutSelectionTask ( std::string name,
cutSelectionTask * sel )

add a cutSelectionTask into the server.

Definition at line 72 of file selectionManager.cpp.

bool selectionManager::apply ( std::string name ) [inline]

apply the named cutVI.

Definition at line 74 of file selectionManager.h.

void selectionManager::defineOption ( ) [inline, protected, virtual]

define the options optionVI.

Reimplemented from optionVI.

Definition at line 93 of file selectionManager.cpp.

cutVI * selectionManager::getCut ( std::string name ) const

returns a named cutVI.

Definition at line 49 of file selectionManager.cpp.

cutComposite * selectionManager::getCutComposite ( std::string name ) [inline]

returns a cutComposite.

Definition at line 82 of file selectionManager.h.

cutSelectionTask * selectionManager::getCutSelectionTask ( std::string name ) const

returns a named cutSelectionTask.

Definition at line 57 of file selectionManager.cpp.

selectionManager * selectionManager::instance ( ) [inline, static]

Singleton: returns the Manager.

Definition at line 71 of file selectionManager.h.

void selectionManager::setOption ( std::string selectionName,
std::string cutName ) [inline, protected, virtual]

the User define the selections (cutComposite) via optionVI.

Reimplemented from optionVI.

Definition at line 81 of file selectionManager.cpp.

void selectionManager::writeOut ( ) const [inline, virtual]

info of the manager.

newCutSelectionTask option will create a cutSelectionTask

Reimplemented from messageVI.

Definition at line 100 of file selectionManager.cpp.


Member Data Documentation

selectionManager * selectionManager::m_instance = 0 [static, private]

Singleton: pointer to the class.

Definition at line 103 of file selectionManager.h.

std::string selectionManager::m_selName [private]

dummy string for the options.

Definition at line 114 of file selectionManager.h.

serverVI<cutVI>* selectionManager::m_serverCut [private]

Pointer to the user defined cut in the Server.

Definition at line 106 of file selectionManager.h.

serverVI<cutSelectionTask>* selectionManager::m_serverSelection [private]

Pointer to the selections in the Server.

Definition at line 109 of file selectionManager.h.


The documentation for this class was generated from the following files:
Generated at Fri Aug 18 12:57:42 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000