Searching a PHX and creating an user class that inherits from RobotPHX.
template <class ROBOTPHXOBJECT> ROBOTPHXOBJECT* QueryRobotPHX2(Connection * pConnection, const xkode::lib::String& Name);
ModaCpp.h
Parameters |
Description |
Connection * pConnection |
[in] Pointer to the active connection's object. |
const xkode::lib::String& Name |
[in] Absolute PHX's name in the simulation (/myrobot) |
A Pointeur on an objet of the user defined type if the PHX was found on this connection, NULL otherwise.
QueryRobotPHX2 is working exactly like Connection::QueryRobotPHX2. This global function is used when the compiler does not accept the Connection::QueryRobotPHX2 syntax.
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|