#include <emcOMGeometryT.h>
Inherits emcObjectManager.
Inheritance diagram for emcOMGeometryT< BM >:
Definition at line 22 of file emcOMGeometryT.h.
Public Member Functions | |
emcOMGeometryT (const char *name="", const char *title="") | |
virtual | ~emcOMGeometryT () |
virtual bool | CanCollect (const emcManageable &object) const |
Can we collect such object ? | |
virtual bool | CanWrite (const emcManageable &object) const |
Can we write a given object type ? | |
virtual bool | CanRead (const emcManageable &object) const |
Can we read a given object type ? | |
virtual emcManageable * | Collect (const emcManageable &object, const PHTimeStamp &when) |
Collect a manageable from the DB. | |
virtual bool | Read (emcManageable &object, const PHTimeStamp &time_stamp, int id) |
Read a manageable object from the DB. | |
virtual void | Reset (void) |
Reset the OM. | |
virtual bool | Write (const emcManageable &object, const PHTimeStamp &tStart, int id=-1) |
Write a manageable object to the DB. | |
Private Attributes | |
emcGeometry * | fGeometry |
BM * | fBM |
Classes | |
class | changeName |
|
Definition at line 118 of file emcOMGeometryT.h. |
|
Definition at line 127 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::Reset(). |
|
Can we collect such object ?
Reimplemented from emcObjectManager. Definition at line 136 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::CanRead(). |
|
Can we read a given object type ?
Reimplemented from emcObjectManager. Definition at line 168 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::fBM, and emcManageable::GetSource(). Referenced by emcOMGeometryT< BM >::CanCollect(). |
|
Can we write a given object type ?
Reimplemented from emcObjectManager. Definition at line 145 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::fBM, and emcManageable::GetDestination(). |
|
Collect a manageable from the DB. \ See the DM interface for parameters.\ Unless allowed explicitely by a particular Object Manager,\ in general the returned pointer { should not be deleted} by\ the receiver ! Reimplemented from emcObjectManager. Definition at line 191 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::fGeometry, and emcGeometry::IsValid(). |
|
Read a manageable object from the DB. \ See the DM interface for parameters. Implements emcObjectManager. Definition at line 222 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::fBM, emcGeometry::GetCategory(), emcGeometry::MaxNumberOfSectors(), name, and emcGeometry::Reset(). |
|
Reset the OM. \ After a call to Reset, the OM must behave as if it was newly created. Implements emcObjectManager. Definition at line 307 of file emcOMGeometryT.h. References emcOMGeometryT< BM >::fGeometry. Referenced by emcOMGeometryT< BM >::~emcOMGeometryT(). |
|
Write a manageable object to the DB. See the DM interface for parameters. Implements emcObjectManager. Definition at line 316 of file emcOMGeometryT.h. References emcObjectManager::DM(), emcOMGeometryT< BM >::fBM, and name. |
|
Definition at line 72 of file emcOMGeometryT.h. Referenced by emcOMGeometryT< BM >::CanRead(), emcOMGeometryT< BM >::CanWrite(), emcOMGeometryT< BM >::Read(), and emcOMGeometryT< BM >::Write(). |
|
Definition at line 71 of file emcOMGeometryT.h. Referenced by emcOMGeometryT< BM >::Collect(), and emcOMGeometryT< BM >::Reset(). |