Can i encapsulate this function __cdecl DataHandler?
Posted: Wed Nov 24, 2010 5:51 pm
In the Sample code provided in the SDK, the function __cdecl DataHandler is responsible for receiving data from server? Am I right?
My application is fully object oriented so I will need to encapsulate this function.
Eg: void myClass::__cdecl DataHandler(sFrameOfMocapData* data, void* pUserData)
How can I do it? Or is there any other way that i can obtain data from the server.
Looking forward for your answers.
My application is fully object oriented so I will need to encapsulate this function.
Eg: void myClass::__cdecl DataHandler(sFrameOfMocapData* data, void* pUserData)
How can I do it? Or is there any other way that i can obtain data from the server.
Looking forward for your answers.