123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- #ifndef _ARGUS_EVENT_QUEUE_H
- #define _ARGUS_EVENT_QUEUE_H
- namespace Argus
- {
- class EventQueue : public InterfaceProvider, public Destructable
- {
- protected:
- ~EventQueue() {}
- };
- DEFINE_UUID(InterfaceID, IID_EVENT_QUEUE, 944b11f6,e512,49ad,8573,fc,82,3e,02,25,ed);
- class IEventQueue : public Interface
- {
- public:
- static const InterfaceID& id() { return IID_EVENT_QUEUE; }
-
- virtual Status getEventTypes(std::vector<EventType>* types) const = 0;
-
- virtual const Event* getNextEvent() = 0;
-
- virtual uint32_t getSize() const = 0;
-
- virtual const Event* getEvent(uint32_t index) const = 0;
- protected:
- ~IEventQueue() {}
- };
- }
- #endif
|