SonarInterface.hh
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef SONARINTERFACE_HH
00028 #define SONARINTERFACE_HH
00029
00030 #include "GazeboInterface.hh"
00031
00032
00033 typedef struct gz_sonar gz_sonar_t;
00034
00035 class SonarInterface : public GazeboInterface
00036 {
00038 public: SonarInterface(player_devaddr_t addr, GazeboDriver *driver,
00039 ConfigFile *cf, int section);
00040
00042 public: virtual ~SonarInterface();
00043
00045 public: virtual int ProcessMessage(MessageQueue *respQueue,
00046 player_msghdr_t *hdr, void *data);
00047
00049 public: virtual void Update();
00050
00053 public: virtual void Subscribe();
00054
00057 public: virtual void Unsubscribe();
00058
00059 private: gz_sonar_t *iface;
00060
00062 private: char *gz_id;
00063
00065 private: double datatime;
00066 };
00067 #endif
Last updated 12 September 2005 21:38:45
|