OSVR-Core
ServerAutoStartC.h
Go to the documentation of this file.
1 
13 /*
14 // Copyright 2016 Sensics, Inc.
15 //
16 // Licensed under the Apache License, Version 2.0 (the "License");
17 // you may not use this file except in compliance with the License.
18 // You may obtain a copy of the License at
19 //
20 // http://www.apache.org/licenses/LICENSE-2.0
21 //
22 // Unless required by applicable law or agreed to in writing, software
23 // distributed under the License is distributed on an "AS IS" BASIS,
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 // See the License for the specific language governing permissions and
26 // limitations under the License.
27 */
28 
29 #ifndef INCLUDED_ServerAutoStartC_h_GUID_126F2ADB_CC3E_4F99_86FA_0A58DC9490F6
30 #define INCLUDED_ServerAutoStartC_h_GUID_126F2ADB_CC3E_4F99_86FA_0A58DC9490F6
31 
32 /* Internal Includes */
33 #include <osvr/ClientKit/Export.h>
34 #include <osvr/Util/APIBaseC.h>
35 
36 /* Library/third-party includes */
37 /* none */
38 
39 /* Standard includes */
40 /* none */
41 
42 OSVR_EXTERN_C_BEGIN
43 
52 OSVR_CLIENTKIT_EXPORT void osvrClientAttemptServerAutoStart();
53 
56 OSVR_CLIENTKIT_EXPORT void osvrClientReleaseAutoStartedServer();
57 
59 OSVR_EXTERN_C_END
60 
61 #endif
Header providing basic C macros for defining API headers.
OSVR_CLIENTKIT_EXPORT void osvrClientAttemptServerAutoStart()
Ensures the OSVR server process/thread is running.
Definition: ServerAutoStartC.cpp:48
OSVR_CLIENTKIT_EXPORT void osvrClientReleaseAutoStartedServer()
Ensures any OSVR server-related resources in the client are released.
Definition: ServerAutoStartC.cpp:90