Vlaxicon
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

PlotTool Class Reference

Inheritance diagram for PlotTool:
ObjectBase

List of all members.

Public Member Functions

 PlotTool (wxWindow *parent, ObjectBaseShape *parentShape)
 ~PlotTool ()
void StartScreen ()
bool IsRunning ()
void StopScreen ()
void SetOpenWin (bool isWin)

Protected Types

enum  { ID_EXPORT_PLOT = wxID_HIGHEST + 1, ID_PLOTCTRL = wxID_HIGHEST + 1, ID_PLOT_WIN = wxID_HIGHEST + 1, ID_TIMER_PLOT = wxID_HIGHEST + 1 }

Protected Member Functions

void OnButtonExportClick (wxCommandEvent &event)
void OnButtonWinClick (wxCommandEvent &event)
void OnRefreshPlot (wxCommandEvent &event)

Protected Attributes

wxPlotCtrl * m_plotCtrl
wxButton * m_buttonExport
wxButton * m_buttonWin
wxPlotData pActiveData
bool bWin
PlotWinMainplotWin
ScreenThreadscrThread

Constructor & Destructor Documentation

PlotTool::PlotTool ( wxWindow *  parent,
ObjectBaseShape parentShape 
)

constructor of PlotTool control

Parameters:
parentparent window
parentShapeparent shape
PlotTool::~PlotTool ( )

destructor of PlotTool control


Member Function Documentation

bool PlotTool::IsRunning ( )

return info if thread is running

Returns:
true if thread running false if not
void PlotTool::OnButtonExportClick ( wxCommandEvent &  event) [protected]

event handler on click on button Export

void PlotTool::OnButtonWinClick ( wxCommandEvent &  event) [protected]

event handler on click on button Window

void PlotTool::OnRefreshPlot ( wxCommandEvent &  event) [protected]

event handler on refresh plot data

void PlotTool::SetOpenWin ( bool  isWin) [inline]

sets variable for separate open window

Parameters:
isWintrue if window is open false if not
void PlotTool::StartScreen ( )

start screen thread for loading plot data

void PlotTool::StopScreen ( )

stop screen thread


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