PSP-EMU rev 57
Un emulador en c++ para SONY PSP

cMapeoDireccion.h

Ir a la documentación de este archivo.
00001 
00008 #ifndef CMAPEODIRECCION_H_
00009 #define CMAPEODIRECCION_H_
00010 
00011 #include <stdlib.h>
00012 #include "general_emu.h"
00013 
00014 class cMapeoDireccion
00015 {
00016 private:
00017         tDireccion direccion_base;
00018         tDireccion direccion_fin;
00019         tLongitud longitud;
00020         void* componente;
00021         tComponente tipo_componente;
00022         bool validado;
00023 
00024 public:
00025         //cMapeoDireccion();
00026         cMapeoDireccion(tDireccion direccion_base, tDireccion direccion_fin, tLongitud longitud, void* componente, tComponente tipo_componente);
00027         ~cMapeoDireccion();
00028 
00029         tDireccion obtenerDireccionBase(void);
00030         tDireccion obtenerDireccionFin(void);
00031         tLongitud obtenerLongitud(void);
00032         void* obtenerComponente(void);
00033         tComponente obtenerTipoComponente(void);
00034 
00035         tError ponerDireccionBase(tDireccion direccion);
00036         tError ponerDireccionFin(tDireccion direccion);
00037         tError ponerLongitud(tLongitud longitud);
00038         tError ponerComponente(void* componente);
00039         tError ponerTipoComponente(tComponente tipo);
00040         tError copiarMapeo(cMapeoDireccion mapeo);
00041 
00042         tError autocalcularDireccionFin(void);
00043         tError autoCalcularLongitud(void);
00044 
00045         bool esDireccionValida(tDireccion direccion);
00046         bool estaValidado(void);
00047 
00048         tError validar(void);
00049 };
00050 
00051 #endif /* CMAPEODIRECCION_H_ */
Todo Clases Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones 'defines'