laser_mapper.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __PLUGINS_PLAYER_LASER_MAPPER_H_
00024 #define __PLUGINS_PLAYER_LASER_MAPPER_H_
00025
00026 #include "mapper.h"
00027
00028 namespace fawkes {
00029 class Laser360Interface;
00030 }
00031
00032 namespace PlayerCc {
00033 class LaserProxy;
00034 }
00035
00036 class PlayerLaserMapper : public PlayerProxyFawkesInterfaceMapper
00037 {
00038 public:
00039 PlayerLaserMapper(std::string varname,
00040 fawkes::Laser360Interface *interface,
00041 PlayerCc::LaserProxy *proxy);
00042
00043 virtual void sync_fawkes_to_player();
00044 virtual void sync_player_to_fawkes();
00045
00046 private:
00047 fawkes::Laser360Interface *__interface;
00048 PlayerCc::LaserProxy *__proxy;
00049
00050 bool __first_read;
00051 unsigned int __index_offset;
00052 };
00053
00054 #endif