This is a fork of the `events` subdirectory of https://github.com/ARMmbed/mbed-os
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
!!!
mbed_events.h@0:a792d4bf36c2, 2016-09-29 (annotated)
- Committer:
- Bogdan Marinescu
- Date:
- Thu Sep 29 12:38:02 2016 +0300
- Revision:
- 0:a792d4bf36c2
- Child:
- 2:a60d8117d0e0
Added mbed-events library
Added mbed-events from https://github.com/ARMMbed/mbed-events. Changes
from upstream:
- the whole code is licensed under the Apache license. Sources and
headers were updates with this information.
- removed the porting layers for Windows and FreeRTOS and the references
to these porting layers in equeue_platform.h.
- moved the TESTS directory in mbed-events to the TESTS directory of
mbed-os.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bogdan Marinescu |
0:a792d4bf36c2 | 1 | /* events |
Bogdan Marinescu |
0:a792d4bf36c2 | 2 | * Copyright (c) 2016 ARM Limited |
Bogdan Marinescu |
0:a792d4bf36c2 | 3 | * |
Bogdan Marinescu |
0:a792d4bf36c2 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Bogdan Marinescu |
0:a792d4bf36c2 | 5 | * you may not use this file except in compliance with the License. |
Bogdan Marinescu |
0:a792d4bf36c2 | 6 | * You may obtain a copy of the License at |
Bogdan Marinescu |
0:a792d4bf36c2 | 7 | * |
Bogdan Marinescu |
0:a792d4bf36c2 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Bogdan Marinescu |
0:a792d4bf36c2 | 9 | * |
Bogdan Marinescu |
0:a792d4bf36c2 | 10 | * Unless required by applicable law or agreed to in writing, software |
Bogdan Marinescu |
0:a792d4bf36c2 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Bogdan Marinescu |
0:a792d4bf36c2 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Bogdan Marinescu |
0:a792d4bf36c2 | 13 | * See the License for the specific language governing permissions and |
Bogdan Marinescu |
0:a792d4bf36c2 | 14 | * limitations under the License. |
Bogdan Marinescu |
0:a792d4bf36c2 | 15 | */ |
Bogdan Marinescu |
0:a792d4bf36c2 | 16 | #ifndef MBED_EVENTS_H |
Bogdan Marinescu |
0:a792d4bf36c2 | 17 | #define MBED_EVENTS_H |
Bogdan Marinescu |
0:a792d4bf36c2 | 18 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 19 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 20 | #include "equeue/equeue.h" |
Bogdan Marinescu |
0:a792d4bf36c2 | 21 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 22 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 23 | #ifdef __cplusplus |
Bogdan Marinescu |
0:a792d4bf36c2 | 24 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 25 | #include "EventQueue.h" |
Bogdan Marinescu |
0:a792d4bf36c2 | 26 | #include "Event.h" |
Bogdan Marinescu |
0:a792d4bf36c2 | 27 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 28 | using namespace events; |
Bogdan Marinescu |
0:a792d4bf36c2 | 29 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 30 | #endif |
Bogdan Marinescu |
0:a792d4bf36c2 | 31 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 32 | |
Bogdan Marinescu |
0:a792d4bf36c2 | 33 | #endif |