VSM C++ SDK
Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wait_action.h
Go to the documentation of this file.
1 // Copyright (c) 2018, Smart Projects Holdings Ltd
2 // All rights reserved.
3 // See LICENSE file for license details.
4 
8 #ifndef _UGCS_VSM_WAIT_ACTION_H_
9 #define _UGCS_VSM_WAIT_ACTION_H_
10 
11 #include <ugcs/vsm/action.h>
12 #include <ugcs/vsm/mavlink.h>
13 #include <chrono>
14 
15 namespace ugcs {
16 namespace vsm {
17 
20 class Wait_action: public Action {
22 
23 public:
26  Action(Type::WAIT),
28 
30  double wait_time;
31 };
32 
34 template<>
35 struct Action::Mapper<Action::Type::WAIT> {
37  typedef Wait_action type;
38 };
39 
40 } /* namespace vsm */
41 } /* namespace ugcs */
42 
43 #endif /* _UGCS_VSM_WAIT_ACTION_H_*/
Type
Types of vehicle actions as part of task (mission).
Definition: action.h:30
double wait_time
Time to wait in seconds.
Definition: wait_action.h:30
Generic action.
Definition: action.h:22
Generic action.
Map Action type enum value to specific Action type class.
Definition: action.h:120
Wait action.
Definition: wait_action.h:20
Wait_action type
Real type.
Definition: wait_action.h:37
#define DEFINE_COMMON_CLASS(__class_name,...)
Use this macro to define some common attributes for a class.
Definition: utils.h:25