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!!!

Committer:
Emilio Monti
Date:
Tue Aug 06 12:05:04 2013 +0100
Revision:
560:a4e168a5ecf1
Child:
9819:9868adf24c93
Add Apache v2 LICENSE file

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Emilio Monti 560:a4e168a5ecf1 1 Apache License
Emilio Monti 560:a4e168a5ecf1 2 Version 2.0, January 2004
Emilio Monti 560:a4e168a5ecf1 3 http://www.apache.org/licenses/
Emilio Monti 560:a4e168a5ecf1 4
Emilio Monti 560:a4e168a5ecf1 5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Emilio Monti 560:a4e168a5ecf1 6
Emilio Monti 560:a4e168a5ecf1 7 1. Definitions.
Emilio Monti 560:a4e168a5ecf1 8
Emilio Monti 560:a4e168a5ecf1 9 "License" shall mean the terms and conditions for use, reproduction, and
Emilio Monti 560:a4e168a5ecf1 10 distribution as defined by Sections 1 through 9 of this document.
Emilio Monti 560:a4e168a5ecf1 11
Emilio Monti 560:a4e168a5ecf1 12 "Licensor" shall mean the copyright owner or entity authorized by the copyright
Emilio Monti 560:a4e168a5ecf1 13 owner that is granting the License.
Emilio Monti 560:a4e168a5ecf1 14
Emilio Monti 560:a4e168a5ecf1 15 "Legal Entity" shall mean the union of the acting entity and all other entities
Emilio Monti 560:a4e168a5ecf1 16 that control, are controlled by, or are under common control with that entity.
Emilio Monti 560:a4e168a5ecf1 17 For the purposes of this definition, "control" means (i) the power, direct or
Emilio Monti 560:a4e168a5ecf1 18 indirect, to cause the direction or management of such entity, whether by
Emilio Monti 560:a4e168a5ecf1 19 contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
Emilio Monti 560:a4e168a5ecf1 20 outstanding shares, or (iii) beneficial ownership of such entity.
Emilio Monti 560:a4e168a5ecf1 21
Emilio Monti 560:a4e168a5ecf1 22 "You" (or "Your") shall mean an individual or Legal Entity exercising
Emilio Monti 560:a4e168a5ecf1 23 permissions granted by this License.
Emilio Monti 560:a4e168a5ecf1 24
Emilio Monti 560:a4e168a5ecf1 25 "Source" form shall mean the preferred form for making modifications, including
Emilio Monti 560:a4e168a5ecf1 26 but not limited to software source code, documentation source, and configuration
Emilio Monti 560:a4e168a5ecf1 27 files.
Emilio Monti 560:a4e168a5ecf1 28
Emilio Monti 560:a4e168a5ecf1 29 "Object" form shall mean any form resulting from mechanical transformation or
Emilio Monti 560:a4e168a5ecf1 30 translation of a Source form, including but not limited to compiled object code,
Emilio Monti 560:a4e168a5ecf1 31 generated documentation, and conversions to other media types.
Emilio Monti 560:a4e168a5ecf1 32
Emilio Monti 560:a4e168a5ecf1 33 "Work" shall mean the work of authorship, whether in Source or Object form, made
Emilio Monti 560:a4e168a5ecf1 34 available under the License, as indicated by a copyright notice that is included
Emilio Monti 560:a4e168a5ecf1 35 in or attached to the work (an example is provided in the Appendix below).
Emilio Monti 560:a4e168a5ecf1 36
Emilio Monti 560:a4e168a5ecf1 37 "Derivative Works" shall mean any work, whether in Source or Object form, that
Emilio Monti 560:a4e168a5ecf1 38 is based on (or derived from) the Work and for which the editorial revisions,
Emilio Monti 560:a4e168a5ecf1 39 annotations, elaborations, or other modifications represent, as a whole, an
Emilio Monti 560:a4e168a5ecf1 40 original work of authorship. For the purposes of this License, Derivative Works
Emilio Monti 560:a4e168a5ecf1 41 shall not include works that remain separable from, or merely link (or bind by
Emilio Monti 560:a4e168a5ecf1 42 name) to the interfaces of, the Work and Derivative Works thereof.
Emilio Monti 560:a4e168a5ecf1 43
Emilio Monti 560:a4e168a5ecf1 44 "Contribution" shall mean any work of authorship, including the original version
Emilio Monti 560:a4e168a5ecf1 45 of the Work and any modifications or additions to that Work or Derivative Works
Emilio Monti 560:a4e168a5ecf1 46 thereof, that is intentionally submitted to Licensor for inclusion in the Work
Emilio Monti 560:a4e168a5ecf1 47 by the copyright owner or by an individual or Legal Entity authorized to submit
Emilio Monti 560:a4e168a5ecf1 48 on behalf of the copyright owner. For the purposes of this definition,
Emilio Monti 560:a4e168a5ecf1 49 "submitted" means any form of electronic, verbal, or written communication sent
Emilio Monti 560:a4e168a5ecf1 50 to the Licensor or its representatives, including but not limited to
Emilio Monti 560:a4e168a5ecf1 51 communication on electronic mailing lists, source code control systems, and
Emilio Monti 560:a4e168a5ecf1 52 issue tracking systems that are managed by, or on behalf of, the Licensor for
Emilio Monti 560:a4e168a5ecf1 53 the purpose of discussing and improving the Work, but excluding communication
Emilio Monti 560:a4e168a5ecf1 54 that is conspicuously marked or otherwise designated in writing by the copyright
Emilio Monti 560:a4e168a5ecf1 55 owner as "Not a Contribution."
Emilio Monti 560:a4e168a5ecf1 56
Emilio Monti 560:a4e168a5ecf1 57 "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
Emilio Monti 560:a4e168a5ecf1 58 of whom a Contribution has been received by Licensor and subsequently
Emilio Monti 560:a4e168a5ecf1 59 incorporated within the Work.
Emilio Monti 560:a4e168a5ecf1 60
Emilio Monti 560:a4e168a5ecf1 61 2. Grant of Copyright License.
Emilio Monti 560:a4e168a5ecf1 62
Emilio Monti 560:a4e168a5ecf1 63 Subject to the terms and conditions of this License, each Contributor hereby
Emilio Monti 560:a4e168a5ecf1 64 grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
Emilio Monti 560:a4e168a5ecf1 65 irrevocable copyright license to reproduce, prepare Derivative Works of,
Emilio Monti 560:a4e168a5ecf1 66 publicly display, publicly perform, sublicense, and distribute the Work and such
Emilio Monti 560:a4e168a5ecf1 67 Derivative Works in Source or Object form.
Emilio Monti 560:a4e168a5ecf1 68
Emilio Monti 560:a4e168a5ecf1 69 3. Grant of Patent License.
Emilio Monti 560:a4e168a5ecf1 70
Emilio Monti 560:a4e168a5ecf1 71 Subject to the terms and conditions of this License, each Contributor hereby
Emilio Monti 560:a4e168a5ecf1 72 grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
Emilio Monti 560:a4e168a5ecf1 73 irrevocable (except as stated in this section) patent license to make, have
Emilio Monti 560:a4e168a5ecf1 74 made, use, offer to sell, sell, import, and otherwise transfer the Work, where
Emilio Monti 560:a4e168a5ecf1 75 such license applies only to those patent claims licensable by such Contributor
Emilio Monti 560:a4e168a5ecf1 76 that are necessarily infringed by their Contribution(s) alone or by combination
Emilio Monti 560:a4e168a5ecf1 77 of their Contribution(s) with the Work to which such Contribution(s) was
Emilio Monti 560:a4e168a5ecf1 78 submitted. If You institute patent litigation against any entity (including a
Emilio Monti 560:a4e168a5ecf1 79 cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Emilio Monti 560:a4e168a5ecf1 80 Contribution incorporated within the Work constitutes direct or contributory
Emilio Monti 560:a4e168a5ecf1 81 patent infringement, then any patent licenses granted to You under this License
Emilio Monti 560:a4e168a5ecf1 82 for that Work shall terminate as of the date such litigation is filed.
Emilio Monti 560:a4e168a5ecf1 83
Emilio Monti 560:a4e168a5ecf1 84 4. Redistribution.
Emilio Monti 560:a4e168a5ecf1 85
Emilio Monti 560:a4e168a5ecf1 86 You may reproduce and distribute copies of the Work or Derivative Works thereof
Emilio Monti 560:a4e168a5ecf1 87 in any medium, with or without modifications, and in Source or Object form,
Emilio Monti 560:a4e168a5ecf1 88 provided that You meet the following conditions:
Emilio Monti 560:a4e168a5ecf1 89
Emilio Monti 560:a4e168a5ecf1 90 You must give any other recipients of the Work or Derivative Works a copy of
Emilio Monti 560:a4e168a5ecf1 91 this License; and
Emilio Monti 560:a4e168a5ecf1 92 You must cause any modified files to carry prominent notices stating that You
Emilio Monti 560:a4e168a5ecf1 93 changed the files; and
Emilio Monti 560:a4e168a5ecf1 94 You must retain, in the Source form of any Derivative Works that You distribute,
Emilio Monti 560:a4e168a5ecf1 95 all copyright, patent, trademark, and attribution notices from the Source form
Emilio Monti 560:a4e168a5ecf1 96 of the Work, excluding those notices that do not pertain to any part of the
Emilio Monti 560:a4e168a5ecf1 97 Derivative Works; and
Emilio Monti 560:a4e168a5ecf1 98 If the Work includes a "NOTICE" text file as part of its distribution, then any
Emilio Monti 560:a4e168a5ecf1 99 Derivative Works that You distribute must include a readable copy of the
Emilio Monti 560:a4e168a5ecf1 100 attribution notices contained within such NOTICE file, excluding those notices
Emilio Monti 560:a4e168a5ecf1 101 that do not pertain to any part of the Derivative Works, in at least one of the
Emilio Monti 560:a4e168a5ecf1 102 following places: within a NOTICE text file distributed as part of the
Emilio Monti 560:a4e168a5ecf1 103 Derivative Works; within the Source form or documentation, if provided along
Emilio Monti 560:a4e168a5ecf1 104 with the Derivative Works; or, within a display generated by the Derivative
Emilio Monti 560:a4e168a5ecf1 105 Works, if and wherever such third-party notices normally appear. The contents of
Emilio Monti 560:a4e168a5ecf1 106 the NOTICE file are for informational purposes only and do not modify the
Emilio Monti 560:a4e168a5ecf1 107 License. You may add Your own attribution notices within Derivative Works that
Emilio Monti 560:a4e168a5ecf1 108 You distribute, alongside or as an addendum to the NOTICE text from the Work,
Emilio Monti 560:a4e168a5ecf1 109 provided that such additional attribution notices cannot be construed as
Emilio Monti 560:a4e168a5ecf1 110 modifying the License.
Emilio Monti 560:a4e168a5ecf1 111 You may add Your own copyright statement to Your modifications and may provide
Emilio Monti 560:a4e168a5ecf1 112 additional or different license terms and conditions for use, reproduction, or
Emilio Monti 560:a4e168a5ecf1 113 distribution of Your modifications, or for any such Derivative Works as a whole,
Emilio Monti 560:a4e168a5ecf1 114 provided Your use, reproduction, and distribution of the Work otherwise complies
Emilio Monti 560:a4e168a5ecf1 115 with the conditions stated in this License.
Emilio Monti 560:a4e168a5ecf1 116
Emilio Monti 560:a4e168a5ecf1 117 5. Submission of Contributions.
Emilio Monti 560:a4e168a5ecf1 118
Emilio Monti 560:a4e168a5ecf1 119 Unless You explicitly state otherwise, any Contribution intentionally submitted
Emilio Monti 560:a4e168a5ecf1 120 for inclusion in the Work by You to the Licensor shall be under the terms and
Emilio Monti 560:a4e168a5ecf1 121 conditions of this License, without any additional terms or conditions.
Emilio Monti 560:a4e168a5ecf1 122 Notwithstanding the above, nothing herein shall supersede or modify the terms of
Emilio Monti 560:a4e168a5ecf1 123 any separate license agreement you may have executed with Licensor regarding
Emilio Monti 560:a4e168a5ecf1 124 such Contributions.
Emilio Monti 560:a4e168a5ecf1 125
Emilio Monti 560:a4e168a5ecf1 126 6. Trademarks.
Emilio Monti 560:a4e168a5ecf1 127
Emilio Monti 560:a4e168a5ecf1 128 This License does not grant permission to use the trade names, trademarks,
Emilio Monti 560:a4e168a5ecf1 129 service marks, or product names of the Licensor, except as required for
Emilio Monti 560:a4e168a5ecf1 130 reasonable and customary use in describing the origin of the Work and
Emilio Monti 560:a4e168a5ecf1 131 reproducing the content of the NOTICE file.
Emilio Monti 560:a4e168a5ecf1 132
Emilio Monti 560:a4e168a5ecf1 133 7. Disclaimer of Warranty.
Emilio Monti 560:a4e168a5ecf1 134
Emilio Monti 560:a4e168a5ecf1 135 Unless required by applicable law or agreed to in writing, Licensor provides the
Emilio Monti 560:a4e168a5ecf1 136 Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
Emilio Monti 560:a4e168a5ecf1 137 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
Emilio Monti 560:a4e168a5ecf1 138 including, without limitation, any warranties or conditions of TITLE,
Emilio Monti 560:a4e168a5ecf1 139 NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
Emilio Monti 560:a4e168a5ecf1 140 solely responsible for determining the appropriateness of using or
Emilio Monti 560:a4e168a5ecf1 141 redistributing the Work and assume any risks associated with Your exercise of
Emilio Monti 560:a4e168a5ecf1 142 permissions under this License.
Emilio Monti 560:a4e168a5ecf1 143
Emilio Monti 560:a4e168a5ecf1 144 8. Limitation of Liability.
Emilio Monti 560:a4e168a5ecf1 145
Emilio Monti 560:a4e168a5ecf1 146 In no event and under no legal theory, whether in tort (including negligence),
Emilio Monti 560:a4e168a5ecf1 147 contract, or otherwise, unless required by applicable law (such as deliberate
Emilio Monti 560:a4e168a5ecf1 148 and grossly negligent acts) or agreed to in writing, shall any Contributor be
Emilio Monti 560:a4e168a5ecf1 149 liable to You for damages, including any direct, indirect, special, incidental,
Emilio Monti 560:a4e168a5ecf1 150 or consequential damages of any character arising as a result of this License or
Emilio Monti 560:a4e168a5ecf1 151 out of the use or inability to use the Work (including but not limited to
Emilio Monti 560:a4e168a5ecf1 152 damages for loss of goodwill, work stoppage, computer failure or malfunction, or
Emilio Monti 560:a4e168a5ecf1 153 any and all other commercial damages or losses), even if such Contributor has
Emilio Monti 560:a4e168a5ecf1 154 been advised of the possibility of such damages.
Emilio Monti 560:a4e168a5ecf1 155
Emilio Monti 560:a4e168a5ecf1 156 9. Accepting Warranty or Additional Liability.
Emilio Monti 560:a4e168a5ecf1 157
Emilio Monti 560:a4e168a5ecf1 158 While redistributing the Work or Derivative Works thereof, You may choose to
Emilio Monti 560:a4e168a5ecf1 159 offer, and charge a fee for, acceptance of support, warranty, indemnity, or
Emilio Monti 560:a4e168a5ecf1 160 other liability obligations and/or rights consistent with this License. However,
Emilio Monti 560:a4e168a5ecf1 161 in accepting such obligations, You may act only on Your own behalf and on Your
Emilio Monti 560:a4e168a5ecf1 162 sole responsibility, not on behalf of any other Contributor, and only if You
Emilio Monti 560:a4e168a5ecf1 163 agree to indemnify, defend, and hold each Contributor harmless for any liability
Emilio Monti 560:a4e168a5ecf1 164 incurred by, or claims asserted against, such Contributor by reason of your
Emilio Monti 560:a4e168a5ecf1 165 accepting any such warranty or additional liability.