-
Notifications
You must be signed in to change notification settings - Fork 0
/
VehicleDataWriter.java
115 lines (86 loc) · 3.67 KB
/
VehicleDataWriter.java
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from .idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
import com.rti.dds.infrastructure.Time_t;
import com.rti.dds.infrastructure.WriteParams_t;
import com.rti.dds.infrastructure.InstanceHandle_t;
import com.rti.dds.publication.DataWriterImpl;
import com.rti.dds.publication.DataWriterListener;
import com.rti.dds.topic.TypeSupportImpl;
// ===========================================================================
/**
* A writer for the Vehicle user type.
*/
public class VehicleDataWriter extends DataWriterImpl {
// -----------------------------------------------------------------------
// Public Methods
// -----------------------------------------------------------------------
public InstanceHandle_t register_instance(Vehicle instance_data) {
return register_instance_untyped(instance_data);
}
public InstanceHandle_t register_instance_w_timestamp(Vehicle instance_data,
Time_t source_timestamp) {
return register_instance_w_timestamp_untyped(
instance_data, source_timestamp);
}
public InstanceHandle_t register_instance_w_params(Vehicle instance_data,
WriteParams_t params) {
return register_instance_w_params_untyped(
instance_data, params);
}
public void unregister_instance(Vehicle instance_data,
InstanceHandle_t handle) {
unregister_instance_untyped(instance_data, handle);
}
public void unregister_instance_w_timestamp(Vehicle instance_data,
InstanceHandle_t handle, Time_t source_timestamp) {
unregister_instance_w_timestamp_untyped(
instance_data, handle, source_timestamp);
}
public void unregister_instance_w_params(Vehicle instance_data,
WriteParams_t params) {
unregister_instance_w_params_untyped(
instance_data, params);
}
public void write(Vehicle instance_data, InstanceHandle_t handle) {
write_untyped(instance_data, handle);
}
public void write_w_timestamp(Vehicle instance_data,
InstanceHandle_t handle, Time_t source_timestamp) {
write_w_timestamp_untyped(instance_data, handle, source_timestamp);
}
public void write_w_params(Vehicle instance_data,
WriteParams_t params) {
write_w_params_untyped(instance_data, params);
}
public void dispose(Vehicle instance_data, InstanceHandle_t instance_handle){
dispose_untyped(instance_data, instance_handle);
}
public void dispose_w_timestamp(Vehicle instance_data,
InstanceHandle_t instance_handle, Time_t source_timestamp) {
dispose_w_timestamp_untyped(
instance_data, instance_handle, source_timestamp);
}
public void dispose_w_params(Vehicle instance_data,
WriteParams_t params) {
dispose_w_params_untyped(instance_data, params);
}
public void get_key_value(Vehicle key_holder, InstanceHandle_t handle) {
get_key_value_untyped(key_holder, handle);
}
public InstanceHandle_t lookup_instance(Vehicle key_holder) {
return lookup_instance_untyped(key_holder);
}
// -----------------------------------------------------------------------
// Package Methods
// -----------------------------------------------------------------------
// --- Constructors: -----------------------------------------------------
/*package*/ VehicleDataWriter(long native_writer, DataWriterListener listener,
int mask, TypeSupportImpl type) {
super(native_writer, listener, mask, type);
}
}