Implementation.  
More...
#include <osvr/JointClientKit/JointClientKitC.h>
#include "JointClientContext.h"
#include <osvr/Server/Server.h>
#include <osvr/Util/MacroToolsC.h>
#include <osvr/Util/Verbosity.h>
#include <functional>
#include <vector>
#include <memory>
#include <string>
Go to the source code of this file.
|  | 
| #define | OSVR_CHECK_OPTS | 
|  | 
| #define | OSVR_OPTS_SINGLE_SHOT(MEMBER, DESC) | 
|  | 
| #define | OSVR_OPTS_CHECK_STRING(PARAM, DESC) | 
|  | 
|  | 
| using | ServerOp = std::function< void(Server &)> | 
|  | 
|  | 
| OSVR_JointClientOpts | osvrJointClientCreateOptions () | 
|  | Creates an empty OSVR_JointClientOpts.  More... 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsAutoloadPlugins (OSVR_JointClientOpts opts) | 
|  | Queues up the autoloading of plugins. May only be called once per options object. 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsLoadPlugin (OSVR_JointClientOpts opts, const char *pluginName) | 
|  | Queues up the manual load of a plugin by name. 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsInstantiateDriver (OSVR_JointClientOpts opts, const char *pluginName, const char *driverName, const char *params) | 
|  | Queues up the manual instantiation of a plugin/driver by name with optional parameters (JSON). 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsAddAlias (OSVR_JointClientOpts opts, const char *path, const char *source) | 
|  | Queues up the manual addition of an alias to the path tree. 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsAddAliases (OSVR_JointClientOpts opts, const char *aliases) | 
|  | Queues up the manual addition of aliases specified in JSON to the path tree. 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsAddString (OSVR_JointClientOpts opts, const char *path, const char *s) | 
|  | Queues up the manual addition of a string element to the path tree. 
 | 
|  | 
| OSVR_ReturnCode | osvrJointClientOptionsTriggerHardwareDetect (OSVR_JointClientOpts opts) | 
|  | Queues up a trigger for hardware detection. 
 | 
|  | 
| OSVR_ClientContext | osvrJointClientInit (const char applicationIdentifier[], OSVR_JointClientOpts opts) | 
|  | Initialize the library, starting up a "joint" context that also contains a server.  More... 
 | 
|  | 
Implementation. 
- Date
- 2015
- Author
- Sensics, Inc. http://sensics.com/osvr 
Definition in file JointClientKitC.cpp.
Value:OSVR_UTIL_MULTILINE_BEGIN                                                  \
        OSVR_DEV_VERBOSE(                                                      \
            "Can't modify a null JointClientKit options object!");             \
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode. 
Definition at line 64 of file JointClientKitC.cpp.
 
 
      
        
          | #define OSVR_OPTS_SINGLE_SHOT | ( |  | MEMBER, | 
        
          |  |  |  | DESC | 
        
          |  | ) |  |  | 
      
 
Value:OSVR_UTIL_MULTILINE_BEGIN                                                  \
        OSVR_DEV_VERBOSE("Already queued " DESC                                \
                         " -- can't do it a second time!");                    \
    }                                                                          \
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode. 
Definition at line 73 of file JointClientKitC.cpp.
 
 
      
        
          | #define OSVR_OPTS_CHECK_STRING | ( |  | PARAM, | 
        
          |  |  |  | DESC | 
        
          |  | ) |  |  | 
      
 
Value:OSVR_UTIL_MULTILINE_BEGIN                                                  \
    if (nullptr == (PARAM) || '\0' == (PARAM)[0]) {                            \
        OSVR_DEV_VERBOSE("Invalid string passed for  " DESC                    \
                         " -- can't be null or empty!");                       \
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode. 
Definition at line 83 of file JointClientKitC.cpp.