OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
RegisterShutdownHandler.h File Reference

Header to register a handler for cross-platform shutdown/terminate signals. WARNING: includes windows.h on Windows platforms, can't prevent it! More...

Go to the source code of this file.

Namespaces

 osvr
 <
 
 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

Definition in file RegisterShutdownHandler.h.

Macro Definition Documentation

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

Definition at line 53 of file RegisterShutdownHandler.h.