dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
pikoblx.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 PIKOBLX_H_
31 #define PIKOBLX_H_
32 
34 #include <coreplugin/iboardtype.h>
35 
36 class PikoBLX : public Core::IBoardType
37 {
38 public:
39  PikoBLX();
40  virtual ~PikoBLX();
41 
42  virtual QString shortName();
43  virtual QString boardDescription();
44  virtual bool queryCapabilities(BoardCapabilities capability);
45  virtual QPixmap getBoardPicture();
46  virtual QString getHwUAVO();
48  virtual bool setInputType(Core::IBoardType::InputType type);
50  virtual int queryMaxGyroRate();
51  virtual QStringList getAdcNames();
52  virtual bool hasAnnunciator(AnnunciatorType annunc);
53 };
54 
55 #endif // PIKOBLX_H_
56 
virtual bool queryCapabilities(BoardCapabilities capability)
Return which capabilities this board has.
Definition: pikoblx.cpp:77
virtual QStringList getAdcNames()
Definition: pikoblx.cpp:281
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 ~PikoBLX()
Definition: pikoblx.cpp:62
virtual QString boardDescription()
Definition: pikoblx.cpp:71
virtual bool setInputType(Core::IBoardType::InputType type)
Definition: pikoblx.cpp:122
virtual int queryMaxGyroRate()
Query the board for the currently set max rate of the gyro.
Definition: pikoblx.cpp:254
virtual Core::IBoardType::InputType getInputType()
PikoBLX::getInputType fetch the currently selected input type.
Definition: pikoblx.cpp:175
virtual QString getHwUAVO()
Definition: pikoblx.cpp:112
virtual bool hasAnnunciator(AnnunciatorType annunc)
Check if the board has the given type of annunciator.
Definition: pikoblx.cpp:287
virtual bool isInputConfigurationSupported(Core::IBoardType::InputType type)
Determine if this board supports configuring the receiver.
Definition: pikoblx.cpp:99
virtual QString shortName()
Definition: pikoblx.cpp:66
PikoBLX()
PikoBLX::PikoBLX This is the PikoBLX board definition.
Definition: pikoblx.cpp:44
virtual QPixmap getBoardPicture()
getBoardPicture
Definition: pikoblx.cpp:93