Fawkes API
Fawkes Development Version
|
Player proxy to Fawkes interface mapper interface. More...
#include "mapper.h"
Public Member Functions | |
PlayerProxyFawkesInterfaceMapper (const std::string &varname) | |
Constructor. More... | |
virtual | ~PlayerProxyFawkesInterfaceMapper () |
Virtual empty destructor. More... | |
std::string | varname () const |
Get variable name. More... | |
virtual void | sync_fawkes_to_player ()=0 |
Sync Fawkes interface to Player proxy. More... | |
virtual void | sync_player_to_fawkes ()=0 |
Sync Player proxy to Fawkes interface. More... | |
Player proxy to Fawkes interface mapper interface.
This interface defines an interface to map a Player proxy to a Fawkes interface.
PlayerProxyFawkesInterfaceMapper::PlayerProxyFawkesInterfaceMapper | ( | const std::string & | varname | ) |
|
virtual |
Virtual empty destructor.
Definition at line 53 of file mapper.cpp.
|
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 PlayerPositionMapper, PlayerMotorPositionMapper, and PlayerLaserMapper.
|
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 PlayerPositionMapper, PlayerMotorPositionMapper, and PlayerLaserMapper.
std::string PlayerProxyFawkesInterfaceMapper::varname | ( | ) | const |