Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more
This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.
Note, you must import this library with import name: events!!!
Diff: EventQueue.h
- Revision:
- 9827:e0aec41dde77
- Parent:
- 9826:8fd8270f98e4
--- a/EventQueue.h Fri Jun 02 15:11:51 2017 -0500
+++ b/EventQueue.h Tue Jun 20 14:20:38 2017 +0100
@@ -19,6 +19,7 @@
#include "equeue/equeue.h"
#include "platform/Callback.h"
+#include "platform/NonCopyable.h"
#include <cstddef>
#include <new>
@@ -47,7 +48,7 @@
* Flexible event queue for dispatching events
* @ingroup events
*/
-class EventQueue {
+class EventQueue : private mbed::NonCopyable<EventQueue> {
public:
/** Create an EventQueue
*