10#ifndef __RTCustomController_h__
11#define __RTCustomController_h__ included
21#ifndef __RTPeerController_h__
22#include <RTPeerController.h>
29#define REGISTER_LAYER( wait, wakeup, process ) \
30 context()->registerLayer( this, \
46 RTActorFunction _waitFunc;
47 RTActorFunction _wakeupFunc;
48 RTActorFunction _processFunc;
54 virtual void mainLoop(
void )
override;
67 RTActorFunction waitFunc,
68 RTActorFunction wakeupFunc,
69 RTActorFunction processFunc )
override;
72 virtual void waitForEvents(
void )
override;
73 virtual void wakeup(
void )
override;
An instance of this class represents a capsule instance.
Definition: RTActor.h:44
A controller that allows a custom actor object to control the execution of a physical thread in a mul...
Definition: RTCustomController.h:43
void registerLayer(RTActor *newLayer, RTActorFunction waitFunc, RTActorFunction wakeupFunc, RTActorFunction processFunc) override
Register a custom actor object with the controller.
Definition: RTDebugger.h:58
A controller that acts as an interface to a physical thread which runs a group of capsule instances i...
Definition: RTPeerController.h:27