ACE  6.0.6
Public Types | Public Member Functions | Protected Attributes
ACE_Schedule_All_Threaded_Strategy Class Reference

Defines the interface for specifying how to suspend and resume a multithreaded service . More...

#include <Strategies_T.h>

Inheritance diagram for ACE_Schedule_All_Threaded_Strategy:
Inheritance graph
[legend]
Collaboration diagram for ACE_Schedule_All_Threaded_Strategy:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
ACE_Scheduling_Strategy
< SVC_HANDLER > 
base_type

Public Member Functions

 ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER *=0)
 Constructor.
virtual int suspend (void)
 Suspend hook.
virtual int resume (void)
 Resume hook.
virtual void dump (void) const
 Dump the state of the object.

Protected Attributes

ACE_Thread_Managerthr_mgr_
 Thread Manager.

Detailed Description

Defines the interface for specifying how to suspend and resume a multithreaded service .

This class provides a strategy that suspends and resumes all the Event_Handlers controlled by a Thread_Manager in one fell swoop.


Member Typedef Documentation


Constructor & Destructor Documentation

ACE_Schedule_All_Threaded_Strategy::ACE_Schedule_All_Threaded_Strategy ( SVC_HANDLER *  scheduler = 0) [inline]

Constructor.


Member Function Documentation

void ACE_Schedule_All_Threaded_Strategy::dump ( void  ) const [virtual]

Dump the state of the object.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.

int ACE_Schedule_All_Threaded_Strategy::resume ( void  ) [virtual]

Resume hook.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.

int ACE_Schedule_All_Threaded_Strategy::suspend ( void  ) [virtual]

Suspend hook.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.


Member Data Documentation

Thread Manager.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines