Turi Create
4.0
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
c
d
f
g
m
s
Typedefs
Enumerations
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
capi_initialization.hpp
1
/* Copyright © 2018 Apple Inc. All rights reserved.
2
*
3
* Use of this source code is governed by a BSD-3-clause license that can
4
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5
*/
6
#ifndef TURI_CAPI_INITIALIZATION
7
#define TURI_CAPI_INITIALIZATION
8
9
#include <model_server/lib/unity_global.hpp>
10
11
namespace
turi
{
12
13
/** The server initializer function.
14
*
15
* This function creates the server initializer for the C-API, which is what
16
* determines which models and functions are registered to the unity sever,
17
* which then determines what models are packaged in the framework and
18
* available from the C-API.
19
*
20
* In some cases, it may be desirable to have a custom server initializer, for
21
* example if only a subset of the models are needed. In this case, define the
22
* macro CAPI_DISABLE_DEFAULT_SERVER_INITIALIZER and create a custom
23
* implementation of that function to be compiled in. In addition, the CMakeLists.txt
24
*/
25
std::shared_ptr<turi::unity_server_initializer>
capi_server_initializer
();
26
27
}
28
29
#endif
turi::capi_server_initializer
std::shared_ptr< turi::unity_server_initializer > capi_server_initializer()
turi
SKD.
Definition:
capi_initialization.hpp:11
capi
impl
capi_initialization.hpp
Generated by
1.8.13