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