|
anyKode Marilou
|
QueryDeviceContact searches and returns a contact device from the list of the PHX's devices.
DeviceContact * QueryDeviceContact(const xkode::lib::String& Name);
|
Parameters |
Description |
|
const xkode::lib::String& Name |
[in] Relative name of the device contact: Ex: box1/contact |
Pointer to the instance of the required device of contact. The function returns NULL if the device were not found.
//Visual .net 2005 Managed C++ syntax
//...
Moda::DeviceContact ^pContact=robot->QueryDeviceContact("sl/contact");
if(pContacp && Contactt->IsTutching())
{
//...
}
//...|
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|