#include <CdbBdbEnvProxy.hh>
Inheritance diagram for CdbBdbEnvProxy< T, P >:

Public Member Functions | |
| CdbBdbEnvProxy (const char *theDetectorName, const char *theConditionName, BdbCondDefStrategy *theStrategy=0) | |
| The normal and default constructor. | |
| virtual | ~CdbBdbEnvProxy () |
| The destructor. | |
Protected Member Functions | |
| virtual T * | redefinedFaultHandler (const std::vector< CdbBdbProxyElement > &listOfElements) |
| The redefined fault handler. | |
Class CdbBdbEnvProxy
This is a straightforward 1-to-1 proxy implementation assuming that there is a simple conversion from a persistent class to a transient one.
The proxy class is parametrized by mean of two template parameters:
T - is a transient class representing a proxy product P - a persistent class representing a data source
In order to do the "persistent-to-transient" conversion the persistent class 'P' is expected to expose the following minimal interface:
class P : public ... BdbObject { public: T* transient( ) const; };
Comments:
Any incompatibility will be catched during template instantiation time.
Definition at line 48 of file CdbBdbEnvProxy.hh.
|
||||||||||||||||||||
|
The normal and default constructor. The only optional argument of the constructor takes the strategy object for locating GenEnv parameters. If 0 pointer is passed then a default strategy will be enforced. Note, that the ownreship of the strategy object is also passed to the constructor. Definition at line 22 of file CdbBdbEnvProxy.cc. References CdbBdbProxyCache::subscribeCondition(). |
|
|||||||||
|
The destructor.
Definition at line 41 of file CdbBdbEnvProxy.cc. |
|
||||||||||
|
The redefined fault handler. Implements the method of a base class.
Implements CdbBdbProxyBase< T >. Definition at line 46 of file CdbBdbEnvProxy.cc. References BdbRef(), and CdbTimeUtils::time2string(). |
1.3-rc3