dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
sprf3e.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 SPRF3E_H_
31 #define SPRF3E_H_
32 
34 #include <coreplugin/iboardtype.h>
35 
36 class Sprf3e : public Core::IBoardType
37 {
38 public:
39  Sprf3e();
40  virtual ~Sprf3e();
41 
42  virtual QString shortName();
43  virtual QString boardDescription();
44  virtual bool queryCapabilities(BoardCapabilities capability);
45  virtual QPixmap getBoardPicture();
46  virtual QString getHwUAVO();
47  virtual int queryMaxGyroRate();
48 
51 
56  virtual bool setInputType(Core::IBoardType::InputType type);
57 
63 
64  virtual QStringList getAdcNames();
65  virtual QString getConnectionDiagram();
66 
73  virtual QWidget *getBoardConfiguration(QWidget *parent, bool connected);
74 
75  virtual bool hasAnnunciator(AnnunciatorType annunc);
76 };
77 
78 #endif // SPRF3E_H_
79 
virtual bool hasAnnunciator(AnnunciatorType annunc)
Check if the board has the given type of annunciator.
Definition: sprf3e.cpp:284
virtual bool isInputConfigurationSupported(Core::IBoardType::InputType type)
Determine if this board supports configuring the receiver.
Definition: sprf3e.cpp:90
virtual QStringList getAdcNames()
Definition: sprf3e.cpp:257
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 QString getConnectionDiagram()
getConnectionDiagram get the connection diagram for this board
Definition: sprf3e.cpp:272
virtual bool queryCapabilities(BoardCapabilities capability)
Query capabilities of the board.
Definition: sprf3e.cpp:75
virtual QWidget * getBoardConfiguration(QWidget *parent, bool connected)
getBoardConfiguration
Definition: sprf3e.cpp:277
virtual QString boardDescription()
Definition: sprf3e.cpp:70
virtual int queryMaxGyroRate()
Query the board for the currently set max rate of the gyro.
Definition: sprf3e.cpp:230
virtual Core::IBoardType::InputType getInputType()
getInputType get the current input type
Definition: sprf3e.cpp:151
virtual bool setInputType(Core::IBoardType::InputType type)
Definition: sprf3e.cpp:102
virtual QString getHwUAVO()
Definition: sprf3e.cpp:267
Definition: sprf3e.h:36
virtual ~Sprf3e()
Definition: sprf3e.cpp:61
virtual QPixmap getBoardPicture()
getBoardPicture
Definition: sprf3e.cpp:262
Sprf3e()
Sprf3e:Sprf3e This is the Sprf3e board definition.
Definition: sprf3e.cpp:46
virtual QString shortName()
Definition: sprf3e.cpp:65