Pulsar::Archive::Expert Class Reference

Provides access to private and protected member of Archive. More...

#include <ArchiveExpert.h>

Inheritance diagram for Pulsar::Archive::Expert:
Pulsar::IntegrationManager::Expert Reference::Able Reference::HeapTracked

Public Member Functions

 Expert (Archive *inst)
 
void set_nbin (unsigned numbins)
 Set the number of pulsar phase bins.
 
void set_nchan (unsigned numchan)
 Set the number of frequency channels.
 
void set_npol (unsigned numpol)
 Set the number of polarization measurements.
 
Integrationload_Integration (const char *filename, unsigned subint)
 Load the specified Integration from filename, returning new instance.
 
void init_Integration (Integration *subint)
 Initialize an Integration to reflect Archive attributes.
 
void resize_Integration (Integration *integration)
 Provide Integration::resize access to Archive-derived classes.
 
void apply_model (Integration *subint, const Predictor *old=0)
 Apply the current model to the Integration.
 
void update_model (const MJD &mjd)
 Update the model.
 
void update_model (unsigned old_nsubint)
 Update the predictor model and correct the Integration set.
 
Predictorget_model ()
 Return a non-const pointer to the current phase predictor.
 
bool zero_phase_aligned () const
 Return true if all Integration::zero_phase_aligned flags are set.
 
void correct ()
 Perform all of the corrections defined in Base/Checks/Check_registry.C.
 
- Public Member Functions inherited from Pulsar::IntegrationManager::Expert
 Expert (IntegrationManager *inst)
 
void append (const IntegrationManager *more_subints)
 Append new_Integration copies of Integration objects to instance.
 
void manage (IntegrationManager *more_subints)
 Append use_Integration modified Integration objects to instance.
 
void manage (Integration *integration)
 Directly append the Integration to instance (no copy)
 
void insert (unsigned isubint, Integration *integration)
 Insert the Integration instance into the specified location.
 
template<class StrictWeakOrdering >
void sort (StrictWeakOrdering comp)
 Sort the Integrations according to the specified order.
 
void sort ()
 
unsigned get_size () const
 Return the size of the subints vector.
 
- 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
 

Static Public Member Functions

static void get_agent_list (std::vector< std::pair< std::string, std::string > > &details)
 Get agent list.
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Provides access to private and protected member of Archive.

Some methods of the Archive class are protected or private only so that they may not be naively called. This class provides access to developers without the need to:

  • unprotect methods, or
  • make friends with every class or function that requires access

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

Generated using doxygen 1.8.17