Collaboration diagram for libplayerc:
Detailed DescriptionA C client library for the player server.
libplayerc is a client library for the player server. It is written in C to maximize portability, and in the expectation that users will write bindings for other languages (such as Python and Java) against this library; Python bindings are already available.
Be sure to check out the example.
The data modes section is important reading for all client writers.
libplayerc was originally written by Andrew Howard and is maintained by the Player Project. Subsequent contributors include Brian Gerkey, Geoffrey Biggs, Richard Vaughan.
|An example. |
|Utility and error-handling|
|Some helper functions. |
|The multi-client object manages connections to multiple server in parallel. |
|The client object manages the connection with the Player server; it is responsible for reading new data, setting data transmission modes and so on. |
|The device object provides a common interface to the functionality that is shared by all device proxies (in OOP parlance, it is a base class). |
|Each interface has a corresponding proxy. |
|#define||MIN(a, b) ((a < b) ? a : b)|
|#define||MAX(a, b) ((a > b) ? a : b)|
|The device access modes. |
|The valid data delivery modes. |
|The valid transports. |
|typedef void *||GEOSGeom|