Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

map
[Proxies]


Detailed Description

The map proxy provides an interface to a map.


Classes

struct  playerc_map_t
 Map proxy data. More...


Defines

#define PLAYERC_MAP_INDEX(dev, i, j)   ((dev->width) * (j) + (i))
 Convert from a cell position to a map index.


Functions

playerc_map_t * playerc_map_create (playerc_client_t *client, int index)
 Create a map proxy.

void playerc_map_destroy (playerc_map_t *device)
 Destroy a map proxy.

int playerc_map_subscribe (playerc_map_t *device, int access)
 Subscribe to the map device.

int playerc_map_unsubscribe (playerc_map_t *device)
 Un-subscribe from the map device.

int playerc_map_get_map (playerc_map_t *device)
 Get the map, which is stored in the proxy.


Define Documentation

#define PLAYERC_MAP_INDEX (  dev,
i,
j   )     ((dev->width) * (j) + (i))
 

Convert from a cell position to a map index.


Function Documentation

playerc_map_t* playerc_map_create (  playerc_client_t *  client,
int  index
) 
 

Create a map proxy.

void playerc_map_destroy (  playerc_map_t *  device  ) 
 

Destroy a map proxy.

int playerc_map_subscribe (  playerc_map_t *  device,
int  access
) 
 

Subscribe to the map device.

int playerc_map_unsubscribe (  playerc_map_t *  device  ) 
 

Un-subscribe from the map device.

int playerc_map_get_map (  playerc_map_t *  device  ) 
 

Get the map, which is stored in the proxy.


Generated on Tue May 3 14:16:14 2005 for Player by doxygen 1.3.6