-
Notifications
You must be signed in to change notification settings - Fork 0
/
BreakdownDataReader.java
158 lines (122 loc) · 5.59 KB
/
BreakdownDataReader.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*
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.InstanceHandle_t;
import com.rti.dds.subscription.DataReaderImpl;
import com.rti.dds.subscription.DataReaderListener;
import com.rti.dds.subscription.ReadCondition;
import com.rti.dds.subscription.SampleInfo;
import com.rti.dds.subscription.SampleInfoSeq;
import com.rti.dds.topic.TypeSupportImpl;
// ===========================================================================
/**
* A reader for the Breakdown user type.
*/
public class BreakdownDataReader extends DataReaderImpl {
// -----------------------------------------------------------------------
// Public Methods
// -----------------------------------------------------------------------
public void read(BreakdownSeq received_data, SampleInfoSeq info_seq,
int max_samples,
int sample_states, int view_states, int instance_states) {
read_untyped(received_data, info_seq, max_samples, sample_states,
view_states, instance_states);
}
public void take(BreakdownSeq received_data, SampleInfoSeq info_seq,
int max_samples,
int sample_states, int view_states, int instance_states) {
take_untyped(received_data, info_seq, max_samples, sample_states,
view_states, instance_states);
}
public void read_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq,
int max_samples,
ReadCondition condition) {
read_w_condition_untyped(received_data, info_seq, max_samples,
condition);
}
public void take_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq,
int max_samples,
ReadCondition condition) {
take_w_condition_untyped(received_data, info_seq, max_samples,
condition);
}
public void read_next_sample(Breakdown received_data, SampleInfo sample_info) {
read_next_sample_untyped(received_data, sample_info);
}
public void take_next_sample(Breakdown received_data, SampleInfo sample_info) {
take_next_sample_untyped(received_data, sample_info);
}
public void read_instance(BreakdownSeq received_data, SampleInfoSeq info_seq,
int max_samples, InstanceHandle_t a_handle, int sample_states,
int view_states, int instance_states) {
read_instance_untyped(received_data, info_seq, max_samples, a_handle,
sample_states, view_states, instance_states);
}
public void take_instance(BreakdownSeq received_data, SampleInfoSeq info_seq,
int max_samples, InstanceHandle_t a_handle, int sample_states,
int view_states, int instance_states) {
take_instance_untyped(received_data, info_seq, max_samples, a_handle,
sample_states, view_states, instance_states);
}
public void read_instance_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, ReadCondition condition) {
read_instance_w_condition_untyped(received_data, info_seq,
max_samples, a_handle, condition);
}
public void take_instance_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, ReadCondition condition) {
take_instance_w_condition_untyped(received_data, info_seq,
max_samples, a_handle, condition);
}
public void read_next_instance(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, int sample_states, int view_states,
int instance_states) {
read_next_instance_untyped(received_data, info_seq, max_samples,
a_handle, sample_states, view_states, instance_states);
}
public void take_next_instance(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, int sample_states, int view_states,
int instance_states) {
take_next_instance_untyped(received_data, info_seq, max_samples,
a_handle, sample_states, view_states, instance_states);
}
public void read_next_instance_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, ReadCondition condition) {
read_next_instance_w_condition_untyped(received_data, info_seq,
max_samples, a_handle, condition);
}
public void take_next_instance_w_condition(BreakdownSeq received_data,
SampleInfoSeq info_seq, int max_samples,
InstanceHandle_t a_handle, ReadCondition condition) {
take_next_instance_w_condition_untyped(received_data, info_seq,
max_samples, a_handle, condition);
}
public void return_loan(BreakdownSeq received_data, SampleInfoSeq info_seq) {
return_loan_untyped(received_data, info_seq);
}
public void get_key_value(Breakdown key_holder, InstanceHandle_t handle){
get_key_value_untyped(key_holder, handle);
}
public InstanceHandle_t lookup_instance(Breakdown key_holder) {
return lookup_instance_untyped(key_holder);
}
// -----------------------------------------------------------------------
// Package Methods
// -----------------------------------------------------------------------
// --- Constructors: -----------------------------------------------------
/*package*/ BreakdownDataReader (long native_reader, DataReaderListener listener,
int mask, TypeSupportImpl data_type) {
super(native_reader, listener, mask, data_type);
}
}