- class Simulation { 
-     ... 
-     /* 
-     Métodos virtuales públicos 
-     virtual bool getEstado(...); 
-     virtual bool getDato(...); 
-     virtual bool setDato(...); 
-     */ 
-   
- protected: 
-     bool estado; 
-     [b]static double temperatura;[/b] 
-   
- }; 
-   
- class AireAcondicionadoSimulation: public Simulation { 
-     /* 
-     AireAcondicionadoSimulation(); 
-     bool getEstado(...); 
-     bool getDato(...); 
-     bool setDato(...); 
-     */ 
-     [b]static bool cambiarT(double t);[/b] 
-   
- protected: 
-     double humedad; 
- }; 
-   
- class CalderaSimulation: public Simulation { 
-     ... 
- }; 
-