Pulsar::WeightInterpreter Class Reference

Interprets configuration strings into a weighting policy. More...

#include <WeightInterpreter.h>

Inherits CommandParser.

Public Types

typedef Functor< void(Integration *) > Policy
 

Public Member Functions

 WeightInterpreter (Policy &)
 Construct with reference to the policy to be modified.
 
std::string radiometer (const std::string &args)
 Install the RadiometerWeight policy.
 
std::string time (const std::string &args)
 Install the DurationWeight policy.
 
std::string snr (const std::string &args)
 Install the SNRWeight policy.
 
std::string none (const std::string &args)
 Disable weighting.
 
std::string empty ()
 Return the configuration string of the current weighting policy.
 

Protected Attributes

Policy radiometer_functor
 The radiometer equation weighting policy.
 
Policy time_functor
 The duration weighting policy.
 
Policy snr_functor
 The snr weighting policy.
 
Policypolicy
 The policy to be modified.
 

Detailed Description

Interprets configuration strings into a weighting policy.


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

Generated using doxygen 1.8.17