Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SignalStrategy Class Reference

#include <SignalStrategy.h>

Inheritance diagram for SignalStrategy:

CtrlCSignalStrategy List of all members.

Detailed Description

Register with the SignalController to handle asynch signals.

Inherit this class to create a handler for a specific system signal

Author:
Author
knoxy
Version:
Revision
1.3
Date:
Date
2004/11/12 03:53:19


Public Member Functions

virtual int handle_strategy (int sig, siginfo_t *info, void *context, SysHook &app_hook)=0


Member Function Documentation

virtual int SignalStrategy::handle_strategy int  sig,
siginfo_t *  info,
void *  context,
SysHook app_hook
[pure virtual]
 

Called by the SignalControler to handle a specific signal

A SignalStrategy is registered with the SignalController to handle a specific signal. The parameters passed to the SignalController by the system with the signal are passed to the SignalStrategy.

Parameters:
sig - The signal received
info - The siginfo_t structure passed by the system
context - Additional information passed by the system
app_hook - The SysHook accessor to system resources like the POA and ORB (be careful).

Implemented in CtrlCSignalStrategy.


The documentation for this class was generated from the following file: