#include <Strategies_T.h>
Inheritance diagram for ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >:


Public Types | |
| typedef ACE_Scheduling_Strategy< SVC_HANDLER > | base_type |
Public Member Functions | |
| ACE_Schedule_All_Reactive_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_Reactor * | reactor_ |
| Reactor. | |
This class provides a strategy that suspends and resumes all the Event_Handlers in a Reactor in one fell swoop.
Definition at line 670 of file Strategies_T.h.
|
|||||
|
Definition at line 676 of file Strategies_T.h. |
|
||||||||||
|
Constructor.
Definition at line 160 of file Strategies_T.inl. References ACE_TRACE, and ACE_Reactor::instance().
00161 : ACE_Scheduling_Strategy<SVC_HANDLER> (scheduler) 00162 { 00163 ACE_TRACE ("ACE_Schedule_All_Reactive_Strategy<SVC_HANDLER>::ACE_Schedule_All_Reactive_Strategy"); 00164 00165 if (scheduler == 0 || scheduler->reactor () == 0) 00166 this->reactor_ = ACE_Reactor::instance (); 00167 else 00168 this->reactor_ = scheduler->reactor (); 00169 } |
|
||||||||||
|
Dump the state of the object.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >. Definition at line 1397 of file Strategies_T.cpp. References ACE_TRACE, and ACE_Scheduling_Strategy< SVC_HANDLER >::dump().
01398 {
01399 #if defined (ACE_HAS_DUMP)
01400 ACE_TRACE ("ACE_Schedule_All_Reactive_Strategy<SVC_HANDLER>::dump");
01401
01402 ACE_Scheduling_Strategy<SVC_HANDLER>::dump ();
01403 #endif /* ACE_HAS_DUMP */
01404 }
|
|
||||||||||
|
Resume hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >. Definition at line 1390 of file Strategies_T.cpp. References ACE_TRACE, and ACE_Reactor::resume_handlers().
01391 {
01392 ACE_TRACE ("ACE_Schedule_All_Reactive_Strategy<SVC_HANDLER>::resume");
01393 return this->reactor_->resume_handlers ();
01394 }
|
|
||||||||||
|
Suspend hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >. Definition at line 1383 of file Strategies_T.cpp. References ACE_TRACE, and ACE_Reactor::suspend_handlers().
01384 {
01385 ACE_TRACE ("ACE_Schedule_All_Reactive_Strategy<SVC_HANDLER>::suspend");
01386 return this->reactor_->suspend_handlers ();
01387 }
|
|
|||||
|
Reactor.
Definition at line 696 of file Strategies_T.h. |
1.3.6