ACE 7.0.9
Public Types | Public Member Functions | Protected Attributes | List of all members
ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER > Class Template 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< SVC_HANDLER >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >:
Collaboration graph
[legend]

Public Types

typedef ACE_Scheduling_Strategy< SVC_HANDLER > base_type
 
- Public Types inherited from ACE_Scheduling_Strategy< SVC_HANDLER >
typedef SVC_HANDLER::addr_type addr_type
 
typedef SVC_HANDLER handler_type
 
typedef SVC_HANDLER::stream_type stream_type
 

Public Member Functions

 ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER *=0)
 Constructor. More...
 
virtual int suspend ()
 Suspend hook. More...
 
virtual int resume ()
 Resume hook. More...
 
virtual void dump () const
 Dump the state of the object. More...
 
- Public Member Functions inherited from ACE_Scheduling_Strategy< SVC_HANDLER >
 ACE_Scheduling_Strategy (SVC_HANDLER *=0)
 Constructor. More...
 
virtual ~ACE_Scheduling_Strategy ()
 Destructor. More...
 
virtual int suspend ()
 Suspend hook. More...
 
virtual int resume ()
 Resume hook. More...
 
virtual void dump () const
 Dump the state of the object. More...
 

Protected Attributes

ACE_Thread_Managerthr_mgr_
 Thread Manager. More...
 

Detailed Description

template<class SVC_HANDLER>
class ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >

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

◆ base_type

template<class SVC_HANDLER >
typedef ACE_Scheduling_Strategy<SVC_HANDLER> ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::base_type

Constructor & Destructor Documentation

◆ ACE_Schedule_All_Threaded_Strategy()

template<class SVC_HANDLER >
ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::ACE_Schedule_All_Threaded_Strategy ( SVC_HANDLER *  scheduler = 0)
inline

Constructor.

Member Function Documentation

◆ dump()

template<class SVC_HANDLER >
void ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::dump
virtual

Dump the state of the object.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.

◆ resume()

template<class SVC_HANDLER >
int ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::resume
virtual

Resume hook.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.

◆ suspend()

template<class SVC_HANDLER >
int ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::suspend
virtual

Suspend hook.

Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.

Member Data Documentation

◆ thr_mgr_

template<class SVC_HANDLER >
ACE_Thread_Manager* ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::thr_mgr_
protected

Thread Manager.


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