NAME
Oorb::SignalMgrTask - Signal-manager task for the oorb library
SYNOPSIS
-loorb $(ORBLIBS)
#include "oorb.h"
namespace Oorb
class SignalMgrTask
DESCRIPTION
The
SignalMgrTask class is used internally by the
Oorb(3)
library. The
Oorb::Master(3) class within an
Oorb(3)-library
based program automatically instantiates and calls the
run method
on an object of the
SignalMgrTask class.
The
SignalMgrTask's main job is to await system-level signals
such as
SIGHUP,
SIGINT,
SIGQUIT, and
SIGTERM.
If one of these is caught, the class's
run method will trigger
shutdown of the entire program by calling the
requestProgramStop
method of the governing
Oorb::Master(3) object.
CONSTRUCTORS
-
SignalMgrTask( void )
The SignalMgrTask constructor is invoked automatically from
within the Oorb::Master(3) run method and should not
need to be called by application programmers.
METHODS
-
void run( void );
The SignalMgrTask's run method is invoked automatically from
within the Oorb::Master(3) run method and should not
need to be called by application programmers.
LIBRARY
-loorb $(ORBLIBS)
ATTRIBUTES
MT-Safe
SEE ALSO
Oorb(3), Oorb::Task(3), Oorb::Master(3)
BUGS AND CAVEATS
Attempts to set the
run state of the
SignalMgrTask to
false
will be ignored.
AUTHOR
Kent Lindquist