MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / main

Function main

examples/clients/DisplayParameter.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include <iostream>
34
35int main() {
36 osvr::clientkit::ClientContext context(
37 "com.osvr.exampleclients.DisplayParameter");
38
39 std::string displayDescription = context.getStringParameter("/display");
40
41 std::cout << "Got value of /display:\n" << displayDescription << std::endl;
42
43 std::cout << "Library shut down, exiting." << std::endl;
44 return 0;
45}

Callers

nothing calls this directly

Calls 1

getStringParameterMethod · 0.45

Tested by

no test coverage detected