alma::acs::logtools::monitor::gui::TrendPnl Class Reference

Inheritance diagram for alma::acs::logtools::monitor::gui::TrendPnl:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logtools::monitor::gui::TrendPnl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TrendPnl ()
void close ()
void addTrace (int[] nums, int secs)

Private Member Functions

void initialize ()

Private Attributes

final Chart2D chart = new Chart2D()
final ITrace2D[] logTraces = new ITrace2D[LogTypeHelper.values().length]
double x = 0

Static Private Attributes

static final int pointsPerTrace = 3000

Constructor & Destructor Documentation

alma::acs::logtools::monitor::gui::TrendPnl::TrendPnl (  )  [inline]

Constructor

References initialize().


Member Function Documentation

void alma::acs::logtools::monitor::gui::TrendPnl::addTrace ( int[]  nums,
int  secs 
) [inline]

Add the new logs number to the traces of the chart

Parameters:
nums Number of logs per type
secs Interval in seconds

References logTraces, and x.

Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::recvLogs().

void alma::acs::logtools::monitor::gui::TrendPnl::close (  )  [inline]

Destroy the chart and free the resources

References chart.

Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::close().

void alma::acs::logtools::monitor::gui::TrendPnl::initialize (  )  [inline, private]

Initialize the GUI

References chart, logTraces, and pointsPerTrace.

Referenced by TrendPnl().


Member Data Documentation

final Chart2D alma::acs::logtools::monitor::gui::TrendPnl::chart = new Chart2D() [private]

The chart displayed in the panel

Referenced by close(), and initialize().

final ITrace2D [] alma::acs::logtools::monitor::gui::TrendPnl::logTraces = new ITrace2D[LogTypeHelper.values().length] [private]

The trace to display in the chart (one for each log type)

Referenced by addTrace(), and initialize().

The number of points per trace.

Referenced by initialize().

The X-coordinate to add the next point

Referenced by addTrace().


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

Generated by  doxygen 1.6.2