Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call_box_manager.h
- Revision:
- 121:ee02790d00b7
- Parent:
- 119:ee6a53069455
- Child:
- 126:1f90756250fb
diff -r 770f00554b1e -r ee02790d00b7 call_box_manager.h --- a/call_box_manager.h Mon May 04 17:25:29 2015 +0000 +++ b/call_box_manager.h Fri May 08 04:15:23 2015 +0000 @@ -1,14 +1,13 @@ #ifndef __CALL_BOX_MANAGER_H__ #define __CALL_BOX_MANAGER_H__ -#include "mbed.h" -#include "EthernetInterface.h" -#include "debug.h" -#include "vz_protocol.h" #include "vector.h" #include "call_box.h" +#include <stdlib.h> +#include "shared_variables.h" #include "parallelcpld.h" #include "utils.h" +#include "ring_buffer.h" const uint8_t __SLEEP_TIME__ = 45; @@ -34,11 +33,11 @@ * Vector * v_cb = new Vector(); * //assumindo que esse vetor de Call_Box já foi populado. * int ext = 5218; - * Call_Box * cb = __find_CB__( v_cb, ext ); + * Call_Box * cb = find_CB( v_cb, ext ); * ... * @endcode */ -Call_Box * __find_CB__( Vector * v_cb, int ext ); +Call_Box * find_CB( Vector * v_cb, int ext ); /** * @Synopsis Função responsavel por "envelhecer" os registros na Header, na prática, é essa função que pergunta de tempo