PageRenderTime 87ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/src/DeviceObject.hpp

https://bitbucket.org/ayufan/ayuine2b
C++ Header | 43 lines | 19 code | 8 blank | 16 comment | 0 complexity | 29f47f53a0390ad6a2be038aaeb94d64 MD5 | raw file
  1. //------------------------------------//
  2. //
  3. // DeviceObject.hpp
  4. //
  5. // Author: ayufan (ayufan[at]o2.pl)
  6. // Project: ayuine2
  7. // Date: 2006-8-14
  8. //
  9. //------------------------------------//
  10. #pragma once
  11. namespace ayuine
  12. {
  13. //------------------------------------//
  14. // DeviceObject class
  15. class DeviceObject : public Object
  16. {
  17. ObjectType(DeviceObject, Object, 0);
  18. // Fields
  19. private:
  20. List<DeviceObject> _itor;
  21. // Constructor
  22. protected:
  23. AYUAPI DeviceObject();
  24. // Destructor
  25. public:
  26. AYUAPI virtual ~DeviceObject();
  27. // Methods
  28. public:
  29. AYUAPI virtual u32 type();
  30. AYUAPI virtual void deviceReset(bool theBegin);
  31. AYUAPI virtual void deviceLost(bool theEnd);
  32. // Friends
  33. friend class Device;
  34. };
  35. };