BoilerPlate: Reusable CORBA |
#include <OrbRunStrategy.h>
Inheritance diagram for OrbRunStrategy:
Applications sometimes need to do different things around the ORB message loop. Some need to integrate another message loop with the ORB's message loop. Others (like TAO) need to have the application's thread model defined.
See Thread Model Configuration for more information
Public Member Functions | |
OrbRunStrategy () | |
virtual | ~OrbRunStrategy () |
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)=0 throw (std::logic_error, std::runtime_error, CORBA::SystemException ) |
|
ctor |
|
dtor |
|
Implement OrbRunStrategy contract
Implemented in BasicOrbRunStrategy, and ThreadedOrbRunStrategy. |
|
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 |