23 #ifndef __PLUGINS_PLAYER_MAPPER_FACTORY_H_ 24 #define __PLUGINS_PLAYER_MAPPER_FACTORY_H_ 30 class ObjectPositionInterface;
35 class Position2dProxy;
43 PlayerCc::ClientProxy *proxy);
49 template <
class FawkesInterfaceType,
class PlayerProxyType,
class MapperType>
52 PlayerCc::ClientProxy *proxy);
65 template <
class FawkesInterfaceType,
class PlayerProxyType,
class MapperType>
67 PlayerMapperFactory::try_create(std::string varname,
69 PlayerCc::ClientProxy *proxy)
71 FawkesInterfaceType *fi;
72 if ( (fi = dynamic_cast<FawkesInterfaceType *>(interface)) != NULL ) {
74 if ( (pp = dynamic_cast<PlayerProxyType *>(proxy)) != NULL ) {
75 return new MapperType(varname, fi, pp);
Fawkes library namespace.
Base class for all Fawkes BlackBoard interfaces.
Player Fawkes mapper factory.
Player proxy to Fawkes interface mapper interface.