![]() |
ATLAS Offline Software
|
#include <SurfaceHolderImpl.h>
Public Member Functions | |
| SurfacePtrHolderImplDetEl ()=default | |
| default ctor More... | |
| SurfacePtrHolderImplDetEl (const S &s) | |
| ctor from const Surface ref. More... | |
| SurfacePtrHolderImplDetEl (const S *s) | |
| ctor from const Surface ptr. Takes ownership More... | |
| SurfacePtrHolderImplDetEl (const SurfacePtrHolderImplDetEl &other) | |
| copy ctor More... | |
| SurfacePtrHolderImplDetEl (SurfacePtrHolderImplDetEl &&other) noexcept | |
| Move constructor we just steal the resource and leave other to point to nullptr. More... | |
| SurfacePtrHolderImplDetEl & | operator= (const SurfacePtrHolderImplDetEl &other) |
| copy assingmemnt if surface is free we clone/copy. More... | |
| SurfacePtrHolderImplDetEl & | operator= (SurfacePtrHolderImplDetEl &&other) noexcept |
| Move assignement we just steal the resource and leave other to point to nullptr. More... | |
| const S * | surfacePtr () |
| return the ptr we hold useful for tests More... | |
| const S * | release () noexcept |
| release ala unique_ptr release More... | |
| void | destroySurface () noexcept |
| destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing More... | |
Static Public Member Functions | |
| static const S * | cloneHelper (const S *input) |
| Helper for cloning or not when we need depending on if we have an associatedDetectorElement. More... | |
Protected Member Functions | |
| ~SurfacePtrHolderImplDetEl () | |
Protected Attributes | |
| const S * | m_associatedSurface = nullptr |
Definition at line 141 of file SurfaceHolderImpl.h.
|
default |
default ctor
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlinenoexcept |
Move constructor we just steal the resource and leave other to point to nullptr.
Definition at line 161 of file SurfaceHolderImpl.h.
|
inlineprotected |
Definition at line 224 of file SurfaceHolderImpl.h.
|
inlinestatic |
Helper for cloning or not when we need depending on if we have an associatedDetectorElement.
Definition at line 213 of file SurfaceHolderImpl.h.
|
inlinenoexcept |
destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing
Definition at line 201 of file SurfaceHolderImpl.h.
|
inline |
copy assingmemnt if surface is free we clone/copy.
If not we just point to the one owned by detector geometry
Definition at line 169 of file SurfaceHolderImpl.h.
|
inlinenoexcept |
Move assignement we just steal the resource and leave other to point to nullptr.
Definition at line 179 of file SurfaceHolderImpl.h.
|
inlinenoexcept |
|
inline |
|
protected |
Definition at line 221 of file SurfaceHolderImpl.h.
1.8.18