-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTypes.xml
More file actions
89 lines (89 loc) · 4.54 KB
/
Copy pathTypes.xml
File metadata and controls
89 lines (89 loc) · 4.54 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.7.0/rti_dds_profiles.xsd">
<types>
<module name="DdsEntities">
<module name="Constants">
<!-- Fully-qualified names used by application code -->
<const name="ARM_CONTROLLER_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/ArmController""/>
<const name="ARM_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/Arm""/>
<const name="ORCHESTRATOR_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/Orchestrator""/>
<const name="PATIENT_MONITOR_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/PatientMonitor""/>
<const name="PATIENT_SENSOR_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/PatientSensor""/>
<const name="SECURELOG_READER_DP" type="string" value=""MedicalDemoParticipantLibrary::dp/SecureLogReader""/>
<const name="STATUS_DW" type="string" value=""p/publisher::dw/DeviceStatus""/>
<const name="STATUS_DR" type="string" value=""s/subscriber::dr/DeviceStatus""/>
<const name="HB_DW" type="string" value=""p/publisher::dw/DeviceHeartbeat""/>
<const name="HB_DR" type="string" value=""s/subscriber::dr/DeviceHeartbeat""/>
<const name="MOTOR_CONTROL_DW" type="string" value=""p/publisher::dw/MotorControl""/>
<const name="MOTOR_CONTROL_DR" type="string" value=""s/subscriber::dr/MotorControl""/>
<const name="DEVICE_COMMAND_DW" type="string" value=""p/publisher::dw/DeviceCommand""/>
<const name="DEVICE_COMMAND_DR" type="string" value=""s/subscriber::dr/DeviceCommand""/>
<const name="VITALS_DW" type="string" value=""p/publisher::dw/Vitals""/>
<const name="VITALS_DR" type="string" value=""s/subscriber::dr/Vitals""/>
<const name="SECURELOG_DR" type="string" value=""s/subscriber::dr/SecureLog""/>
</module>
</module>
<module name="Common">
<enum name="DeviceStatuses">
<enumerator name="ON"/>
<enumerator name="OFF"/>
<enumerator name="PAUSED"/>
<enumerator name="ERROR"/>
</enum>
<enum name="DeviceType">
<enumerator name="ARM_CONTROLLER"/>
<enumerator name="ARM"/>
<enumerator name="VIDEO_PUB"/>
<enumerator name="VIDEO_SUB"/>
<enumerator name="PATIENT_MONITOR"/>
<enumerator name="PATIENT_SENSOR"/>
</enum>
<struct name= "DeviceStatus">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
<member name="status" type="nonBasic" nonBasicTypeName= "Common::DeviceStatuses"/>
</struct>
<struct name= "DeviceHeartbeat">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
</struct>
</module>
<module name="SurgicalRobot">
<enum name="Motors">
<enumerator name="BASE"/>
<enumerator name="SHOULDER"/>
<enumerator name="ELBOW"/>
<enumerator name="WRIST"/>
<enumerator name="HAND"/>
</enum>
<enum name="MotorDirections">
<enumerator name="STATIONARY"/>
<enumerator name="INCREMENT"/>
<enumerator name="DECREMENT"/>
</enum>
<struct name= "MotorControl">
<member name="id" type="nonBasic" nonBasicTypeName= "SurgicalRobot::Motors" key="true"/>
<member name="direction" type="nonBasic" nonBasicTypeName= "SurgicalRobot::MotorDirections"/>
</struct>
</module>
<module name="Orchestrator">
<enum name="DeviceCommands">
<enumerator name="START"/>
<enumerator name="SHUTDOWN"/>
<enumerator name="PAUSE"/>
</enum>
<struct name= "DeviceCommand">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
<member name="command" type="nonBasic" nonBasicTypeName= "Orchestrator::DeviceCommands"/>
</struct>
</module>
<module name="PatientMonitor">
<struct name= "Vitals">
<member name="patient_id" stringMaxLength="8" type="string" key="true"/>
<member name="hr" type="uint32"/>
<member name="spo2" type="uint32"/>
<member name="etco2" type="uint32"/>
<member name="nibp_s" type="uint32"/>
<member name="nibp_d" type="uint32"/>
</struct>
</module>
</types>
</dds>