#include #ifndef MONITOR_TEST_SERVICE_API #define MONITOR_TEST_SERVICE_API #endif // ***************************************************************************** // * newMonitorTestService : // * This function will be called by the cdevSystem object to create an // * initial instance of the MonitorTestService. // ***************************************************************************** extern "C" MONITOR_TEST_SERVICE_API cdevService * newMonitorTestService ( char * name, cdevSystem * system ); // ***************************************************************************** // * class MonitorTestService : // * This class simply inherits from the cdevClientService and must define // * only a constructor and destructor. // ***************************************************************************** class MonitorTestService : public cdevClientService { public: MonitorTestService ( char * name, cdevSystem & system = cdevSystem::defaultSystem()); protected: int RESULT_CODE_TAG; virtual ~MonitorTestService ( void ) {}; virtual void fireCallback ( int status, cdevTranObj &xobj, cdevData *resultData, int partialTransaction = 0 ); };