C++ TargetRTS
Loading...
Searching...
No Matches
RTActor_class.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 __RTActor_class_h__
11#define __RTActor_class_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21struct RTActorClass;
25struct RTPortDescriptor;
26
27// This structure describes the internal characteristics of an actor class.
28//
29// Field Meaning
30// ----- -------
31// super The base type of this type.
32// names An array of names of the states and the choice points
33// (grouped in that order).
34// numStates The number of states including "top" which is state one.
35// parentState An array which when indexed by state id yields the state
36// id of the parent state.
37// type The external descriptor.
38// numComponents The number of (actor) components.
39// components An array of component descriptors.
40// numPorts The total number of ports.
41// ports An array of port descriptors.
42// numBindings The total number of bindings involving only end ports
43// of the actor class.
44// bindings An array of local binding descriptors.
45// numAttributes The total number of attributes.
46// attributes An array of descriptors of the attributes.
47
49{
50 const RTActor_class * super;
51
52 const char * const * names;
53
54 int numStates;
55 const RTStateId * parentState;
56
57 const RTActorClass * type;
58
59 int numComponents;
60 const RTComponentDescriptor * components;
61
62 int numPorts;
63 const RTPortDescriptor * ports; // ordered by group, id;
64 // with the relay group first
65
66 int numBindings;
67 const RTLocalBindingDescriptor * bindings;
68
69 int numAttributes;
70 const RTFieldDescriptor * attributes;
71
72 const RTFieldDescriptor * findAttribute( const char * ) const;
73};
74
75#endif // __RTActor_class_h__
Definition: RTActor_class.h:49
A type descriptor providing information about the external characteristics of a capsule.
Definition: RTActorClass.h:36
This structure describes a capsule part (a.k.a.
Definition: RTComponentDescriptor.h:33
Definition: RTFieldDescriptor.h:40
Definition: RTLocalBindingDescriptor.h:26
Definition: RTPortDescriptor.h:42