gps
GPSDTask.hpp
Go to the documentation of this file.
1 #ifndef GPS_GPSDTASK_TASK_HPP
2 #define GPS_GPSDTASK_TASK_HPP
3 
4 #include "gps/GPSDTaskBase.hpp"
5 
6 class gpsmm;
7 namespace gps {
8  class GPSDTask : public GPSDTaskBase
9  {
10  friend class GPSDTaskBase;
11  protected:
12  gpsmm* gpsd_daemon;
15 
16  public:
17  GPSDTask(std::string const& name = "gps::GPSDTask");
18  ~GPSDTask();
19 
33  bool configureHook();
34 
40  bool startHook();
41 
58  void updateHook();
59 
60 
67  // void errorHook();
68 
72  // void stopHook();
73 
78  void cleanupHook();
79  };
80 }
81 
82 #endif
83 
Definition: BaseTask.hpp:19
void updateHook()
Definition: GPSDTask.cpp:56
int counter_waiting
Definition: GPSDTask.hpp:13
bool startHook()
Definition: GPSDTask.cpp:46
int counter_polling
Definition: GPSDTask.hpp:14
~GPSDTask()
Definition: GPSDTask.cpp:14
void cleanupHook()
Definition: GPSDTask.cpp:139
gpsmm * gpsd_daemon
Definition: GPSDTask.hpp:12
friend class GPSDTaskBase
Definition: GPSDTask.hpp:10
GPSDTask(std::string const &name="gps::GPSDTask")
Definition: GPSDTask.cpp:6
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: GPSDTask.cpp:22
Definition: GPSDTask.hpp:8