Free Electron
DroneDynamics.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __flight_DroneDynamics_h__
8 #define __flight_DroneDynamics_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Apply aircraft environment and manipulations into motion
17 
18  @ingroup flight
19 *//***************************************************************************/
20 class FE_DL_EXPORT DroneDynamics:
21  virtual public HandlerI,
22  public Initialize<DroneDynamics>
23 {
24  public:
25 
26  DroneDynamics(void);
27 virtual ~DroneDynamics(void);
28 
29  void initialize(void);
30 
31 virtual void handleBind(sp<SignalerI> spSignalerI,sp<Layout> spLayout);
32 virtual void handle(Record& a_signal);
33 
34  private:
35 
36  AsCatalog m_asCatalog;
37 
38  SpatialVector m_location;
39  SpatialVector m_velocity;
40  Real m_heading;
41  Real m_pitch;
42  Real m_bank;
43 };
44 
45 } /* namespace ext */
46 } /* namespace fe */
47 
48 #endif /* __flight_DroneDynamics_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Apply aircraft environment and manipulations into motion.
Definition: DroneDynamics.h:20
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35