/
MinimalRexSchema
100 lines (87 loc) · 1.41 KB
/
MinimalRexSchema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
//Minimal Rex Extraction
//Author: Bryan J Muscedere
SCHEME TUPLE :
//Nodes
$INHERIT cArchitecturalNds cRoot
$INHERIT cAsgNds cRoot
$INHERIT rosMsg cRoot
$INHERIT cComponent cAsgNds
$INHERIT cClass cAsgNds
$INHERIT rosTopic rosMsg
$INHERIT rosPublisher rosMsg
$INHERIT rosSubscriber rosMsg
$INHERIT rosNodeHandle rosMsg
$INHEIRT rosTimer rosMsg
//Relationships
compContain cComponent cClass
contain cRoot cRoot
publish rosPublisher rosTopic
subscribe rosTopic rosSubscriber
reference rosNodeHandle rosMsg
advertise rosPublisher rosTopic
subscribe rosSubscriber rosTopic
SCHEME ATTRIBUTE :
$ENTITY {
x
y
width
height
label
}
cRoot {
elision = contain
color = (0.0 0.0 0.0)
file
line
name
}
cAsgNds {
beg
end
file
line
value
color = (0.0 0.0 0.0)
}
cArchitecturalNds {
class_style = 4
color = (0.0 0.0 1.0)
color = (0.0 0.0 0.0)
}
rosMsg {
class_style = 4
color = (0.0 0.0 1.0)
}
cComponent {
color = (0.7 0.3 0.1)
labelcolor = (0.0 0.0 0.0)
class_style = 2
}
cClass {
filename
baseNum
color = (0.2 0.4 0.1)
labelcolor = (0.0 0.0 0.0)
class_style = 2
}
rosSubscriber {
color = (0.4 1.0 0.4)
labelcolor = (0.0 0.0 0.0)
class_style = 6
bufferSize
numAttributes
rosNumber
callbackFunc
}
rosPublisher {
color = (1.0 0.0 0.8)
labelcolor = (1.0 1.0 1.0)
class_style = 6
numAttributes
rosNumber
}
rosTopic {
color = (1.0 1.0 0.6)
labelcolor = (0.0 0.0 0.0)
class_style = 5
}