LRAUV  revA
ControlModule.h
Go to the documentation of this file.
1 
16 #ifndef CONTROLMODULE_H_
17 #define CONTROLMODULE_H_
18 
19 #include "module/Module.h"
20 
28 class ControlModule : public Module
29 {
30 public:
32  ControlModule();
33 
35  virtual ~ControlModule();
36 
37  void loadComponents( Logger& logger );
38 
39 };
40 
42 
45 extern "C" Module* create_module()
46 {
47  return new ControlModule();
48 }
49 
52 extern "C" void destroy_module( Module* module )
53 {
54  delete module;
55 }
56 
57 #endif /*CONTROLMODULE_H_*/
Client-side interface for injecting log data into the log queue.
Definition: Logger.h:30
void destroy_module(Module *module)
destroy_module must be implemented, following the class implementation:
Definition: ControlModule.h:52
Module * create_module()
Class factories.
Definition: ControlModule.h:45
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
Provides components responsible for providing dynamic control of the vehicle via VerticalControl, HeadingControl, and SpeedControl.
Definition: ControlModule.h:28
Contains the Module class definition.
ControlModule()
Constructor.
Definition: ControlModule.cpp:20
void loadComponents(Logger &logger)
loads the collection of components belonging to this module
Definition: ControlModule.cpp:25
virtual ~ControlModule()
Destructor.
Definition: ControlModule.cpp:47