Example
Dependencies: FXAS21002 FXOS8700Q
simple-mbed-cloud-client/mbed-cloud-client/mbed-client/source/include/m2mnotificationhandler.h@0:11cc2b7889af, 2019-11-19 (annotated)
- Committer:
- maygup01
- Date:
- Tue Nov 19 09:49:38 2019 +0000
- Revision:
- 0:11cc2b7889af
Example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
maygup01 | 0:11cc2b7889af | 1 | /* |
maygup01 | 0:11cc2b7889af | 2 | * Copyright (c) 2018 ARM Limited. All rights reserved. |
maygup01 | 0:11cc2b7889af | 3 | * SPDX-License-Identifier: Apache-2.0 |
maygup01 | 0:11cc2b7889af | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
maygup01 | 0:11cc2b7889af | 5 | * not use this file except in compliance with the License. |
maygup01 | 0:11cc2b7889af | 6 | * You may obtain a copy of the License at |
maygup01 | 0:11cc2b7889af | 7 | * |
maygup01 | 0:11cc2b7889af | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
maygup01 | 0:11cc2b7889af | 9 | * |
maygup01 | 0:11cc2b7889af | 10 | * Unless required by applicable law or agreed to in writing, software |
maygup01 | 0:11cc2b7889af | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
maygup01 | 0:11cc2b7889af | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
maygup01 | 0:11cc2b7889af | 13 | * See the License for the specific language governing permissions and |
maygup01 | 0:11cc2b7889af | 14 | * limitations under the License. |
maygup01 | 0:11cc2b7889af | 15 | */ |
maygup01 | 0:11cc2b7889af | 16 | |
maygup01 | 0:11cc2b7889af | 17 | #ifndef M2MNOTIFICATIONHANDLER_H |
maygup01 | 0:11cc2b7889af | 18 | #define M2MNOTIFICATIONHANDLER_H |
maygup01 | 0:11cc2b7889af | 19 | |
maygup01 | 0:11cc2b7889af | 20 | #include "ns_types.h" |
maygup01 | 0:11cc2b7889af | 21 | #include "eventOS_event.h" |
maygup01 | 0:11cc2b7889af | 22 | |
maygup01 | 0:11cc2b7889af | 23 | class M2MNsdlInterface; |
maygup01 | 0:11cc2b7889af | 24 | class M2MNotificationHandler { |
maygup01 | 0:11cc2b7889af | 25 | |
maygup01 | 0:11cc2b7889af | 26 | public: |
maygup01 | 0:11cc2b7889af | 27 | M2MNotificationHandler(); |
maygup01 | 0:11cc2b7889af | 28 | |
maygup01 | 0:11cc2b7889af | 29 | ~M2MNotificationHandler(); |
maygup01 | 0:11cc2b7889af | 30 | |
maygup01 | 0:11cc2b7889af | 31 | void send_notification(M2MNsdlInterface *interface); |
maygup01 | 0:11cc2b7889af | 32 | |
maygup01 | 0:11cc2b7889af | 33 | private: |
maygup01 | 0:11cc2b7889af | 34 | void initialize_event(); |
maygup01 | 0:11cc2b7889af | 35 | |
maygup01 | 0:11cc2b7889af | 36 | private: |
maygup01 | 0:11cc2b7889af | 37 | static int8_t _tasklet_id; |
maygup01 | 0:11cc2b7889af | 38 | arm_event_storage_t _event; |
maygup01 | 0:11cc2b7889af | 39 | }; |
maygup01 | 0:11cc2b7889af | 40 | |
maygup01 | 0:11cc2b7889af | 41 | #endif // M2MNOTIFICATIONHANDLER_H |