![]() |
VectorNav C++ Library
|
Provides access to system signals. More...
#include <signal.h>
Classes | |
| class | Observer |
| Allows for other objects to listen for signal events. More... | |
Public Types | |
| enum | SignalType { UNKNOWN, CTRL_C } |
| The available signals. More... | |
| typedef bool(* | HandleSignalFunc) (Signal signal) |
| Typedef for a function that can handle signal notifications. More... | |
Static Public Member Functions | |
| static void | RegisterForSignalNotifications (HandleSignalFunc handleFunc) |
| Allows registering to receive notifications of system signals. More... | |
| static void | UnregisterForSignalNotifications (HandleSignalFunc handleFunc) |
| Allows unregistering from receiving signal notifications. More... | |
| static void | RegisterSignalObserver (Observer *observer) |
| Allows registering an observer for notification when a signal is received. More... | |
| static void | UnregisterSignalObserver (Observer *observer) |
| Allows unregistering of an observer from being notified when a signal is received. More... | |
Provides access to system signals.
| typedef bool(* vn::xplat::Signal::HandleSignalFunc) (Signal signal) |
Typedef for a function that can handle signal notifications.
| [in] | signal | The signal type received. |
|
static |
Allows registering to receive notifications of system signals.
| [in] | handleFunc | Function to call when signals are received. |
|
static |
Allows registering an observer for notification when a signal is received.
| [in] | observer | The observer to register. |
|
static |
Allows unregistering from receiving signal notifications.
| [in] | handleFunc | The function to unregister. |
|
static |
Allows unregistering of an observer from being notified when a signal is received.
| [in] | observer | The observer to unregister. |
1.8.10