bool OnConnect(void * pParam){ CMOOSCommClient* pC = reinterpret_cast<CMOOSCommClient*> (pParam); //wildcard registration any two character name beginning with V pC->Register("V?","*",0.0); return true; }
bool on_connect(void * pParam) { CMOOSCommClient * pC = static_cast<CMOOSCommClient*> (pParam); return pC->Register("X") && pC->Register("Y"); }
bool OnConnect(void * pParam) { CMOOSCommClient* pC = reinterpret_cast<CMOOSCommClient*> (pParam); pC->Register("X",0.0); return true; }