OSVR-Core
Namespaces | Macros | Typedefs
RegisterShutdownHandler.h File Reference

Header to register a handler for cross-platform shutdown/terminate signals. More...

#include <osvr/Server/RegisterShutdownHandlerPOSIXSignal.h>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::server
 Server functionality.
 

Macros

#define OSVR_USE_POSIX_SIGNAL_SHUTDOWN_HANDLER
 

Typedefs

typedef void(* osvr::server::ShutdownHandler) ()
 The type of a shutdown handler callback.
 

Detailed Description

Header to register a handler for cross-platform shutdown/terminate signals.

WARNING: includes windows.h on Windows platforms, can't prevent it!

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr

Macro Definition Documentation

§ OSVR_USE_POSIX_SIGNAL_SHUTDOWN_HANDLER

#define OSVR_USE_POSIX_SIGNAL_SHUTDOWN_HANDLER
Todo:
the world isn't just Win32 and POSIX signal()