DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Implementation class for the object extension mechanism. More...
#include <ExtensionEntry.h>
Public Member Functions | |
CopyDeleteExtension ()=delete | |
Default constructor. More... | |
CopyDeleteExtension (T *p) | |
Initializing constructor. More... | |
CopyDeleteExtension (const CopyDeleteExtension ©)=default | |
Copy constructor. More... | |
virtual | ~CopyDeleteExtension ()=default |
Default destructor. More... | |
CopyDeleteExtension & | operator= (const CopyDeleteExtension ©)=default |
Assignment operator. More... | |
virtual void * | copy (void *) const override |
Virtual object copy operator. More... | |
virtual void | destruct () const override |
Virtual object destructor. More... | |
virtual void * | object () const override |
Virtual object accessor. More... | |
virtual ExtensionEntry * | clone (void *arg) const override |
Virtual entry clone function. More... | |
virtual unsigned long long int | hash64 () const override |
Hash value. More... | |
Public Member Functions inherited from dd4hep::ExtensionEntry | |
virtual | ~ExtensionEntry ()=default |
Default destructor. More... | |
void | invalidCall (const char *tag) const |
Callback on invalid call invokation. More... | |
Protected Attributes | |
T * | ptr = 0 |
Q * | iface = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from dd4hep::ExtensionEntry | |
ExtensionEntry ()=default | |
Default constructor. More... | |
ExtensionEntry (const ExtensionEntry ©)=default | |
Copy constructor. More... | |
Implementation class for the object extension mechanism.
This implementation class supports the object extension mechanism for dd4hep. It is ensured, that on the object destruction or on request the reference to the user object may be destructed.
Note: User object must be taken from the heap using "new". Note: The double-template implementation is necessary to support extensions using a virtual inheritance relationship between the interface and the concrete implementation of the extension object.
Definition at line 168 of file ExtensionEntry.h.
|
delete |
Default constructor.
|
inline |
Initializing constructor.
Definition at line 176 of file ExtensionEntry.h.
|
default |
Copy constructor.
|
virtualdefault |
Default destructor.
|
inlineoverridevirtual |
Virtual entry clone function.
Implements dd4hep::ExtensionEntry.
Definition at line 191 of file ExtensionEntry.h.
|
inlineoverridevirtual |
Virtual object copy operator.
Implements dd4hep::ExtensionEntry.
Definition at line 184 of file ExtensionEntry.h.
|
inlineoverridevirtual |
Virtual object destructor.
Implements dd4hep::ExtensionEntry.
Definition at line 186 of file ExtensionEntry.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Virtual object accessor.
Implements dd4hep::ExtensionEntry.
Definition at line 188 of file ExtensionEntry.h.
|
default |
Assignment operator.
|
mutableprotected |
Definition at line 171 of file ExtensionEntry.h.
|
protected |
Definition at line 170 of file ExtensionEntry.h.