Pulsar::HasChannels Class Referenceabstract

Archive extensions that contain information for each frequency channel. More...

#include <HasChannels.h>

Inheritance diagram for Pulsar::HasChannels:
Pulsar::Archive::Extension Reference::Able Reference::HeapTracked Pulsar::CalibratorExtension Pulsar::CalibratorStokes Pulsar::FluxCalibratorExtension Pulsar::PolnCalibratorExtension

Public Member Functions

 HasChannels (const char *name)
 
virtual void set_nchan (unsigned nchan)=0
 Set the number of frequency channels.
 
virtual unsigned get_nchan () const =0
 Get the number of frequency channels.
 
virtual void remove_chan (unsigned first, unsigned last)=0
 Remove the inclusive range of channels.
 
- Public Member Functions inherited from Pulsar::Archive::Extension
 Extension (const char *name)
 Construct with a name.
 
virtual ~Extension ()
 Destructor.
 
virtual Extensionclone () const =0
 Return a new copy-constructed instance identical to this instance.
 
virtual TextInterface::Parserget_interface ()
 Return a text interface that can be used to access this instance.
 
std::string get_extension_name () const
 Return the name of the Extension.
 
virtual std::string get_short_name () const
 Return an abbreviated name that can be typed relatively quickly.
 
virtual bool has_data () const
 Returns true if the Extension contains useful data.
 
virtual void resize (unsigned nsubint, unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Resize the Extension.
 
virtual void frequency_append (Archive *to, const Archive *from)
 Append data along frequency dimension, if applicable.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Pulsar::Archive::Extension
static Extensionfactory (const std::string &name)
 Derived type factory.
 
- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 
- Protected Attributes inherited from Pulsar::Archive::Extension
std::string extension_name
 Extension name - useful when debugging.
 

Detailed Description

Archive extensions that contain information for each frequency channel.

The number of channels should match those of each Integration and other HasChannel extensions.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17