upm
0.8.0
Sensor/Actuator repository for libmraa (v1.1.1)
Main Page
Related Pages
UPM Libraries
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
src
nrf24l01
Callback.hpp
1
#pragma once
2
3
#if defined(SWIGJAVA) || defined(JAVACALLBACK)
4
class
Callback
5
{
6
public
:
7
virtual
~Callback()
8
{
9
}
10
virtual
void
run()
11
{
/* empty, overloaded in Java*/
12
}
13
};
14
15
16
static
void
generic_callback (Callback* callback)
17
{
18
if
(callback == NULL)
19
return
;
20
callback->run();
21
}
22
#endif
Generated on Fri Oct 28 2016 05:04:13 for upm by
1.8.6