PlayerMapperFactory Class Reference

Player Fawkes mapper factory. More...

#include <mapper_factory.h>

List of all members.

Static Public Member Functions

static PlayerProxyFawkesInterfaceMappercreate_mapper (std::string varname, fawkes::Interface *interface, PlayerCc::ClientProxy *proxy)
 Create a mapp instance.


Detailed Description

Player Fawkes mapper factory.

Factory class to create mappers from Fawkes interfaces to Player proxies.

Author:
Tim Niemueller

Definition at line 38 of file mapper_factory.h.


Member Function Documentation

PlayerProxyFawkesInterfaceMapper * PlayerMapperFactory::create_mapper ( std::string  varname,
fawkes::Interface interface,
PlayerCc::ClientProxy *  proxy 
) [static]

Create a mapp instance.

Tries to figure out the type of the interface and proxy and if a known matching exists will return an appropriate mapper.

Parameters:
varname variable name
interface Fawkes interface instance
proxy Player proxy instance
Returns:
a mapper instance for the given interface and proxy otherwise
Exceptions:
Exception thrown if no known mapping exists for the given interfaces.

Definition at line 53 of file mapper_factory.cpp.

References fawkes::Interface::type().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:33 2011 for Fawkes API by  doxygen 1.4.7