10#ifndef __RTActorFactory_h__
11#define __RTActorFactory_h__
20#include "RTActorFactoryInterface.h"
A capsule factory where capsule instances are created by means of a provided 'create' function,...
Definition: RTActorFactory.h:27
RTActor * create(RTController *rts, RTActorRef *ref, int index) override
Called by the TargetRTS to create a capsule instance, which later will be inserted into a capsule par...
void destroy(RTActor *actor) override
Called by the TargetRTS to destroy a capsule instance.
RTActorFactory(std::function< RTActor *(RTController *, RTActorRef *, int)> createFunc)
Create a capsule factory which will use the provided function to implement capsule instance creation.
Interface of a capsule factory responsible for creating and destroying capsule instances in a capsule...
Definition: RTActorFactoryInterface.h:15
An instance of this class represents a capsule instance.
Definition: RTActor.h:44
Represents a capsule part.
Definition: RTActorRef.h:39
A controller manages a group of capsule instances that all run in the same physical thread (i....
Definition: RTController.h:54