5 # ifdef INPUTCONNECTOR_LIBRARY
6 # define INPUTCONNECTOR_EXPORT __declspec(dllexport)
8 # define INPUTCONNECTOR_EXPORT __declspec(dllimport)
12 using namespace vrecko;
25 namespace APInputConnector
31 #define SENSOR_MAX_COUNT 20
53 bool initialize(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parametersNode);
58 virtual void processEvent(
const std::string &input_name,
VreckoMessage *value);
60 void processAction(
int sensorNumber,
VreckoMessage * value,
const std::string & input_name );
62 void ProcessOrientation(
int sensorNumber,
VreckoMessage * value,
const std::string & input_name );
64 void processSensorTransformation(
int sensorNumber,
VreckoMessage * value,
const std::string & input_name );
67 static int parseSensorNumber(
const std::string &input_name );
70 static std::string parseEventName(
const std::string &input_name );
100 bool parseInputDevice( XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *deviceNode );
111 bool parseInputMappingPair(
string deviceID, XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *pairNode );
113 bool parseSenderReceiver(std::string sr,
bool isSender,
BaseClass **pEntity,
bool bNoErrorOutput);
124 std::vector<XERCES_CPP_NAMESPACE_QUALIFIER DOMNode*> *getChildNodesbyName( XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode* parentNode,
const string childNodeName );
125 bool parseReceiverAbility( XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * ChainPairNode );
126 bool parseOutputMappingPair(
vrecko::Ability * receiverAbility, std::string receiverString, XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *pairNode );
127 bool processChainofResponsibility(
ReceiversList *receivers, MessageBool * value );