00001 // 00002 // DISCLAIMER: 00003 // This software was produced by the National Institute of Standards 00004 // and Technology (NIST), an agency of the U.S. government, and by statute is 00005 // not subject to copyright in the United States. Recipients of this 00006 // software assume all responsibility associated with its operation, 00007 // modification,maintenance, and subsequent redistribution. 00008 // 00009 // See NIST Administration Manual 4.09.07 b and Appendix I. 00016 #pragma once 00017 #include "ippdme/ippdme.h" 00018 #include "ippdme/Command/ippOnMoveReportECommand.h" 00019 00020 // forward declaration to avoid header inclusion 00021 00022 class IPPDME_EXT_CLASS ippDaemon : public ippObject 00023 { 00024 public: 00025 int _tagNumber; 00026 00028 ippDaemon(); 00029 00031 //\param tagNumber : the tag number of the command that has generated the daemon 00032 ippDaemon( 00033 int tagNumber, 00034 ippOnMoveReportECommandConstPtr command 00035 ); 00036 00037 ippOnMoveReportECommandConstPtr getOnMoveReportECommand() const { return _command; } 00038 private: 00039 ippOnMoveReportECommandConstPtr _command; 00040 long _lastTimeServiced; 00041 double _lastX; 00042 double _lastY; 00043 double _lastZ; 00044 00045 private: 00046 //{@ 00047 ippDaemon(const ippDaemon&); 00048 void operator=(const ippDaemon&); 00050 }; 00051 IPP_DECLARE_SMARTPOINTER(ippDaemon);