Header. More...
#include <osvr/Server/ConfigureServer.h>#include <osvr/Server/Server.h>#include <osvr/Util/Logger.h>#include <osvr/Util/LogNames.h>#include <vector>#include <string>Go to the source code of this file.
Namespaces | |
| osvr | |
| < | |
| osvr::server | |
| Server functionality. | |
Functions | |
| const char * | osvr::server::getDefaultConfigFilename () |
| OSVR_SERVER_EXPORT ServerPtr | osvr::server::configureServerFromFile (std::string const &configName) |
| This uses a file name to attempt to configure the server with that config file. Pass an empty string to use the default config. This is the basic common code of a server app's setup, ripped out of the main server app to make alternate server-acting apps simpler to develop. | |
| OSVR_SERVER_EXPORT ServerPtr | osvr::server::configureServerFromString (std::string const &json) |
| OSVR_SERVER_EXPORT ServerPtr | osvr::server::configureServerFromFirstFileInList (std::vector< std::string > const &configNames) |
| This iterates over a vector that contains a list of potential config files, and uses the first working one to create the server instance. | |