se2ez
se2ez::gui::Panel Class Referenceabstract

#include <panel.h>

Inheritance diagram for se2ez::gui::Panel:
[legend]

Public Member Functions

 Panel (const Panel &)=delete
 
Paneloperator= (const Panel &)=delete
 
 Panel (std::string panel_name, QWidget *parent=0)
 Constructor. More...
 
virtual ~Panel ()=default
 Destructor. More...
 
virtual void draw (QPainter &painter, RenderArea *canvas)=0
 
virtual bool click (QMouseEvent *, double, double, int, int)
 
virtual void update (boost::posix_time::ptime last, boost::posix_time::ptime current)=0
 
virtual void initialize (MainWindow::PanelMapPtr p)
 

Public Attributes

QString name
 
MainWindow::PanelMapPtr panels
 
std::recursive_mutex mutex_
 

Detailed Description

Definition at line 18 of file panel.h.

Constructor & Destructor Documentation

◆ Panel() [1/2]

se2ez::gui::Panel::Panel ( const Panel )
delete

◆ Panel() [2/2]

se2ez::gui::Panel::Panel ( std::string  panel_name,
QWidget *  parent = 0 
)
inline

Constructor.

Definition at line 26 of file panel.h.

◆ ~Panel()

virtual se2ez::gui::Panel::~Panel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ click()

virtual bool se2ez::gui::Panel::click ( QMouseEvent *  ,
double  ,
double  ,
int  ,
int   
)
inlinevirtual

Reimplemented in se2ez::gui::JointPanel, and se2ez::gui::CSpacePanel.

Definition at line 33 of file panel.h.

◆ draw()

virtual void se2ez::gui::Panel::draw ( QPainter &  painter,
RenderArea canvas 
)
pure virtual

◆ initialize()

virtual void se2ez::gui::Panel::initialize ( MainWindow::PanelMapPtr  p)
inlinevirtual

Definition at line 40 of file panel.h.

◆ operator=()

Panel& se2ez::gui::Panel::operator= ( const Panel )
delete

◆ update()

virtual void se2ez::gui::Panel::update ( boost::posix_time::ptime  last,
boost::posix_time::ptime  current 
)
pure virtual

Member Data Documentation

◆ mutex_

std::recursive_mutex se2ez::gui::Panel::mutex_

Definition at line 47 of file panel.h.

◆ name

QString se2ez::gui::Panel::name

Definition at line 45 of file panel.h.

◆ panels

MainWindow::PanelMapPtr se2ez::gui::Panel::panels

Definition at line 46 of file panel.h.


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