OSVR-Core
0.6-1962-g59773924
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
GetVRPNConnection.h
Go to the documentation of this file.
1
11
// Copyright 2014 Sensics, Inc.
12
//
13
// Licensed under the Apache License, Version 2.0 (the "License");
14
// you may not use this file except in compliance with the License.
15
// You may obtain a copy of the License at
16
//
17
// http://www.apache.org/licenses/LICENSE-2.0
18
//
19
// Unless required by applicable law or agreed to in writing, software
20
// distributed under the License is distributed on an "AS IS" BASIS,
21
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
// See the License for the specific language governing permissions and
23
// limitations under the License.
24
25
#ifndef INCLUDED_GetVRPNConnection_h_GUID_008AFE04_5378_43B9_BE78_571F7C16D2DD
26
#define INCLUDED_GetVRPNConnection_h_GUID_008AFE04_5378_43B9_BE78_571F7C16D2DD
27
28
// Internal Includes
29
#include <osvr/VRPNServer/Export.h>
30
#include <osvr/PluginHost/PluginSpecificRegistrationContext.h>
31
#include <
osvr/Util/PluginRegContextC.h
>
32
33
// Library/third-party includes
34
// - none
35
36
// Standard includes
37
// - none
38
39
class
vrpn_Connection;
40
41
namespace
osvr
{
42
45
namespace
vrpnserver {
50
OSVR_VRPNSERVER_EXPORT vrpn_Connection *
51
getVRPNConnection
(
OSVR_PluginRegContext
ctx);
52
54
OSVR_VRPNSERVER_EXPORT vrpn_Connection *
getVRPNConnection
(
55
osvr::pluginhost::PluginSpecificRegistrationContext &context);
56
}
// namespace vrpnserver
58
}
// namespace osvr
59
60
#endif // INCLUDED_GetVRPNConnection_h_GUID_008AFE04_5378_43B9_BE78_571F7C16D2DD
osvr
The main namespace for all C++ elements of the framework, internal and external.
Definition:
ClientKit.h:31
osvr::vrpnserver::getVRPNConnection
vrpn_Connection * getVRPNConnection(OSVR_PluginRegContext ctx)
Retrieves the vrpn_Connection pointer from an OSVR_PluginRegContext.
PluginRegContextC.h
Header declaring the opaque plugin registration context type.
OSVR_PluginRegContext
OSVR_EXTERN_C_BEGIN typedef void * OSVR_PluginRegContext
A context pointer passed in to your plugin's entry point and other locations of control flow transfer...
Definition:
PluginRegContextC.h:47
osvr
VRPNServer
GetVRPNConnection.h
Generated on Tue May 16 2017 15:22:40 for OSVR-Core by
Doxygen
1.8.8