39 common::ClientContext *createContext(
const char appId[],
41 common::ClientContext *ret =
nullptr;
42 if (!appId || std::strlen(appId) == 0) {
43 OSVR_DEV_VERBOSE(
"Could not create client context - null or empty "
47 ret = common::makeContext<PureClientContext>(appId, host);
51 common::ClientContext *
52 createAnalysisClientContext(
const char appId[],
const char host[],
53 vrpn_ConnectionPtr
const &conn) {
54 common::ClientContext *ret =
nullptr;
55 if (!appId || !appId[0]) {
56 OSVR_DEV_VERBOSE(
"Could not create analysis client context - null "
57 "or empty appId provided!");
61 if (!host || !host[0]) {
62 OSVR_DEV_VERBOSE(
"Could not create analysis client context - null "
63 "or empty host provided!");
68 OSVR_DEV_VERBOSE(
"Could not create analysis client context - null "
69 "connection provided!");
73 ret = common::makeContext<AnalysisClientContext>(appId, host, conn);
Internal, configured header file for verbosity macros.