dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
quanton.h
Go to the documentation of this file.
1 
13 /*
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful, but
20  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  * for more details.
23  *
24  * You should have received a copy of the GNU General Public License along
25  * with this program; if not, see <http://www.gnu.org/licenses/>
26  */
27 #ifndef QUANTON_H
28 #define QUANTON_H
29 
30 #include <coreplugin/iboardtype.h>
31 
32 class Quanton : public Core::IBoardType
33 {
34 public:
35  Quanton();
36  virtual ~Quanton();
37 
38  virtual QString shortName();
39  virtual QString boardDescription();
40  virtual int minBootLoaderVersion();
41  virtual bool queryCapabilities(BoardCapabilities capability);
42  virtual QPixmap getBoardPicture();
43  virtual QString getHwUAVO();
44 
47 
53  virtual bool setInputType(Core::IBoardType::InputType type);
54 
61 
62  virtual int queryMaxGyroRate();
63  virtual QStringList getAdcNames();
64  virtual bool hasAnnunciator(AnnunciatorType annunc);
65 };
66 
67 #endif // QUANTON_H
virtual QString boardDescription()
Definition: quanton.cpp:74
virtual bool queryCapabilities(BoardCapabilities capability)
Return which capabilities this board has.
Definition: quanton.cpp:85
virtual bool isInputConfigurationSupported(Core::IBoardType::InputType type)
Determine if this board supports configuring the receiver.
Definition: quanton.cpp:107
InputType
Types of input to configure for the default port.
Definition: iboardtype.h:158
BoardCapabilities
Types of capabilities boards can support.
Definition: iboardtype.h:92
virtual bool setInputType(Core::IBoardType::InputType type)
Definition: quanton.cpp:129
virtual bool hasAnnunciator(AnnunciatorType annunc)
Check if the board has the given type of annunciator.
Definition: quanton.cpp:386
Quanton()
Quanton::Quanton This is the Quanton board definition.
Definition: quanton.cpp:42
virtual ~Quanton()
Definition: quanton.cpp:65
virtual QString shortName()
Definition: quanton.cpp:69
virtual QString getHwUAVO()
Definition: quanton.cpp:119
virtual int queryMaxGyroRate()
Query the board for the currently set max rate of the gyro.
Definition: quanton.cpp:335
virtual Core::IBoardType::InputType getInputType()
getInputOnPort get the current input type
Definition: quanton.cpp:185
virtual int minBootLoaderVersion()
Returns the minimum bootloader version required.
Definition: quanton.cpp:79
virtual QStringList getAdcNames()
Definition: quanton.cpp:362
virtual QPixmap getBoardPicture()
getBoardPicture
Definition: quanton.cpp:101