Home Forums Software Development [C++] static callback function to member function Reply To: [C++] static callback function to member function

#1471
Escallon
Participant

Ok thanks,
I will take a look on it.
Also, Why both of the C++ examples given in the SDK use C entities like TX_CONNECTIONSTATECHANGEDCALLBACK instead of ConnectionStateChangedCallback, found in EyeXClientTypes.h :

namespace Tx {
typedef std::function<void (TX_CONNECTIONSTATE)>
ConnectionStateChangedCallback;
}

?
That’s might be useful to avoid this error.
Is there a 100% C++ example/doc available ?

Best regards