Flair
Framework Libre Air
X4X8Multiplex.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
13 #ifndef X4X8MULTIPLEX_H
14 #define X4X8MULTIPLEX_H
15 
16 #include <UavMultiplex.h>
17 
18 class X4X8Multiplex_impl;
19 
20 namespace flair {
21 namespace filter {
28 class X4X8Multiplex : public UavMultiplex {
29  friend class ::X4X8Multiplex_impl;
30 
31 public:
36  typedef enum {
37  X4,
38  X8
41  } UavType_t;
42 
47  typedef enum {
56  } MotorNames_t;
57 
66  X4X8Multiplex(std::string name, UavType_t type);
67 
73 
80  void UseDefaultPlot(void);
81 
89  uint8_t MotorsCount(void) const;
90 
91 private:
99  void UpdateFrom(const core::io_data *data);
100 
101  X4X8Multiplex_impl *pimpl_;
102 };
103 } // end namespace filter
104 } // end namespace flair
105 #endif // X4X8MULTIPLEX_H
Abstract class for data types.
Definition: io_data.h:94
UavType_t
type of UAV
Definition: X4X8Multiplex.h:36
Definition: X4X8Multiplex.h:50
namespace of the flair Framework
Definition: Ahrs.h:19
Definition: X4X8Multiplex.h:55
Class defining X4 and X8 multiplexing.
Definition: X4X8Multiplex.h:28
Definition: X4X8Multiplex.h:52
Definition: X4X8Multiplex.h:37
Definition: X4X8Multiplex.h:48
Class defining uav multiplexing.
Definition: UavMultiplex.h:37
X4X8Multiplex(std::string name, UavType_t type)
Constructor.
Definition: X4X8Multiplex.h:51
uint8_t MotorsCount(void) const
Motors count.
Class defining uav multiplexing.
Definition: X4X8Multiplex.h:38
Definition: X4X8Multiplex.h:49
void UseDefaultPlot(void)
Use default plot.
MotorNames_t
Motor names.
Definition: X4X8Multiplex.h:47
Definition: X4X8Multiplex.h:54