Player Client Thread. More...
#include "playerc_thread.h"
Public Types | |
typedef std::map< std::string, fawkes::Interface * > | InterfaceMap |
Map for Fawkes interfaces. | |
typedef std::map< std::string, PlayerCc::ClientProxy * > | ProxyMap |
Map for Player interfaces. | |
typedef std::list < PlayerProxyFawkesInterfaceMapper * > | MapperList |
Map for proxy-interface mappers. | |
Public Member Functions | |
PlayerClientThread () | |
Constructor. | |
virtual void | init () |
virtual void | finalize () |
virtual void | loop () |
void | sync_fawkes_to_player () |
Sync Fawkes to player. | |
Protected Member Functions | |
virtual void | run () |
Stub to see name in backtrace for easier debugging. |
Player Client Thread.
This thread connects to the player server and handles messages
Definition at line 49 of file playerc_thread.h.
typedef std::map<std::string, fawkes::Interface *> PlayerClientThread::InterfaceMap |
Map for Fawkes interfaces.
Definition at line 60 of file playerc_thread.h.
typedef std::list<PlayerProxyFawkesInterfaceMapper *> PlayerClientThread::MapperList |
Map for proxy-interface mappers.
Definition at line 66 of file playerc_thread.h.
typedef std::map<std::string, PlayerCc::ClientProxy *> PlayerClientThread::ProxyMap |
Map for Player interfaces.
Definition at line 63 of file playerc_thread.h.
PlayerClientThread::PlayerClientThread | ( | ) |
Constructor.
Definition at line 47 of file playerc_thread.cpp.
virtual void PlayerClientThread::run | ( | ) | [inline, protected, virtual] |
Stub to see name in backtrace for easier debugging.
Definition at line 77 of file playerc_thread.h.
void PlayerClientThread::sync_fawkes_to_player | ( | ) |
Sync Fawkes to player.
This will call all mappers to sync Fawkes interfaces to Player proxies. This is meant to be called by the PlayerF2PThread.
Definition at line 273 of file playerc_thread.cpp.
References fawkes::Logger::log_warn(), fawkes::LoggingAspect::logger, and fawkes::Thread::name().