My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
MonitorPlot Struct Reference

Public Member Functions

bool updateNeeded ()
 
void updateXaxisStats (unsigned nread)
 
bool xAxisIsValid ()
 
bool isSingleXAxis ()
 
bool xAxisIsSingleElement ()
 
void update (unsigned nread)
 
void updateNormal (unsigned nread)
 
void updatePowSpec (unsigned nread)
 
bool checkXregisters (std::vector< RegDescription > &xdesc)
 
bool checkYregisters (char *yregs, std::vector< RegDescription > &xdesc, std::vector< RegDescription > &ydesc)
 
unsigned countTraces ()
 
void pushPowSpecData ()
 
void replotPowSpec ()
 
void endBufferedPowSpecAxisRedraw ()
 
void beginBufferedPowSpecAxisRedraw ()
 
void initPowSpec (unsigned n, double dtInMilliSeconds, double &xleft, double &right, bool linAxis)
 

Public Attributes

double xleft
 
double xright
 
char regname [MP_REG_LEN+1]
 
unsigned marker_size
 
int join
 
char title [AXLAB_LEN+1]
 
char xlabel [AXLAB_LEN+1]
 
unsigned tag
 
int pgplot_id
 
int oldest
 
MonitorGraphgraphs
 
MonitorGraphtail_graph
 
int ngraph
 
unsigned next_graph_tag
 
double wxa
 
double wxb
 
double xlength
 
MpPlotStats stats
 
MpScroll scroll
 
std::vector
< gcp::util::RegDescription > * 
xdescs
 
int regname_invalid
 
int update_needed
 
float vxa
 
float vxb
 
float vya
 
float vyb
 
MonitorViewerview
 
MonitorPlotnext
 
MpPlotType type
 
struct {
   unsigned   npt
 
   unsigned   nel
 
   unsigned   ntrans
 
   bool   first
 
   gcp::util::TimeVal *   dt
 
   gcp::util::Frequency *   dv
 
   vector< float > *   xdataLinear
 
   vector< float > *   xdataLog
 
   bool   updateNeeded
 
   unsigned   nSec
 
   bool   linAxis
 
powSpec
 

Member Function Documentation

void MonitorPlot::beginBufferedPowSpecAxisRedraw ( )

....................................................................... Start a buffered redraw of the axes for this plot

bool MonitorPlot::checkXregisters ( std::vector< RegDescription > &  descs)

....................................................................... Method to parse the xregister specification of a plot

bool MonitorPlot::checkYregisters ( char *  yregs,
std::vector< RegDescription > &  descs,
std::vector< RegDescription > &  ydescs 
)

....................................................................... Check a set of yregisters for syntax and consistency with the x-registers

void MonitorPlot::endBufferedPowSpecAxisRedraw ( )

....................................................................... Called to end a buffered redraw of a power spectrum plot

void MonitorPlot::initPowSpec ( unsigned  n,
double  dtInMilliSeconds,
double &  xleft,
double &  xright,
bool  linAxis 
)

....................................................................... Initialize power spectrum members.

void MonitorPlot::pushPowSpecData ( )

....................................................................... Iterate over all traces, pushing new data into the power spectra containers.

void MonitorPlot::replotPowSpec ( )

....................................................................... Iterate over all traces in this plot, replotting as necessary

void MonitorPlot::update ( unsigned  nread)

....................................................................... Called after new data have been read to update plots

void MonitorPlot::updateNormal ( unsigned  nread)

....................................................................... Update this plot

void MonitorPlot::updatePowSpec ( unsigned  nread)

....................................................................... Called after new data have been read to update plots

void MonitorPlot::updateXaxisStats ( unsigned  nread)

....................................................................... Update the x-axis statistics after new data have been read

bool MonitorPlot::xAxisIsSingleElement ( )

....................................................................... Return true if this plot has a single-element x-axis

bool MonitorPlot::xAxisIsValid ( )

....................................................................... Return true if this plot has a valid x-axis

Member Data Documentation

bool MonitorPlot::updateNeeded

....................................................................... Return whether or not this plot needs to be updated


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