wl_token_ring.h

Go to the documentation of this file.
00001 
00010 #ifndef WL_TOKEN_RING_H
00011 #define WL_TOKEN_RING_H
00012 
00025 void wl_token_ring_register(void);
00027 void wl_token_ring_unregister(void);
00029 void wl_token_ring_set_bom_functions(void (*on_function) (void), 
00030                 void (*off_function) (void), int (*max_bom_function) (void));
00031 
00033 void wl_token_ring_join(void);
00035 void wl_token_ring_leave(void);
00036 
00038 int wl_token_get_robots_in_ring(void);
00040 int wl_token_is_robot_in_ring(int robot);
00041 
00043 void wl_token_iterator_begin(void);
00045 int wl_token_iterator_has_next(void);
00047 int wl_token_iterator_next(void);
00048 
00050 int wl_token_get_sensor_reading(int source, int dest);
00052 int wl_token_get_my_sensor_reading(int dest);
00054 int wl_token_get_num_robots(void);
00056 int wl_token_get_matrix_size(void);
00057  //end token ring group
00059 
00060 #endif

Generated on Wed Oct 31 17:54:43 2007 for libwireless by  doxygen 1.4.6