00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _PROXYPOSESTAMPEDDCPS_H_
00012 #define _PROXYPOSESTAMPEDDCPS_H_
00013
00014 #include "sacpp_mapping.h"
00015 #include "sacpp_DDS_DCPS.h"
00016 #include "Quaternion.h"
00017 #include "dds_dcps_builtintopics.h"
00018 #include "Pose.h"
00019 #include "dds_builtinTopics.h"
00020 #include "proxyPoseStamped.h"
00021 #include "Point.h"
00022 #include "Time.h"
00023 #include "dds_dcps_interfaces.h"
00024 #include "Header.h"
00025 struct Time;
00026 struct Header;
00027 struct Point;
00028 struct Quaternion;
00029 struct Pose;
00030 struct proxyPoseStamped;
00031
00032 class proxyPoseStampedTypeSupportInterface;
00033
00034 typedef proxyPoseStampedTypeSupportInterface * proxyPoseStampedTypeSupportInterface_ptr;
00035 typedef DDS_DCPSInterface_var < proxyPoseStampedTypeSupportInterface> proxyPoseStampedTypeSupportInterface_var;
00036 typedef DDS_DCPSInterface_out < proxyPoseStampedTypeSupportInterface> proxyPoseStampedTypeSupportInterface_out;
00037
00038
00039 class proxyPoseStampedDataWriter;
00040
00041 typedef proxyPoseStampedDataWriter * proxyPoseStampedDataWriter_ptr;
00042 typedef DDS_DCPSInterface_var < proxyPoseStampedDataWriter> proxyPoseStampedDataWriter_var;
00043 typedef DDS_DCPSInterface_out < proxyPoseStampedDataWriter> proxyPoseStampedDataWriter_out;
00044
00045
00046 class proxyPoseStampedDataReader;
00047
00048 typedef proxyPoseStampedDataReader * proxyPoseStampedDataReader_ptr;
00049 typedef DDS_DCPSInterface_var < proxyPoseStampedDataReader> proxyPoseStampedDataReader_var;
00050 typedef DDS_DCPSInterface_out < proxyPoseStampedDataReader> proxyPoseStampedDataReader_out;
00051
00052
00053 class proxyPoseStampedDataReaderView;
00054
00055 typedef proxyPoseStampedDataReaderView * proxyPoseStampedDataReaderView_ptr;
00056 typedef DDS_DCPSInterface_var < proxyPoseStampedDataReaderView> proxyPoseStampedDataReaderView_var;
00057 typedef DDS_DCPSInterface_out < proxyPoseStampedDataReaderView> proxyPoseStampedDataReaderView_out;
00058
00059
00060 struct proxyPoseStampedSeq_uniq_ {};
00061 typedef DDS_DCPSUVLSeq < proxyPoseStamped, struct proxyPoseStampedSeq_uniq_> proxyPoseStampedSeq;
00062 typedef DDS_DCPSSequence_var < proxyPoseStampedSeq> proxyPoseStampedSeq_var;
00063 typedef DDS_DCPSSequence_out < proxyPoseStampedSeq> proxyPoseStampedSeq_out;
00064 class proxyPoseStampedTypeSupportInterface
00065 :
00066 virtual public DDS::TypeSupport
00067 {
00068 public:
00069 typedef proxyPoseStampedTypeSupportInterface_ptr _ptr_type;
00070 typedef proxyPoseStampedTypeSupportInterface_var _var_type;
00071
00072 static proxyPoseStampedTypeSupportInterface_ptr _duplicate (proxyPoseStampedTypeSupportInterface_ptr obj);
00073 DDS::Boolean _local_is_a (const char * id);
00074
00075 static proxyPoseStampedTypeSupportInterface_ptr _narrow (DDS::Object_ptr obj);
00076 static proxyPoseStampedTypeSupportInterface_ptr _unchecked_narrow (DDS::Object_ptr obj);
00077 static proxyPoseStampedTypeSupportInterface_ptr _nil () { return 0; }
00078 static const char * _local_id;
00079 proxyPoseStampedTypeSupportInterface_ptr _this () { return this; }
00080
00081
00082 protected:
00083 proxyPoseStampedTypeSupportInterface () {};
00084 ~proxyPoseStampedTypeSupportInterface () {};
00085 private:
00086 proxyPoseStampedTypeSupportInterface (const proxyPoseStampedTypeSupportInterface &);
00087 proxyPoseStampedTypeSupportInterface & operator = (const proxyPoseStampedTypeSupportInterface &);
00088 };
00089
00090 class proxyPoseStampedDataWriter
00091 :
00092 virtual public DDS::DataWriter
00093 {
00094 public:
00095 typedef proxyPoseStampedDataWriter_ptr _ptr_type;
00096 typedef proxyPoseStampedDataWriter_var _var_type;
00097
00098 static proxyPoseStampedDataWriter_ptr _duplicate (proxyPoseStampedDataWriter_ptr obj);
00099 DDS::Boolean _local_is_a (const char * id);
00100
00101 static proxyPoseStampedDataWriter_ptr _narrow (DDS::Object_ptr obj);
00102 static proxyPoseStampedDataWriter_ptr _unchecked_narrow (DDS::Object_ptr obj);
00103 static proxyPoseStampedDataWriter_ptr _nil () { return 0; }
00104 static const char * _local_id;
00105 proxyPoseStampedDataWriter_ptr _this () { return this; }
00106
00107 virtual DDS::InstanceHandle_t register_instance (const proxyPoseStamped& instance_data) = 0;
00108 virtual DDS::InstanceHandle_t register_instance_w_timestamp (const proxyPoseStamped& instance_data, const DDS::Time_t& source_timestamp) = 0;
00109 virtual DDS::ReturnCode_t unregister_instance (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle) = 0;
00110 virtual DDS::ReturnCode_t unregister_instance_w_timestamp (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00111 virtual DDS::ReturnCode_t write (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle) = 0;
00112 virtual DDS::ReturnCode_t write_w_timestamp (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00113 virtual DDS::ReturnCode_t dispose (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle) = 0;
00114 virtual DDS::ReturnCode_t dispose_w_timestamp (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00115 virtual DDS::ReturnCode_t writedispose (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle) = 0;
00116 virtual DDS::ReturnCode_t writedispose_w_timestamp (const proxyPoseStamped& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00117 virtual DDS::ReturnCode_t get_key_value (proxyPoseStamped& key_holder, DDS::InstanceHandle_t handle) = 0;
00118 virtual DDS::InstanceHandle_t lookup_instance (const proxyPoseStamped& instance_data) = 0;
00119
00120 protected:
00121 proxyPoseStampedDataWriter () {};
00122 ~proxyPoseStampedDataWriter () {};
00123 private:
00124 proxyPoseStampedDataWriter (const proxyPoseStampedDataWriter &);
00125 proxyPoseStampedDataWriter & operator = (const proxyPoseStampedDataWriter &);
00126 };
00127
00128 class proxyPoseStampedDataReader
00129 :
00130 virtual public DDS::DataReader
00131 {
00132 public:
00133 typedef proxyPoseStampedDataReader_ptr _ptr_type;
00134 typedef proxyPoseStampedDataReader_var _var_type;
00135
00136 static proxyPoseStampedDataReader_ptr _duplicate (proxyPoseStampedDataReader_ptr obj);
00137 DDS::Boolean _local_is_a (const char * id);
00138
00139 static proxyPoseStampedDataReader_ptr _narrow (DDS::Object_ptr obj);
00140 static proxyPoseStampedDataReader_ptr _unchecked_narrow (DDS::Object_ptr obj);
00141 static proxyPoseStampedDataReader_ptr _nil () { return 0; }
00142 static const char * _local_id;
00143 proxyPoseStampedDataReader_ptr _this () { return this; }
00144
00145 virtual DDS::ReturnCode_t read (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00146 virtual DDS::ReturnCode_t take (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00147 virtual DDS::ReturnCode_t read_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00148 virtual DDS::ReturnCode_t take_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00149 virtual DDS::ReturnCode_t read_next_sample (proxyPoseStamped& received_data, DDS::SampleInfo& sample_info) = 0;
00150 virtual DDS::ReturnCode_t take_next_sample (proxyPoseStamped& received_data, DDS::SampleInfo& sample_info) = 0;
00151 virtual DDS::ReturnCode_t read_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00152 virtual DDS::ReturnCode_t take_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00153 virtual DDS::ReturnCode_t read_next_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00154 virtual DDS::ReturnCode_t take_next_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00155 virtual DDS::ReturnCode_t read_next_instance_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00156 virtual DDS::ReturnCode_t take_next_instance_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00157 virtual DDS::ReturnCode_t return_loan (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00158 virtual DDS::ReturnCode_t get_key_value (proxyPoseStamped& key_holder, DDS::InstanceHandle_t handle) = 0;
00159 virtual DDS::InstanceHandle_t lookup_instance (const proxyPoseStamped& instance) = 0;
00160
00161 protected:
00162 proxyPoseStampedDataReader () {};
00163 ~proxyPoseStampedDataReader () {};
00164 private:
00165 proxyPoseStampedDataReader (const proxyPoseStampedDataReader &);
00166 proxyPoseStampedDataReader & operator = (const proxyPoseStampedDataReader &);
00167 };
00168
00169 class proxyPoseStampedDataReaderView
00170 :
00171 virtual public DDS::DataReaderView
00172 {
00173 public:
00174 typedef proxyPoseStampedDataReaderView_ptr _ptr_type;
00175 typedef proxyPoseStampedDataReaderView_var _var_type;
00176
00177 static proxyPoseStampedDataReaderView_ptr _duplicate (proxyPoseStampedDataReaderView_ptr obj);
00178 DDS::Boolean _local_is_a (const char * id);
00179
00180 static proxyPoseStampedDataReaderView_ptr _narrow (DDS::Object_ptr obj);
00181 static proxyPoseStampedDataReaderView_ptr _unchecked_narrow (DDS::Object_ptr obj);
00182 static proxyPoseStampedDataReaderView_ptr _nil () { return 0; }
00183 static const char * _local_id;
00184 proxyPoseStampedDataReaderView_ptr _this () { return this; }
00185
00186 virtual DDS::ReturnCode_t read (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00187 virtual DDS::ReturnCode_t take (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00188 virtual DDS::ReturnCode_t read_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00189 virtual DDS::ReturnCode_t take_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00190 virtual DDS::ReturnCode_t read_next_sample (proxyPoseStamped& received_data, DDS::SampleInfo& sample_info) = 0;
00191 virtual DDS::ReturnCode_t take_next_sample (proxyPoseStamped& received_data, DDS::SampleInfo& sample_info) = 0;
00192 virtual DDS::ReturnCode_t read_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00193 virtual DDS::ReturnCode_t take_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00194 virtual DDS::ReturnCode_t read_next_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00195 virtual DDS::ReturnCode_t take_next_instance (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00196 virtual DDS::ReturnCode_t read_next_instance_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00197 virtual DDS::ReturnCode_t take_next_instance_w_condition (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00198 virtual DDS::ReturnCode_t return_loan (proxyPoseStampedSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00199 virtual DDS::ReturnCode_t get_key_value (proxyPoseStamped& key_holder, DDS::InstanceHandle_t handle) = 0;
00200 virtual DDS::InstanceHandle_t lookup_instance (const proxyPoseStamped& instance) = 0;
00201
00202 protected:
00203 proxyPoseStampedDataReaderView () {};
00204 ~proxyPoseStampedDataReaderView () {};
00205 private:
00206 proxyPoseStampedDataReaderView (const proxyPoseStampedDataReaderView &);
00207 proxyPoseStampedDataReaderView & operator = (const proxyPoseStampedDataReaderView &);
00208 };
00209
00210 template <>
00211 DDS::BuiltinTopicKey_t_slice* DDS_DCPS_ArrayHelper < DDS::BuiltinTopicKey_t, DDS::BuiltinTopicKey_t_slice, DDS::BuiltinTopicKey_t_uniq_>::alloc ();
00212 template <>
00213 void DDS_DCPS_ArrayHelper < DDS::BuiltinTopicKey_t, DDS::BuiltinTopicKey_t_slice, DDS::BuiltinTopicKey_t_uniq_>::copy (DDS::BuiltinTopicKey_t_slice *to, const DDS::BuiltinTopicKey_t_slice* from);
00214 template <>
00215 void DDS_DCPS_ArrayHelper < DDS::BuiltinTopicKey_t, DDS::BuiltinTopicKey_t_slice, DDS::BuiltinTopicKey_t_uniq_>::free (DDS::BuiltinTopicKey_t_slice *ptr);
00216
00217
00218
00219
00220 #endif