C++ TargetRTS
Loading...
Searching...
No Matches
RTComponentDescriptor.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 __RTComponentDescriptor_h__
11#define __RTComponentDescriptor_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTFieldOffset_h__
18#include <RTFieldOffset.h>
19#endif
20
22class RTActor;
23class RTActorRef;
24class RTController;
25struct RTActorClass;
28
33{
34 enum Kind { Fixed, Optional, Imported };
35
37 const char * name;
38
41
43 RTFieldOffset offset;
44
46 short id;
47
49 char /* Kind */ kind;
50
52 char /* boolean */ substitutable;
53
56
59
62
65
68
71};
72
73#endif // __RTComponentDescriptor_h__
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
A type descriptor providing information about the external characteristics of a capsule.
Definition: RTActorClass.h:36
Definition: RTBindingDescriptor.h:32
This structure describes a capsule part (a.k.a.
Definition: RTComponentDescriptor.h:33
const RTActorClass * defaultClass
The capsule typing the capsule part (the default type when incarnating the capsule part)
Definition: RTComponentDescriptor.h:40
int numInterfaces
The number of interface requirements.
Definition: RTComponentDescriptor.h:58
RTActorFactoryInterface * factory
Optional capsule factory to be used for creating and destroying capsule instances in this capsule par...
Definition: RTComponentDescriptor.h:70
short id
An integer, uniquely identifying this capsule part within the containing class.
Definition: RTComponentDescriptor.h:46
int numBindings
The number of bindings to this capsule part.
Definition: RTComponentDescriptor.h:64
const RTBindingDescriptor * bindings
An array of interface (protocol) requirements.
Definition: RTComponentDescriptor.h:67
const char * name
Name of capsule part.
Definition: RTComponentDescriptor.h:37
char kind
Distinguishes between fixed, optional and imported capsule parts.
Definition: RTComponentDescriptor.h:49
int replication
Multiplicity (a.k.a.
Definition: RTComponentDescriptor.h:55
char substitutable
For a non-fixed capsule part, can other capsules than the capsule part type be used when incarnating?
Definition: RTComponentDescriptor.h:52
RTFieldOffset offset
The byte offset of the associated RTActorRef within the containing class, relative to RTActor.
Definition: RTComponentDescriptor.h:43
const RTInterfaceDescriptor * interfaces
An array of interface (replication) requirements.
Definition: RTComponentDescriptor.h:61
Definition: RTInterfaceDescriptor.h:29