11 #ifndef _GSDFPACKETDCPS_H_ 12 #define _GSDFPACKETDCPS_H_ 14 #include "sacpp_mapping.h" 15 #include "sacpp_DDS_DCPS.h" 51 typedef DDS_DCPSUVLSeq < GSDFPacket, struct GSDFPacketSeq_uniq_>
GSDFPacketSeq;
56 virtual public DDS::TypeSupport
59 typedef GSDFPacketTypeSupportInterface_ptr
_ptr_type;
60 typedef GSDFPacketTypeSupportInterface_var
_var_type;
62 static GSDFPacketTypeSupportInterface_ptr _duplicate (GSDFPacketTypeSupportInterface_ptr obj);
63 DDS::Boolean _local_is_a (
const char *
id);
65 static GSDFPacketTypeSupportInterface_ptr _narrow (DDS::Object_ptr obj);
66 static GSDFPacketTypeSupportInterface_ptr _unchecked_narrow (DDS::Object_ptr obj);
67 static GSDFPacketTypeSupportInterface_ptr
_nil () {
return 0; }
69 GSDFPacketTypeSupportInterface_ptr
_this () {
return this; }
82 virtual public DDS::DataWriter
88 static GSDFPacketDataWriter_ptr _duplicate (GSDFPacketDataWriter_ptr obj);
89 DDS::Boolean _local_is_a (
const char *
id);
91 static GSDFPacketDataWriter_ptr _narrow (DDS::Object_ptr obj);
92 static GSDFPacketDataWriter_ptr _unchecked_narrow (DDS::Object_ptr obj);
93 static GSDFPacketDataWriter_ptr
_nil () {
return 0; }
95 GSDFPacketDataWriter_ptr
_this () {
return this; }
97 virtual DDS::LongLong register_instance (
const GSDFPacket& instance_data) = 0;
98 virtual DDS::LongLong register_instance_w_timestamp (
const GSDFPacket& instance_data,
const DDS::Time_t& source_timestamp) = 0;
99 virtual DDS::Long unregister_instance (
const GSDFPacket& instance_data, DDS::LongLong handle) = 0;
100 virtual DDS::Long unregister_instance_w_timestamp (
const GSDFPacket& instance_data, DDS::LongLong handle,
const DDS::Time_t& source_timestamp) = 0;
101 virtual DDS::Long write (
const GSDFPacket& instance_data, DDS::LongLong handle) = 0;
102 virtual DDS::Long write_w_timestamp (
const GSDFPacket& instance_data, DDS::LongLong handle,
const DDS::Time_t& source_timestamp) = 0;
103 virtual DDS::Long dispose (
const GSDFPacket& instance_data, DDS::LongLong handle) = 0;
104 virtual DDS::Long dispose_w_timestamp (
const GSDFPacket& instance_data, DDS::LongLong handle,
const DDS::Time_t& source_timestamp) = 0;
105 virtual DDS::Long writedispose (
const GSDFPacket& instance_data, DDS::LongLong handle) = 0;
106 virtual DDS::Long writedispose_w_timestamp (
const GSDFPacket& instance_data, DDS::LongLong handle,
const DDS::Time_t& source_timestamp) = 0;
107 virtual DDS::Long get_key_value (
GSDFPacket& key_holder, DDS::LongLong handle) = 0;
108 virtual DDS::LongLong lookup_instance (
const GSDFPacket& instance_data) = 0;
120 virtual public DDS::DataReader
126 static GSDFPacketDataReader_ptr _duplicate (GSDFPacketDataReader_ptr obj);
127 DDS::Boolean _local_is_a (
const char *
id);
129 static GSDFPacketDataReader_ptr _narrow (DDS::Object_ptr obj);
130 static GSDFPacketDataReader_ptr _unchecked_narrow (DDS::Object_ptr obj);
131 static GSDFPacketDataReader_ptr
_nil () {
return 0; }
133 GSDFPacketDataReader_ptr
_this () {
return this; }
135 virtual DDS::Long read (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
136 virtual DDS::Long take (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
137 virtual DDS::Long read_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
138 virtual DDS::Long take_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
139 virtual DDS::Long read_next_sample (
GSDFPacket& received_data, DDS::SampleInfo& sample_info) = 0;
140 virtual DDS::Long take_next_sample (
GSDFPacket& received_data, DDS::SampleInfo& sample_info) = 0;
141 virtual DDS::Long read_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
142 virtual DDS::Long take_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
143 virtual DDS::Long read_next_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
144 virtual DDS::Long take_next_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
145 virtual DDS::Long read_next_instance_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ReadCondition_ptr a_condition) = 0;
146 virtual DDS::Long take_next_instance_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ReadCondition_ptr a_condition) = 0;
147 virtual DDS::Long return_loan (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
148 virtual DDS::Long get_key_value (
GSDFPacket& key_holder, DDS::LongLong handle) = 0;
149 virtual DDS::LongLong lookup_instance (
const GSDFPacket& instance) = 0;
161 virtual public DDS::DataReaderView
167 static GSDFPacketDataReaderView_ptr _duplicate (GSDFPacketDataReaderView_ptr obj);
168 DDS::Boolean _local_is_a (
const char *
id);
170 static GSDFPacketDataReaderView_ptr _narrow (DDS::Object_ptr obj);
171 static GSDFPacketDataReaderView_ptr _unchecked_narrow (DDS::Object_ptr obj);
172 static GSDFPacketDataReaderView_ptr
_nil () {
return 0; }
174 GSDFPacketDataReaderView_ptr
_this () {
return this; }
176 virtual DDS::Long read (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
177 virtual DDS::Long take (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
178 virtual DDS::Long read_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
179 virtual DDS::Long take_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
180 virtual DDS::Long read_next_sample (
GSDFPacket& received_data, DDS::SampleInfo& sample_info) = 0;
181 virtual DDS::Long take_next_sample (
GSDFPacket& received_data, DDS::SampleInfo& sample_info) = 0;
182 virtual DDS::Long read_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
183 virtual DDS::Long take_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
184 virtual DDS::Long read_next_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
185 virtual DDS::Long take_next_instance (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ULong sample_states, DDS::ULong view_states, DDS::ULong instance_states) = 0;
186 virtual DDS::Long read_next_instance_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ReadCondition_ptr a_condition) = 0;
187 virtual DDS::Long take_next_instance_w_condition (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::LongLong a_handle, DDS::ReadCondition_ptr a_condition) = 0;
188 virtual DDS::Long return_loan (GSDFPacketSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
189 virtual DDS::Long get_key_value (
GSDFPacket& key_holder, DDS::LongLong handle) = 0;
190 virtual DDS::LongLong lookup_instance (
const GSDFPacket& instance) = 0;
~GSDFPacketDataReaderView()
GSDFPacketDataReader_ptr _this()
DDS_DCPSInterface_out< GSDFPacketTypeSupportInterface > GSDFPacketTypeSupportInterface_out
static const char * _local_id
~GSDFPacketTypeSupportInterface()
DDS_DCPSInterface_var< GSDFPacketDataWriter > GSDFPacketDataWriter_var
DDS_DCPSInterface_var< GSDFPacketDataReaderView > GSDFPacketDataReaderView_var
GSDFPacketDataReaderView * GSDFPacketDataReaderView_ptr
GSDFPacketDataReaderView_ptr _ptr_type
GSDFPacketDataWriter_ptr _this()
DDS_DCPSInterface_out< GSDFPacketDataReaderView > GSDFPacketDataReaderView_out
static GSDFPacketDataWriter_ptr _nil()
static GSDFPacketTypeSupportInterface_ptr _nil()
static GSDFPacketDataReaderView_ptr _nil()
static const char * _local_id
static GSDFPacketDataReader_ptr _nil()
GSDFPacketDataWriter_var _var_type
DDS_DCPSInterface_var< GSDFPacketTypeSupportInterface > GSDFPacketTypeSupportInterface_var
GSDFPacketTypeSupportInterface()
GSDFPacketDataReaderView_ptr _this()
GSDFPacketDataReader_ptr _ptr_type
GSDFPacketTypeSupportInterface_ptr _ptr_type
GSDFPacketDataReader_var _var_type
DDS_DCPSInterface_out< GSDFPacketDataReader > GSDFPacketDataReader_out
GSDFPacketTypeSupportInterface_var _var_type
static const char * _local_id
DDS_DCPSUVLSeq< GSDFPacket, struct GSDFPacketSeq_uniq_ > GSDFPacketSeq
DDS_DCPSInterface_var< GSDFPacketDataReader > GSDFPacketDataReader_var
DDS_DCPSSequence_out< GSDFPacketSeq > GSDFPacketSeq_out
GSDFPacketDataReaderView_var _var_type
DDS_DCPSSequence_var< GSDFPacketSeq > GSDFPacketSeq_var
GSDFPacketTypeSupportInterface * GSDFPacketTypeSupportInterface_ptr
static const char * _local_id
GSDFPacketDataWriter * GSDFPacketDataWriter_ptr
DDS_DCPSInterface_out< GSDFPacketDataWriter > GSDFPacketDataWriter_out
GSDFPacketDataReader * GSDFPacketDataReader_ptr
GSDFPacketDataReaderView()
GSDFPacketDataWriter_ptr _ptr_type
GSDFPacketTypeSupportInterface_ptr _this()