00001 //---------------------------------------------------------------------------// 00002 // Autor: Jose Manuel Toledo Fernandez // 00003 // Fecha: 1-3-2006 // 00004 // Nombre hiloppal.h // 00005 // // 00006 // Descripcion: Este fichero contiene el hilo principal de la aplicación // 00007 // se encarga de gestionar todas la tramas que recibimos por // 00008 // la cola de pilas // 00009 //---------------------------------------------------------------------------// 00010 #ifndef hiloppalH 00011 #define hiloppalH 00012 //--------------------------------------------------------------------------- 00015 #include <Classes.hpp> 00016 00017 #include "gestionTrama.h" 00018 #include "Plano\CNorte.h" 00019 #include "Plano\MPlano.h" 00020 //--------------------------------------------------------------------------- 00021 class THiloPpal : public TThread 00022 { 00023 private: 00024 protected: 00026 void __fastcall Execute(); 00027 public: 00028 Trama *tm; 00029 Trama *Est; 00030 TCriticalSection *SC; 00032 void CopiaTrama(); 00033 __fastcall THiloPpal(bool CreateSuspended); 00034 }; 00035 //--------------------------------------------------------------------------- 00036 #endif