9 #ifndef __dsp_dspExtension_h
10 #define __dsp_dspExtension_h
12 #include "Reference.h"
30 std::string get_name() const { return name; }
45 template< class ExtensionType> ExtensionType* get();
48 template< class ExtensionType> const ExtensionType* get() const;
52 template< class ExtensionType> ExtensionType* getadd();
58 unsigned get_nextension () const;
69 std::vector<Reference::To<dspExtension> > extension;
76 T* dsp::Extensions::get()
78 for( unsigned i=0; i<extension.size(); i++){
79 T* ret = dynamic_cast<T* >(extension[i].get());
88 const T* dsp::Extensions::get() const
90 for( unsigned i=0; i<extension.size(); i++){
91 const T* ret = dynamic_cast<const T* >(extension[i].get());
103 T* dsp::Extensions::getadd()
Contains all Baseband Data Reduction Library classes. Definition: ASCIIObservation.h:17
virtual dspExtension * clone() const =0 Return a new copy-constructed instance identical to this instance.
static bool verbose Verbosity flag. Definition: Observation.h:39
void set_verbosity(unsigned level) Set the verbosity level of various base classes. Definition: dsp_verbosity.C:13
Extensions that can be added to the Extensions class. Definition: dspExtension.h:23
dspExtension(const std::string &name) Constructor. Definition: dspExtension.C:14
static bool verbose Global verbosity flag. Definition: Operation.h:48
std::string get_name() const Delete this if dspExtension inherits from Printable. Definition: dspExtension.h:40
Generated using doxygen 1.8.17
|