Player proxy to Fawkes interface mapper interface. More...
#include <mapper.h>
Public Member Functions | |
PlayerProxyFawkesInterfaceMapper (std::string varname) | |
Constructor. | |
virtual | ~PlayerProxyFawkesInterfaceMapper () |
Virtual empty destructor. | |
std::string | varname () const |
Get variable name. | |
virtual void | sync_fawkes_to_player ()=0 |
Sync Fawkes interface to Player proxy. | |
virtual void | sync_player_to_fawkes ()=0 |
Sync Player proxy to Fawkes interface. |
Player proxy to Fawkes interface mapper interface.
This interface defines an interface to map a Player proxy to a Fawkes interface.
Definition at line 28 of file mapper.h.
PlayerProxyFawkesInterfaceMapper::PlayerProxyFawkesInterfaceMapper | ( | std::string | varname | ) |
PlayerProxyFawkesInterfaceMapper::~PlayerProxyFawkesInterfaceMapper | ( | ) | [virtual] |
Virtual empty destructor.
Definition at line 54 of file mapper.cpp.
PlayerProxyFawkesInterfaceMapper::sync_fawkes_to_player | ( | ) | [pure virtual] |
Sync Fawkes interface to Player proxy.
This method should be implemented to copy any outstanding data from the Fawkes interface (messages) to the Player interface. This method will be called in the ACT_EXEC hook of the BlockedTimingAspect (cf. MainLoop).
Implemented in PlayerLaserMapper, PlayerMotorPositionMapper, and PlayerPositionMapper.
PlayerProxyFawkesInterfaceMapper::sync_player_to_fawkes | ( | ) | [pure virtual] |
Sync Player proxy to Fawkes interface.
This method should be implemented to copy any outstanding data from the Player proxy to the Fawkes interface. This method will be called in the ACT_EXEC hook of the BlockedTimingAspect (cf. MainLoop).
Implemented in PlayerLaserMapper, PlayerMotorPositionMapper, and PlayerPositionMapper.
std::string PlayerProxyFawkesInterfaceMapper::varname | ( | ) | const |