BoilerPlate: Reusable CORBA |
#include <BasicOrbRunStrategy.h>
Inheritance diagram for BasicOrbRunStrategy:

The simplest run strategy simply calls ORB::run with the thread that calls apply(ORB_ptr, POA_ptr, ConfigMap). This is usually the main thread. An OrbRunStrategy is expected to call ORB::run
See Thread Model Configuration for more information
Public Member Functions | |
| BasicOrbRunStrategy () | |
| virtual | ~BasicOrbRunStrategy () |
| virtual bool | apply (SysHook *sys_hook, ConfMap &config) throw (std::logic_error, std::runtime_error, CORBA::SystemException ) |
| void | interrupt (bool state) |
| bool | interrupted () |
Protected Member Functions | |
| virtual void | _apply (SysHook *sys_hook, ConfMap &config) throw (std::logic_error, std::runtime_error, CORBA::SystemException ) |
|
|
ctor |
|
|
dtor |
|
||||||||||||
|
Implement OrbRunStrategy contract Called from OrbRunStrategy::apply
Implements OrbRunStrategy. |
|
||||||||||||
|
The public OrbRunStrategy contract Does some basic configuration and starts a signal catcher thread, then calls out to the protected virtual _apply. This is an implementation of the GoF Template Method pattern.
|
|
|
Set the interrupted state of this instance The interrupted state indicates if the ORB run has been asked to shutdown
|
|
|
Query the interrupted state of this instance The interrupted state indicates if the ORB run has been asked to shutdown
|
| Copyright © BoilerPlate.org |
Generated on Tue Nov 30 16:22:33 2004 for BoilerPlate by
1.3.7
|