25 #ifndef INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3 26 #define INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3 29 #include <osvr/Common/Export.h> 32 #include <boost/noncopyable.hpp> 52 bool isUp()
const {
return m_up; }
59 std::string
const &
getError()
const {
return m_err; }
78 #endif // INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3 std::string const & getError() const
Get error message, if any.
Definition: NetworkingSupport.h:59
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
bool wasSuccessful() const
Get whether the last operation (automatic startup or manual, early shutdown) was successful.
Definition: NetworkingSupport.h:56
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
bool isUp() const
Get whether the networking system is successfully "up".
Definition: NetworkingSupport.h:52
OSVR_COMMON_EXPORT ~NetworkingSupport()
Destructor.
Definition: NetworkingSupport.cpp:88
RAII class wrapping networking system startup.
Definition: NetworkingSupport.h:43
void shutdown()
Shutdown before destruction.
Definition: NetworkingSupport.cpp:95
OSVR_COMMON_EXPORT NetworkingSupport()
Constructor.
Definition: NetworkingSupport.cpp:84