5#ifndef ICE_UTIL_CTRL_C_HANDLER_H
6#define ICE_UTIL_CTRL_C_HANDLER_H
11#ifdef ICE_CPP11_MAPPING
24#ifdef ICE_CPP11_MAPPING
89#ifndef ICE_CPP11_MAPPING
#define ICE_API
Definition Config.h:197
#define ICE_NULLPTR
Definition Config.h:380
virtual std::string ice_id() const
Returns the type ID of this exception.
CtrlCHandlerException(const char *, int)
virtual CtrlCHandlerException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
~CtrlCHandler()
Unregisters the callback function.
CtrlCHandlerCallback getCallback() const
Obtains the signal callback.
CtrlCHandlerCallback setCallback(CtrlCHandlerCallback cb)
Replaces the signal callback.
CtrlCHandler(CtrlCHandlerCallback cb=0)
Registers a callback function that handles Ctrl-C like signals.
ExceptionHelper()
Definition Exception.h:164
CtrlCHandler(CtrlCHandlerCallback cb=0)
Registers a callback function that handles Ctrl-C like signals.
void(* CtrlCHandlerCallback)(int sig)
Invoked when a signal occurs.
Definition CtrlCHandler.h:27