25 #ifndef INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2
26 #define INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2
32 #include <boost/scoped_array.hpp>
52 boost::scoped_array<char> buf(
new char[len]);
54 ret.assign(buf.get());
60 #endif // INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2
The main namespace for all C++ elements of the framework, internal and external.
OSVR_ReturnCode osvrClientGetStringParameterLength(OSVR_ClientContext ctx, const char path[], size_t *len)
Get the length of a string parameter associated with the given path.
struct OSVR_ClientContextObject * OSVR_ClientContext
Opaque handle that should be retained by your application. You need only and exactly one...
std::string getStringParameter(OSVR_ClientContext ctx, const char path[])
Get a string parameter value from the given path.
OSVR_ReturnCode osvrClientGetStringParameter(OSVR_ClientContext ctx, const char path[], char *buf, size_t len)
Get a string parameter associated with the given path.