C++ TargetRTS
Loading...
Searching...
No Matches
RTActorFactoryInterface.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTActorFactoryInterface_h__
11#define __RTActorFactoryInterface_h__
12
15{
16public:
24 virtual RTActor* create(RTController *rts, RTActorRef *ref, int index) = 0;
25
29 virtual void destroy(RTActor* actor) = 0;
30};
31
32
33#endif // __RTActorFactoryInterface_h__
Interface of a capsule factory responsible for creating and destroying capsule instances in a capsule...
Definition: RTActorFactoryInterface.h:15
virtual void destroy(RTActor *actor)=0
Called by the TargetRTS to destroy a capsule instance.
virtual RTActor * create(RTController *rts, RTActorRef *ref, int index)=0
Called by the TargetRTS to create a capsule instance, which later will be inserted into a capsule par...
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