//--------------------------------------------------------------------------- #ifndef ChartThreadH #define ChartThreadH //--------------------------------------------------------------------------- #include #include "test.h" #include #define NUM_PROFILES 10 #define RECEIVE_TIMEOUT 20000 //--------------------------------------------------------------------------- typedef struct { short int* memory; unsigned int profileWidth; double xResolution; double zResolution; double xOffset; double zOffset; }DataContext; //--------------------------------------------------------------------------- class ChartThread : public TThread { private: int j; unsigned int xz; protected: void __fastcall Execute(); public: __fastcall ChartThread(void); void __fastcall DataChart(); }; //--------------------------------------------------------------------------- #endif