#include <lego9751.h>
Diagrama de herencias de LEGO9751
Métodos públicos | |
LEGO9751 () | |
virtual | ~LEGO9751 () |
BOOLEAN | consultar_variable (const char *nombre_variable, int &tipo, void **ref) |
OJO: Esto no se ha implementado! | |
BOOLEAN | inicialice (char *nombre_puerto) |
void | cerrar (void) |
WORD | lea_sensor (int num_sensor) |
void | encendido (int actuador) |
void | apagado (int actuador) |
void | fpotencia (int actuador, int potencia) |
void | fderecha (int actuador) |
void | fizquierda (int actuador) |
Métodos privados | |
void | actualizar (void) |
void | enviar_latido (void) |
BOOLEAN | busque_controlador (void) |
Atributos privados | |
BYTE | input_state [19] |
BYTE | data_state [19] |
int | accum |
PUERTO_SERIAL * | Com |
Amigas | |
void | leer_lego_callback (void *User_data, int accion) |
Esta funcion es llamada asincronicamente cuando hay datos disponibles para leer cualquier puerto serial donde este conectada alguna interface LEGO9751. |
|
Definición en la línea 68 del archivo lego9751.C. References accum, data_state, y input_state. |
|
Definición en la línea 77 del archivo lego9751.C. References cerrar(). |
Here is the call graph for this function:
|
Reimplementado de DISPOSITIVO. Definición en la línea 217 del archivo lego9751.C. References data_state, enviar_latido(), y input_state. Referenciado por leer_lego_callback(). |
Here is the call graph for this function:
|
Definición en la línea 130 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). |
Here is the call graph for this function:
|
Definición en la línea 234 del archivo lego9751.C. References Com, PUERTO_SERIAL::escribir(), y PUERTO_SERIAL::leer(). Referenciado por inicialice(). |
Here is the call graph for this function:
|
Definición en la línea 83 del archivo lego9751.C. References PUERTO_SERIAL::cerrar(), y Com. Referenciado por ~LEGO9751(). |
Here is the call graph for this function:
|
OJO: Esto no se ha implementado!
Implements DISPOSITIVO. Definición en la línea 291 del archivo lego9751.C. |
|
Definición en la línea 111 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). |
Here is the call graph for this function:
|
Definición en la línea 209 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). Referenciado por actualizar(). |
Here is the call graph for this function:
|
Definición en la línea 149 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). |
Here is the call graph for this function:
|
Definición en la línea 168 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). |
Here is the call graph for this function:
|
Definición en la línea 187 del archivo lego9751.C. References Com, y PUERTO_SERIAL::escribir(). |
Here is the call graph for this function:
|
Definición en la línea 262 del archivo lego9751.C. References PUERTO_SERIAL::abrir(), busque_controlador(), Com, PUERTO_SERIAL::configurar(), leer_lego_callback(), PSD8, PSF_NONE, PSP_NONE, PSS_UNO, PSV9600, y PUERTO_SERIAL::registro_asincronico(). |
Here is the call graph for this function:
|
Definición en la línea 93 del archivo lego9751.C. References BYTE, data_state, y WORD. |
|
Esta funcion es llamada asincronicamente cuando hay datos disponibles para leer cualquier puerto serial donde este conectada alguna interface LEGO9751. Recibe como parametro un apuntador al objeto administrador de una interface especifica. Notese que esta funcion va llenando el buffer acumulativo "input_state" del objeto (para ello, esta funcion se define como ayuda). Definición en la línea 35 del archivo lego9751.C. |
|
Definición en la línea 39 del archivo lego9751.h. Referenciado por leer_lego_callback(), y LEGO9751(). |
|
Definición en la línea 40 del archivo lego9751.h. Referenciado por apagado(), busque_controlador(), cerrar(), encendido(), enviar_latido(), fderecha(), fizquierda(), fpotencia(), inicialice(), y leer_lego_callback(). |
|
Definición en la línea 38 del archivo lego9751.h. Referenciado por actualizar(), lea_sensor(), y LEGO9751(). |
|
Definición en la línea 37 del archivo lego9751.h. Referenciado por actualizar(), leer_lego_callback(), y LEGO9751(). |