Request entering or leaving exclusive access on the remote robot.
Only one of the connected robot objects can have exclusive access at the same time.
The server can ask for exclusive access locally (thus blocking other connected objects) too.
The enter request is accepted, if currently no other user has exclusive access, otherwise the request is rejected.
The leave request is always accepted.
- Source:
- robotdll/robotdll.h:899
- Author:
- Version:
- latest version
- Params:
| id
| robot object handle
|
| state
| use "on" to enter exclusive mode, and "off" to leave exclusive mode
|
- Returns:
- if the request is accepted, "ok" is returned, otherwise the name of the user that currently has exclusive access is returned
- See Also:
- robot_connect, robot_logoff
- Code:
public ROBOTDLL_API const char * robot_exclusive ( | short id , |
| | const char * state ) |