![]() |
ATLAS Offline Software
|
#include <ParticleClipboard.h>
Public Member Functions | |
void | setParticle (const ISF::ISFParticle &p) |
save a particle on the clipboard More... | |
const ISF::ISFParticle * | getParticle () const |
get the particle from the clipboard More... | |
Static Public Member Functions | |
static ParticleClipboard & | getInstance () |
get the singleton instance More... | |
Private Member Functions | |
ParticleClipboard () | |
private constructor More... | |
ParticleClipboard (ParticleClipboard const &) | |
empty copy constructor More... | |
void | operator= (ParticleClipboard const &) |
empty assignemtn operator More... | |
Private Attributes | |
const ISFParticle * | m_particle |
the actual particle in the clipboard More... | |
This singleton is used to pass current particle information between different namespaces, ie functions.
Once going to multi-threading this will cause problems quite clearly since multiple threads will need individual clipboards. Therefore the use of this singleton needs to be replaced by properly propagating current particle information from one function to the next.
Definition at line 33 of file ParticleClipboard.h.
|
private |
|
private |
empty copy constructor
|
inlinestatic |
get the singleton instance
inline getInstance() method to retrieve the singleton
Definition at line 61 of file ParticleClipboard.h.
|
inline |
get the particle from the clipboard
inline getParticle() method to get a particle from the clipboard
Definition at line 72 of file ParticleClipboard.h.
|
private |
empty assignemtn operator
|
inline |
save a particle on the clipboard
inline setParticle() method to keep a particle on the clipboard
Definition at line 67 of file ParticleClipboard.h.
|
private |
the actual particle in the clipboard
Definition at line 53 of file ParticleClipboard.h.