#include <CdbEnvProxy.hh>
Inheritance diagram for CdbEnvProxy< T >:

Public Member Functions | |
| CdbEnvProxy (const char *theDetectorName, const char *theConditionName, CdbDefStrategy *theStrategy=0) | |
| The normal and default constructor. | |
| virtual | ~CdbEnvProxy () |
| The destructor. | |
Protected Member Functions | |
| virtual T * | redefinedFaultHandler (const std::vector< CdbProxyElement > &listOfElements) |
| The redefined fault handler. | |
This is a straightforward 1-to-1 proxy implementation assuming that there is a simple translation from a persistent class to a transient one.
The proxy class is parametrized by mean of one template parameter:
T - is a transient class representing a proxy product
This proxy is using the "persistent-to-transient" translation facility of the CDB API in order to get the transient product. The corresponding converter must be registered with a CDB API implementation used in an application context where an instance of the current proxy is being used.
Definition at line 27 of file CdbEnvProxy.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 CdbEnvProxy.cc. References CdbProxyCache::subscribeCondition(). |
|
|||||||||
|
The destructor.
Definition at line 41 of file CdbEnvProxy.cc. |
|
||||||||||
|
The redefined fault handler. Implements the method of a base class.
Implements CdbProxyBase< T >. Definition at line 46 of file CdbEnvProxy.cc. References CdbCPtr< CdbObject, CdbDoNotClosePolicy< CdbObject > >::isNull(), CdbStatus::Success, CdbTimeUtils::time2string(), and CdbObject::transient(). |
1.3-rc3