25 #ifndef INCLUDED_ConfigureServerFromFile_h_GUID_9DA4C152_2AE4_4394_E19E_C0B7EA41804F 26 #define INCLUDED_ConfigureServerFromFile_h_GUID_9DA4C152_2AE4_4394_E19E_C0B7EA41804F 44 inline const char *getDefaultConfigFilename() {
45 return "osvr_server_config.json";
56 OSVR_SERVER_EXPORT
ServerPtr configureServerFromString(std::string
const &json);
62 std::vector<std::string>
const &configNames);
67 #endif // INCLUDED_ConfigureServerFromFile_h_GUID_9DA4C152_2AE4_4394_E19E_C0B7EA41804F The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
OSVR_SERVER_EXPORT ServerPtr configureServerFromFile(std::string const &configName)
This uses a file name to attempt to configure the server with that config file.
Definition: ConfigureServerFromFile.cpp:167
Header declaring osvr::server::Server.
OSVR_SERVER_EXPORT ServerPtr configureServerFromFirstFileInList(std::vector< std::string > const &configNames)
This iterates over a vector that contains a list of potential config files, and uses the first workin...
Definition: ConfigureServerFromFile.cpp:181
shared_ptr< Server > ServerPtr
How one should hold a Server.
Definition: ServerPtr.h:39
Header to include for OSVR-internal usage of the logging mechanism: provides the needed definition of...