dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
simulation.h
Go to the documentation of this file.
1 
11 /*
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful, but
18  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20  * for more details.
21  *
22  * You should have received a copy of the GNU General Public License along
23  * with this program; if not, see <http://www.gnu.org/licenses/>
24  *
25  * Additional note on redistribution: The copyright and license notices above
26  * must be maintained in each individual source file that is a derivative work
27  * of this source file; otherwise redistribution is prohibited.
28  */
29 
30 #ifndef SIMULATION_H_
31 #define SIMULATION_H_
32 
33 #include <coreplugin/iboardtype.h>
34 
35 class IBoardType;
36 
38 {
39 public:
40  Simulation();
41  virtual ~Simulation();
42 
43  virtual QString shortName();
44  virtual QString boardDescription();
45  virtual bool queryCapabilities(BoardCapabilities capability);
46  virtual QPixmap getBoardPicture();
47  virtual QString getHwUAVO();
48  virtual int queryMaxGyroRate();
49  QWidget *getBoardConfiguration(QWidget *parent, bool connected);
50  virtual bool hasAnnunciator(AnnunciatorType annunc);
51  virtual bool isUSBSupported() { return false; }
52 };
53 
54 #endif // SIMULATION_H_
55 
virtual QString shortName()
Definition: simulation.cpp:55
BoardCapabilities
Types of capabilities boards can support.
Definition: iboardtype.h:92
virtual bool queryCapabilities(BoardCapabilities capability)
Query capabilities of the board.
Definition: simulation.cpp:65
QWidget * getBoardConfiguration(QWidget *parent, bool connected)
Return a custom configuration widget, if one is provided.
Definition: simulation.cpp:89
Simulation()
Simulation:Simulation This is the Simulation board definition.
Definition: simulation.cpp:39
virtual bool hasAnnunciator(AnnunciatorType annunc)
Check if the board has the given type of annunciator.
Definition: simulation.cpp:101
virtual ~Simulation()
Definition: simulation.cpp:51
virtual QString boardDescription()
Definition: simulation.cpp:60
virtual int queryMaxGyroRate()
Query the board for the currently set max rate of the gyro.
Definition: simulation.cpp:95
virtual QString getHwUAVO()
Definition: simulation.cpp:84
virtual QPixmap getBoardPicture()
getBoardPicture
Definition: simulation.cpp:79
virtual bool isUSBSupported()
Definition: simulation.h:51