#include <SamplerPtr.h>
Inheritance diagram for FastShower::SamplerPtr:
Public Methods | |
SamplerPtr (ISampler *s, std::string s="") | |
SamplerPtr (const SamplerPtr &) | |
SamplerPtr & | operator= (const SamplerPtr &s) |
~SamplerPtr () | |
virtual ISampler * | clone () const |
make a copy of objects viewed through ISampler interface. | |
virtual void | sample (const PolyArgs &, CoreSamples &) const |
virtual double | lastValue (const CoreSamples &cs) const |
read back last deposit - used by monitoring code. | |
virtual void | ping (IPinger &) const |
ping this object and its descendants | |
virtual void | components (IDebug::Cpts &) const |
Private Attributes | |
SP< ISampler > | m_pointee |
|
Definition at line 12 of file SamplerPtr.cxx. Referenced by clone().
|
|
Definition at line 15 of file SamplerPtr.cxx. References m_pointee.
|
|
Definition at line 40 of file SamplerPtr.h.
00040 {}; |
|
Definition at line 18 of file SamplerPtr.cxx. References m_pointee.
00018 { 00019 00020 if (this == &rhs ) return *this; 00021 00022 ISampler::operator=(rhs); 00023 DebugBase::operator=(rhs); 00024 m_pointee = rhs.m_pointee; 00025 00026 return *this; 00027 } |
|
make a copy of objects viewed through ISampler interface.
Implements FastShower::ISampler. Definition at line 38 of file SamplerPtr.cxx. References SamplerPtr().
00038 { 00039 ISampler* spPtr = new SamplerPtr(*this); 00040 return spPtr; 00041 } |
|
record tvisit top this sampler Implements FastShower::ISampler. Definition at line 28 of file SamplerPtr.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 34 of file SamplerPtr.cxx. References m_pointee.
00034 { 00035 return m_pointee->lastValue(cs); 00036 } |
|
ping this object and its descendants
Reimplemented from FastShower::DebugBase. Definition at line 42 of file SamplerPtr.cxx.
00042 {DebugBase::ping(p);} |
|
Reimplemented from FastShower::DebugBase. Definition at line 43 of file SamplerPtr.cxx.
00043 { 00044 m_pointee->components(v); 00045 } |
|
Definition at line 55 of file SamplerPtr.h. Referenced by lastValue(), operator=(), and SamplerPtr(). |