10#ifndef __RTCustomController_h__
11#define __RTCustomController_h__ included
21#ifndef __RTPeerController_h__
22#include <RTPeerController.h>
25typedef void (
RTActor:: * RTActorFunction )( void );
27#define REGISTER_LAYER( wait, wakeup, process ) \
28 (static_cast<RTCustomController *>(context()))->registerLayer( this, \
37 RTActorFunction _waitFunc;
38 RTActorFunction _wakeupFunc;
39 RTActorFunction _processFunc;
45 virtual void mainLoop(
void )
override;
52 RTActorFunction waitFunc,
53 RTActorFunction wakeupFunc,
54 RTActorFunction processFunc );
57 virtual void waitForEvents(
void )
override;
58 virtual void wakeup(
void )
override;
An instance of this class represents a capsule instance.
Definition: RTActor.h:44
Definition: RTCustomController.h:34
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