Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
819 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. *
  7. * cad08Sep93: Added Set
  8. * cad28Sep93: Made sure destructor(s) virtual
  9. * pcy08Apr94: Trim size, use static iterators, dead code removal
  10. * mwh30Jun94: add data member for SINGLETHREADED
  11. * cgm12Apr96: Add destructor with unregister
  12. */
  13. #ifndef BYPMODES_H
  14. #define BYPMODES_H
  15. #include "stsensor.h"
  16. _CLASSDEF(BypassModeSensor)
  17. class BypassModeSensor : public StateSensor {
  18. protected:
  19. INT theBypassCause;
  20. #ifdef SINGLETHREADED
  21. INT theAlreadyOnBypassFlag;
  22. #endif
  23. public:
  24. BypassModeSensor(PDevice aParent, PCommController aCommController = NULL);
  25. virtual ~BypassModeSensor();
  26. virtual INT IsA() const { return BYPASSMODESENSOR; };
  27. virtual INT Update(PEvent aEvent);
  28. virtual INT Get(INT aCode, PCHAR aValue);
  29. virtual INT Set(const PCHAR);
  30. };
  31. #endif