ACE_Scheduling_Strategy< SVC_HANDLER > Class Template Reference

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

#include <Strategies_T.h>

Inheritance diagram for ACE_Scheduling_Strategy< SVC_HANDLER >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef SVC_HANDLER::addr_type addr_type
typedef SVC_HANDLER handler_type
typedef SVC_HANDLER::stream_type stream_type

Public Member Functions

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

Detailed Description

template<class SVC_HANDLER>
class ACE_Scheduling_Strategy< SVC_HANDLER >

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

This class provides a strategy that allows arbitrarily sophisticated service suspension and resumption. The default behavior is to do nothing...

Definition at line 631 of file Strategies_T.h.


Member Typedef Documentation

template<class SVC_HANDLER>
typedef SVC_HANDLER::addr_type ACE_Scheduling_Strategy< SVC_HANDLER >::addr_type

Definition at line 636 of file Strategies_T.h.

template<class SVC_HANDLER>
typedef SVC_HANDLER ACE_Scheduling_Strategy< SVC_HANDLER >::handler_type

Definition at line 637 of file Strategies_T.h.

template<class SVC_HANDLER>
typedef SVC_HANDLER::stream_type ACE_Scheduling_Strategy< SVC_HANDLER >::stream_type

Definition at line 638 of file Strategies_T.h.


Constructor & Destructor Documentation

template<class SVC_HANDLER >
ACE_Scheduling_Strategy< SVC_HANDLER >::ACE_Scheduling_Strategy ( SVC_HANDLER *  = 0  )  [inline]

Constructor.

Definition at line 153 of file Strategies_T.inl.

00154 {
00155   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::ACE_Scheduling_Strategy");
00156 }

template<class SVC_HANDLER >
ACE_Scheduling_Strategy< SVC_HANDLER >::~ACE_Scheduling_Strategy ( void   )  [inline, virtual]

Destructor.

Definition at line 1355 of file Strategies_T.cpp.

01356 {
01357   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::~ACE_Scheduling_Strategy");
01358 }


Member Function Documentation

template<class SVC_HANDLER >
void ACE_Scheduling_Strategy< SVC_HANDLER >::dump ( void   )  const [inline, virtual]

Dump the state of the object.

Reimplemented in ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >, and ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >.

Definition at line 1375 of file Strategies_T.cpp.

01376 {
01377 #if defined (ACE_HAS_DUMP)
01378   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::dump");
01379 
01380   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
01381   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
01382 #endif /* ACE_HAS_DUMP */
01383 }

template<class SVC_HANDLER >
int ACE_Scheduling_Strategy< SVC_HANDLER >::resume ( void   )  [inline, virtual]

Resume hook.

Reimplemented in ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >, and ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >.

Definition at line 1368 of file Strategies_T.cpp.

01369 {
01370   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::resume");
01371   return -1;
01372 }

template<class SVC_HANDLER >
int ACE_Scheduling_Strategy< SVC_HANDLER >::suspend ( void   )  [inline, virtual]

Suspend hook.

Reimplemented in ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >, and ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >.

Definition at line 1361 of file Strategies_T.cpp.

01362 {
01363   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::suspend");
01364   return -1;
01365 }


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

Generated on Sun Nov 22 23:16:06 2009 for ACE by  doxygen 1.6.1