#include <dataManager.h>
Inheritance diagram for dataManager:
Public Methods | |
dataManager () | |
constructor - construct the servers. | |
virtual | ~dataManager () |
destructor. More... | |
template<class T> T* | getData (std::string name, const T* dummy = 0) const |
returns the class derived from trsDataVI. More... | |
dataEventServer* | evt () const |
returns pointer to te dataEventServer. | |
dataDetectorServer* | det () const |
returns pointer to the dataDetectorServer. | |
dataIOServer* | IO () const |
returns pointer to the persistency data. | |
detectorGeo* | geo () const |
returns the pointer to the detector geometry in dataDetectorServer. | |
virtual void | writeOut () const |
write out information of the data servers. | |
Static Public Methods | |
dataManager* | instance () |
Singleton: pointer to itself. | |
Protected Methods | |
virtual trsDataVI* | getTrsData (std::string name) const |
returns the trsData with that name in the servers. | |
Private Attributes | |
dataEventServer* | m_evt |
pointer to event data. | |
dataDetectorServer* | m_det |
pointer to detector data. | |
dataIOServer* | m_IO |
pointer to persistent data. | |
Static Private Attributes | |
dataManager* | m_instance = 0 |
Singleton: pointer to itself. |
det()
method returns a pointer to dataDetectorServer). evt()
method retruns a pointer to dataEventServer. IO()
method returns a pointer to the persistent data. getData()
method. update()
method, update any transient data.
Definition at line 43 of file dataManager.h.
|
|
destructor.
set the data manager into the system servers
Definition at line 33 of file dataManager.cpp.
|
|
|
|
returns the pointer to the detector geometry in dataDetectorServer.
Definition at line 72 of file dataManager.h.
|
returns the class derived from trsDataVI.
The pointer to a dummy class of the derived type is needed in order to identify the template. JAH errors with dinamic_cast.
Definition at line 59 of file dataManager.h.
|
|
|
write out information of the data servers.
Reimplemented from messageVI.
Definition at line 50 of file dataManager.cpp.
|
|
|
|