wl_token_ring.h

Go to the documentation of this file.
00001 
00035 #ifndef WL_TOKEN_RING_H
00036 #define WL_TOKEN_RING_H
00037 
00050 int wl_token_ring_register(void);
00052 void wl_token_ring_unregister(void);
00054 void wl_token_ring_set_bom_functions(void (*on_function) (void), void (*off_function) (void),
00055   int (*max_bom_function) (void));
00056 
00058 int wl_token_ring_join(void);
00060 void wl_token_ring_leave(void);
00061 
00063 int wl_token_get_robots_in_ring(void);
00065 int wl_token_is_robot_in_ring(int robot);
00066 
00068 void wl_token_iterator_begin(void);
00070 int wl_token_iterator_has_next(void);
00072 int wl_token_iterator_next(void);
00073 
00075 int wl_token_get_sensor_reading(int source, int dest);
00077 int wl_token_get_my_sensor_reading(int dest);
00079 int wl_token_get_num_robots(void);
00081 int wl_token_get_matrix_size(void);
00082  //end token ring group
00084 
00085 #endif

Generated on Mon Apr 28 17:49:53 2008 for libwireless by  doxygen 1.5.3