Milosch Meriac / CThunk

Dependents:   cthunk_example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers thunk.h Source File

thunk.h

00001 /* General C++ Object Thunking classes
00002  *
00003  * - allows direct callbacks to non-static C++ class functions
00004  * - keeps track for the corresponding class instance
00005  * - supports an optional context parameter for the called function
00006  * - ideally suited for class object receiving interrupts (NVIC_SetVector)
00007  *
00008  * Copyright (c) 2014 ARM Limited
00009  *
00010  * Licensed under the Apache License, Version 2.0 (the "License");
00011  * you may not use this file except in compliance with the License.
00012  * You may obtain a copy of the License at
00013  *
00014  *     http://www.apache.org/licenses/LICENSE-2.0
00015  *
00016  * Unless required by applicable law or agreed to in writing, software
00017  * distributed under the License is distributed on an "AS IS" BASIS,
00018  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00019  * See the License for the specific language governing permissions and
00020  * limitations under the License.
00021  */
00022  
00023  #ifndef __THUNK_H__
00024  #define __THUNK_H__
00025  
00026  #include "CThunk.h"
00027  #include "CThunkIRQ.h"
00028  
00029  #endif/*__THUNK_H__*/