#include <ACT.hpp>

Public Member Functions | |
| ACT_State | operator() (wakeup_listener *w) |
| ACT_State | operator() () |
| Convenience zero-parameter operator() ;. | |
Protected Member Functions | |
| virtual ACT_State | run (wakeup_listener *)=0 |
| This is the body of the ACT. It is reasonable to consider this as an analogue of a thread body. This is the variety of the body that may initiate autonomous activity that sends asynchronous notice of completion. | |
Friends | |
| class | act |
| Facade class has direct access to avoid indirecting status calls. | |
| virtual ACT_State ACT::autonomous_act::run | ( | wakeup_listener * | ) | [protected, pure virtual] |
This is the body of the ACT. It is reasonable to consider this as an analogue of a thread body. This is the variety of the body that may initiate autonomous activity that sends asynchronous notice of completion.
The input parameter wakeup_listener may indeed be zero. The intent behind this choice is to enable a scheduler to forbid an ACT from setting up a background poll or notification. Should a scheduler do this, it must assume the responsibility for checking back later.
Implemented in ACT::Service< Aspect >, cygnal::HTTP::HTTP_Behavior, IO::SSource, IO::SSink, IO::Stream_Consumer, IO::Old_String_Generator, Net::read_action, Net::write_action, and ACT::Service< Supplied_Service_Aspect >.
| ACT_State ACT::autonomous_act::operator() | ( | wakeup_listener * | w | ) | [inline, virtual] |
Implements ACT::basic_act.
| ACT_State ACT::autonomous_act::operator() | ( | void | ) | [inline, virtual] |
friend class act [friend] |
Facade class has direct access to avoid indirecting status calls.
1.5.4