CommThread.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /****************************************************************************
  2. * @source : CommThread.h
  3. * @description : Comm Thread class header
  4. ****************************************************************************
  5. * DATE AUTHOR DESCRIPTION
  6. * --------------------------------------------------------------------------
  7. * 2012/03/09 CYM [100] First Cut
  8. *
  9. ****************************************************************************/
  10. //---------------------------------------------------------------------------
  11. #ifndef CommThreadH
  12. #define CommThreadH
  13. //---------------------------------------------------------------------------
  14. #include <Classes.hpp>
  15. #include "ITSLogF.h"
  16. //---------------------------------------------------------------------------
  17. class TCommThread : public TThread
  18. {
  19. private:
  20. protected:
  21. void __fastcall Execute();
  22. public:
  23. __fastcall TCommThread(void);
  24. __fastcall TCommThread(bool CreateSuspended);
  25. __fastcall ~TCommThread(void);
  26. void DisplayMsg(unsigned int AMsg);
  27. IPC_LOG_MESSAGE FLogMsg;
  28. int LogWrite(int ALogKind, char *AFmt, ...);
  29. };
  30. //---------------------------------------------------------------------------
  31. #endif