Motorcortex Core  version: 2.7.6
TestC.h
1 /*
2  * This is a template for the MOTORCORTEX Module header file
3  */
4 
5 #ifndef TESTC_H
6 #define TESTC_H
7 
8 #include "ct_module.h"
9 
10 class TestC : public mcx::container::Module {
11 public:
12  TestC() = default;
13 
14  ~TestC() override = default;
15 
16 private:
17  void create_(const char* name, mcx::parameter_server::Parameter* parameterServer, uint64_t dtMicroS) override;
18 
19  bool initPhase1_() override;
20 
21  bool initPhase2_() override;
22 
23  bool startOp_() override;
24 
25  bool stopOp_() override;
26 
27  bool iterateOp_(const mcx::container::TaskTime& systemTime, mcx::container::UserTime* userTime) override;
28 
29  bool input01_{};
30 
31  bool output01_{};
32 
33 };
34 
35 #endif /* TESTC_H */
mcx::parameter_server::Parameter
Definition: ps_parameter.h:45
mcx::container::TaskTime
Internal time source.
Definition: ct_time.h:25
TestC
Definition: TestC.h:10
mcx::container::UserTime
External time source.
Definition: ct_time.h:40
mcx::container::Module
A building block of the Motorcortex components.
Definition: ct_module.h:64