Public Types | Public Member Functions | Protected Member Functions

PlayerClientThread Class Reference

Player Client Thread. More...

#include "playerc_thread.h"

Inheritance diagram for PlayerClientThread:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Player Client Thread.

This thread connects to the player server and handles messages

Author:
Tim Niemueller

Definition at line 49 of file playerc_thread.h.


Member Typedef Documentation

typedef std::map<std::string, fawkes::Interface *> PlayerClientThread::InterfaceMap

Map for Fawkes interfaces.

Definition at line 60 of file playerc_thread.h.

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.


Constructor & Destructor Documentation

PlayerClientThread::PlayerClientThread (  ) 

Constructor.

Definition at line 47 of file playerc_thread.cpp.


Member Function Documentation

virtual void PlayerClientThread::run (  )  [inline, protected, virtual]

Stub to see name in backtrace for easier debugging.

See also:
Thread::run()

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().


The documentation for this class was generated from the following files: