|
anyKode Marilou
|
QueryDeviceContact searches and returns a contact device from the list of the PHX's devices.
DeviceContact * QueryDeviceContact(xkode::lib::String Name);
|
Parameters |
Description |
|
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 (17/05/2011), Copyright (c) 2011 anyKode. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|