casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::FlagActionUtil Class Reference

FlagActionUtil is a set of flagging methods that are accessed from multiple classes. More...

#include <FlagActionUtil.h>

Inheritance diagram for casa::FlagActionUtil:
casa::ActionFlagAll casa::ActionSelect casa::ActionLocate casa::ActionSelectFlag casa::ActionSelectUnflag

Public Member Functions

 FlagActionUtil ()
 constructor More...
 
virtual ~FlagActionUtil ()
 destructor More...
 

Static Public Member Functions

static PlotLogMessageflagRange (Client *client, PlotMSPlot *plot, int canvasIndex, std::vector< PlotRegion > &regions, bool, bool)
 
static PlotLogMessageunflagRange (Client *client, PlotMSPlot *plot, int canvasIndex, std::vector< PlotRegion > &regions, bool, bool)
 

Protected Member Functions

virtual void redrawPlots (Client *client, PlotMSPlot *plot, vector< PlotCanvasPtr > &visibleCanv)
 
virtual void addRedrawPlot (PlotMSPlot *plot)
 

Private Attributes

vector< PlotMSPlot * > flaggedPlots
 Keep list of plots that have to be redrawn. More...
 

Detailed Description

FlagActionUtil is a set of flagging methods that are accessed from multiple classes.

All the methods are static and (hopefully) inlined.

Definition at line 40 of file FlagActionUtil.h.

Constructor & Destructor Documentation

casa::FlagActionUtil::FlagActionUtil ( )

constructor

virtual casa::FlagActionUtil::~FlagActionUtil ( )
virtual

destructor

Member Function Documentation

virtual void casa::FlagActionUtil::addRedrawPlot ( PlotMSPlot plot)
protectedvirtual

Reimplemented in casa::ActionLocate.

static PlotLogMessage* casa::FlagActionUtil::flagRange ( Client client,
PlotMSPlot plot,
int  canvasIndex,
std::vector< PlotRegion > &  regions,
bool  ,
bool   
)
inlinestatic

Definition at line 42 of file FlagActionUtil.h.

References casa::PlotMSPlot::flagRange(), and casa::Client::getFlagging().

virtual void casa::FlagActionUtil::redrawPlots ( Client client,
PlotMSPlot plot,
vector< PlotCanvasPtr > &  visibleCanv 
)
protectedvirtual
static PlotLogMessage* casa::FlagActionUtil::unflagRange ( Client client,
PlotMSPlot plot,
int  canvasIndex,
std::vector< PlotRegion > &  regions,
bool  ,
bool   
)
inlinestatic

Definition at line 51 of file FlagActionUtil.h.

References casa::PlotMSPlot::flagRange(), and casa::Client::getFlagging().

Member Data Documentation

vector<PlotMSPlot*> casa::FlagActionUtil::flaggedPlots
private

Keep list of plots that have to be redrawn.

Definition at line 71 of file FlagActionUtil.h.


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