GeneralWorklistMessageService.hpp 924 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /***************************************************************************
  2. * E-Com Technology Ltd.
  3. *
  4. * ECOMPACS DICOM Utility Libraries
  5. ***************************************************************************/
  6. #ifndef _INCLUDE_GENERAL_WORKLIST_MESSAGE_SERVICE_
  7. #define _INCLUDE_GENERAL_WORKLIST_MESSAGE_SERVICE_
  8. class GeneralWorklistMessageAgent;
  9. class DICOM_API GeneralWorklistMessageService
  10. {
  11. public:
  12. GeneralWorklistMessageService ();
  13. virtual ~GeneralWorklistMessageService();
  14. virtual BOOL Start (ServerPriority Priority);
  15. virtual BOOL Stop (void);
  16. virtual BOOL Suspend (void);
  17. virtual BOOL Resume (void);
  18. virtual BOOL Restart (void);
  19. protected:
  20. virtual void OnWorklistMessage (const DICOMDataSet * DDS) { }
  21. int RunCycle (void * Arg);
  22. void GetEventName (DString & EventName) const;
  23. private:
  24. static GeneralWorklistMessageAgent * m_pAgent;
  25. friend class GeneralWorklistMessageAgent;
  26. };
  27. #endif