C++ TargetRTS
Loading...
Searching...
No Matches
RTActorClass.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 __RTActorClass_h__
11#define __RTActorClass_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTVersionId_h__
18#include <RTVersionId.h>
19#endif
20
21class RTActor;
22class RTActorRef;
24class RTController;
26
27typedef RTActor * ( * RTActorCreator )( RTController *, RTActorRef * );
28
36{
39
41 const char * name;
42
44 RTVersionId version;
45
49
53
55 RTActorCreator create;
56
61 int isKindOf( const RTActorClass * other ) const;
62
73};
74
75extern const RTActorClass EmptyActorClass;
76
77#endif // __RTActorClass_h__
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
A type descriptor providing information about the external characteristics of a capsule.
Definition: RTActorClass.h:36
int numRelays
The number of service ports (i.e.
Definition: RTActorClass.h:48
RTActorCreator create
Constructor function for creating an instance of (i.e.
Definition: RTActorClass.h:55
int substitutableFor(const RTComponentDescriptor *cp) const
Determines if the described capsule is compatible with a certain capsule part.
const RTRelayDescriptor * relays
An array of objects describing the service ports of the capsule (i.e.
Definition: RTActorClass.h:52
const RTActorClass * super
Type descriptor for the super capsule, from which the described capsule inherits.
Definition: RTActorClass.h:38
int isKindOf(const RTActorClass *other) const
Determines if the described capsule is the same, or a subtype of, another capsule.
RTVersionId version
The version id of the capsule.
Definition: RTActorClass.h:44
const char * name
Capsule name.
Definition: RTActorClass.h:41
This structure describes a capsule part (a.k.a.
Definition: RTComponentDescriptor.h:33
Definition: RTRelayDescriptor.h:32