#ifndef TGO4WATCHRUNNABLE_H #define TGO4WATCHRUNNABLE_H #include "TGo4Runnable.h" #include "TGo4ExampleApplication.h" #include "TGo4ExampleClient.h" /** * runnable performing control watcher functions of example client task: * status of application is send to status queue * @stereotype thread */ class TGo4WatchRunnable : public TGo4Runnable { public: TGo4WatchRunnable(const char* name, TGo4ExampleClient* cli); virtual ~TGo4WatchRunnable(); virtual Int_t Run(void*); /** frequency in ms for the watcher runnable to check the application */ static const UInt_t fguWATCHINTERVAL;//! private: /** @supplierCardinality 1 * @directed * @clientCardinality 0..1*/ TGo4ExampleApplication * fxApplication;//! TGo4WatchRunnable(); }; #endif //TGO4WATCHRUNNABLE_H