![]() |
ATLAS Offline Software
|
#include <AthTPCnvSvc.h>
Public Member Functions | |
| AthTPCnvSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual | ~AthTPCnvSvc () override |
| Destructor: | |
| virtual ITPCnvBase * | load_tpcnv (const std::string &cls) override |
| load the T/P converter class named cls return NULL on failure. | |
| virtual ITPCnvBase * | t2p_cnv (const std::string &transClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena) override |
| return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer | |
| virtual ITPCnvBase * | t2p_cnv (const CLID &transClid, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena) override |
| return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer | |
| virtual ITPCnvBase * | p2t_cnv (const std::string &persClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena) override |
| return the T/P converter for a persistent class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer | |
| virtual std::unique_ptr< ITPCnvBase > | t2p_cnv_unique (const std::string &transClassName) const override |
| return the T/P converter for a transient class (NULL if failure) Ownership is returned to the caller. | |
| virtual std::unique_ptr< ITPCnvBase > | t2p_cnv_unique (const CLID transClid) const override |
| Return the T/P converter for a transient class. | |
Private Types | |
| typedef std::vector< std::unique_ptr< ITPCnvBase > > | TpCnvs_t |
Private Member Functions | |
| AthTPCnvSvc () | |
| Default constructor: | |
Private Attributes | |
| ServiceHandle< IClassIDSvc > | m_clidSvc |
handle to a IClassIDSvc to handle loading of types by CLID | |
| TpCnvs_t | m_cnvs |
| a registry of ITPCnvBase* instances | |
| std::mutex | m_mutex |
Definition at line 30 of file AthTPCnvSvc.h.
|
private |
Definition at line 108 of file AthTPCnvSvc.h.
| AthTPCnvSvc::AthTPCnvSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters:
Definition at line 35 of file AthTPCnvSvc.cxx.
|
overridevirtual |
|
private |
Default constructor:
|
overridevirtual |
load the T/P converter class named cls return NULL on failure.
the converter is OWNED by the T/P converter service
Definition at line 54 of file AthTPCnvSvc.cxx.
|
overridevirtual |
return the T/P converter for a persistent class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
Definition at line 130 of file AthTPCnvSvc.cxx.
|
overridevirtual |
return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
Definition at line 94 of file AthTPCnvSvc.cxx.
|
overridevirtual |
return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
Definition at line 72 of file AthTPCnvSvc.cxx.
|
overridevirtual |
Return the T/P converter for a transient class.
Returns null on failure (with no warning printed). Ownership is returned to the caller.
Definition at line 163 of file AthTPCnvSvc.cxx.
|
overridevirtual |
return the T/P converter for a transient class (NULL if failure) Ownership is returned to the caller.
Return the T/P converter for a transient class.
Ownership is returned to the caller.
Definition at line 152 of file AthTPCnvSvc.cxx.
|
private |
handle to a IClassIDSvc to handle loading of types by CLID
Definition at line 106 of file AthTPCnvSvc.h.
|
private |
a registry of ITPCnvBase* instances
Definition at line 111 of file AthTPCnvSvc.h.
|
mutableprivate |
Definition at line 114 of file AthTPCnvSvc.h.