/**
* @file Common/ieventqueue.h
- * @brief Event queue interfaces
+ * @brief Event queue interface
* @author Enar Vaikene
*
* Copyright (c) 2011 Enar Vaikene
namespace eVaf {
namespace Common {
+class Event;
+
/**
* The eVaf event queue interface
* @code#include <Common/iEventQueue>@endcode
/// Empty virtual destructor
virtual ~iEventQueue() {}
+ /**
+ * Returns the instance of the iEventQueue interface
+ * @return The iEventQueue interface
+ */
+ static iEventQueue * instance();
+
/**
* Registers an event
* @param name Name of the event
* Subscribes to an event
* @param id The ID of the event (can be zero)
* @param obj The subscriber object
- * @param return The ID of the event; or zero if failed to subscribe
+ * @return The ID of the event; or zero if failed to subscribe
*
* This function subscribes to an event identified by the ID value. Every object that wants to
* receive specific events, needs to subscribe to them.