QuaternionDcps.h
Go to the documentation of this file.
00001 //******************************************************************
00002 // 
00003 //  Generated by IDL to C++ Translator
00004 //  
00005 //  File name: QuaternionDcps.h
00006 //  Source: QuaternionDcps.idl
00007 //  Generated: Fri Jul 27 15:39:03 2012
00008 //  OpenSplice V5.5.1OSS
00009 //  
00010 //******************************************************************
00011 #ifndef _QUATERNIONDCPS_H_
00012 #define _QUATERNIONDCPS_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 "dds_builtinTopics.h"
00019 #include "Time.h"
00020 #include "dds_dcps_interfaces.h"
00021 struct Time;
00022 struct Quaternion;
00023 
00024 class QuaternionTypeSupportInterface;
00025 
00026 typedef QuaternionTypeSupportInterface * QuaternionTypeSupportInterface_ptr;
00027 typedef DDS_DCPSInterface_var < QuaternionTypeSupportInterface> QuaternionTypeSupportInterface_var;
00028 typedef DDS_DCPSInterface_out < QuaternionTypeSupportInterface> QuaternionTypeSupportInterface_out;
00029 
00030 
00031 class QuaternionDataWriter;
00032 
00033 typedef QuaternionDataWriter * QuaternionDataWriter_ptr;
00034 typedef DDS_DCPSInterface_var < QuaternionDataWriter> QuaternionDataWriter_var;
00035 typedef DDS_DCPSInterface_out < QuaternionDataWriter> QuaternionDataWriter_out;
00036 
00037 
00038 class QuaternionDataReader;
00039 
00040 typedef QuaternionDataReader * QuaternionDataReader_ptr;
00041 typedef DDS_DCPSInterface_var < QuaternionDataReader> QuaternionDataReader_var;
00042 typedef DDS_DCPSInterface_out < QuaternionDataReader> QuaternionDataReader_out;
00043 
00044 
00045 class QuaternionDataReaderView;
00046 
00047 typedef QuaternionDataReaderView * QuaternionDataReaderView_ptr;
00048 typedef DDS_DCPSInterface_var < QuaternionDataReaderView> QuaternionDataReaderView_var;
00049 typedef DDS_DCPSInterface_out < QuaternionDataReaderView> QuaternionDataReaderView_out;
00050 
00051 
00052 struct QuaternionSeq_uniq_ {};
00053 typedef DDS_DCPSUFLSeq < Quaternion, struct QuaternionSeq_uniq_> QuaternionSeq;
00054 typedef DDS_DCPSSequence_var < QuaternionSeq> QuaternionSeq_var;
00055 typedef DDS_DCPSSequence_out < QuaternionSeq> QuaternionSeq_out;
00056 class QuaternionTypeSupportInterface
00057 :
00058    virtual public DDS::TypeSupport
00059 { 
00060 public:
00061    typedef QuaternionTypeSupportInterface_ptr _ptr_type;
00062    typedef QuaternionTypeSupportInterface_var _var_type;
00063 
00064    static QuaternionTypeSupportInterface_ptr _duplicate (QuaternionTypeSupportInterface_ptr obj);
00065    DDS::Boolean _local_is_a (const char * id);
00066 
00067    static QuaternionTypeSupportInterface_ptr _narrow (DDS::Object_ptr obj);
00068    static QuaternionTypeSupportInterface_ptr _unchecked_narrow (DDS::Object_ptr obj);
00069    static QuaternionTypeSupportInterface_ptr _nil () { return 0; }
00070    static const char * _local_id;
00071    QuaternionTypeSupportInterface_ptr _this () { return this; }
00072 
00073 
00074 protected:
00075    QuaternionTypeSupportInterface () {};
00076    ~QuaternionTypeSupportInterface () {};
00077 private:
00078    QuaternionTypeSupportInterface (const QuaternionTypeSupportInterface &);
00079    QuaternionTypeSupportInterface & operator = (const QuaternionTypeSupportInterface &);
00080 };
00081 
00082 class QuaternionDataWriter
00083 :
00084    virtual public DDS::DataWriter
00085 { 
00086 public:
00087    typedef QuaternionDataWriter_ptr _ptr_type;
00088    typedef QuaternionDataWriter_var _var_type;
00089 
00090    static QuaternionDataWriter_ptr _duplicate (QuaternionDataWriter_ptr obj);
00091    DDS::Boolean _local_is_a (const char * id);
00092 
00093    static QuaternionDataWriter_ptr _narrow (DDS::Object_ptr obj);
00094    static QuaternionDataWriter_ptr _unchecked_narrow (DDS::Object_ptr obj);
00095    static QuaternionDataWriter_ptr _nil () { return 0; }
00096    static const char * _local_id;
00097    QuaternionDataWriter_ptr _this () { return this; }
00098 
00099    virtual DDS::InstanceHandle_t register_instance (const Quaternion& instance_data) = 0;
00100    virtual DDS::InstanceHandle_t register_instance_w_timestamp (const Quaternion& instance_data, const DDS::Time_t& source_timestamp) = 0;
00101    virtual DDS::ReturnCode_t unregister_instance (const Quaternion& instance_data, DDS::InstanceHandle_t handle) = 0;
00102    virtual DDS::ReturnCode_t unregister_instance_w_timestamp (const Quaternion& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00103    virtual DDS::ReturnCode_t write (const Quaternion& instance_data, DDS::InstanceHandle_t handle) = 0;
00104    virtual DDS::ReturnCode_t write_w_timestamp (const Quaternion& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00105    virtual DDS::ReturnCode_t dispose (const Quaternion& instance_data, DDS::InstanceHandle_t handle) = 0;
00106    virtual DDS::ReturnCode_t dispose_w_timestamp (const Quaternion& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00107    virtual DDS::ReturnCode_t writedispose (const Quaternion& instance_data, DDS::InstanceHandle_t handle) = 0;
00108    virtual DDS::ReturnCode_t writedispose_w_timestamp (const Quaternion& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00109    virtual DDS::ReturnCode_t get_key_value (Quaternion& key_holder, DDS::InstanceHandle_t handle) = 0;
00110    virtual DDS::InstanceHandle_t lookup_instance (const Quaternion& instance_data) = 0;
00111 
00112 protected:
00113    QuaternionDataWriter () {};
00114    ~QuaternionDataWriter () {};
00115 private:
00116    QuaternionDataWriter (const QuaternionDataWriter &);
00117    QuaternionDataWriter & operator = (const QuaternionDataWriter &);
00118 };
00119 
00120 class QuaternionDataReader
00121 :
00122    virtual public DDS::DataReader
00123 { 
00124 public:
00125    typedef QuaternionDataReader_ptr _ptr_type;
00126    typedef QuaternionDataReader_var _var_type;
00127 
00128    static QuaternionDataReader_ptr _duplicate (QuaternionDataReader_ptr obj);
00129    DDS::Boolean _local_is_a (const char * id);
00130 
00131    static QuaternionDataReader_ptr _narrow (DDS::Object_ptr obj);
00132    static QuaternionDataReader_ptr _unchecked_narrow (DDS::Object_ptr obj);
00133    static QuaternionDataReader_ptr _nil () { return 0; }
00134    static const char * _local_id;
00135    QuaternionDataReader_ptr _this () { return this; }
00136 
00137    virtual DDS::ReturnCode_t read (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00138    virtual DDS::ReturnCode_t take (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00139    virtual DDS::ReturnCode_t read_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00140    virtual DDS::ReturnCode_t take_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00141    virtual DDS::ReturnCode_t read_next_sample (Quaternion& received_data, DDS::SampleInfo& sample_info) = 0;
00142    virtual DDS::ReturnCode_t take_next_sample (Quaternion& received_data, DDS::SampleInfo& sample_info) = 0;
00143    virtual DDS::ReturnCode_t read_instance (QuaternionSeq& 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;
00144    virtual DDS::ReturnCode_t take_instance (QuaternionSeq& 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;
00145    virtual DDS::ReturnCode_t read_next_instance (QuaternionSeq& 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;
00146    virtual DDS::ReturnCode_t take_next_instance (QuaternionSeq& 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;
00147    virtual DDS::ReturnCode_t read_next_instance_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00148    virtual DDS::ReturnCode_t take_next_instance_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00149    virtual DDS::ReturnCode_t return_loan (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00150    virtual DDS::ReturnCode_t get_key_value (Quaternion& key_holder, DDS::InstanceHandle_t handle) = 0;
00151    virtual DDS::InstanceHandle_t lookup_instance (const Quaternion& instance) = 0;
00152 
00153 protected:
00154    QuaternionDataReader () {};
00155    ~QuaternionDataReader () {};
00156 private:
00157    QuaternionDataReader (const QuaternionDataReader &);
00158    QuaternionDataReader & operator = (const QuaternionDataReader &);
00159 };
00160 
00161 class QuaternionDataReaderView
00162 :
00163    virtual public DDS::DataReaderView
00164 { 
00165 public:
00166    typedef QuaternionDataReaderView_ptr _ptr_type;
00167    typedef QuaternionDataReaderView_var _var_type;
00168 
00169    static QuaternionDataReaderView_ptr _duplicate (QuaternionDataReaderView_ptr obj);
00170    DDS::Boolean _local_is_a (const char * id);
00171 
00172    static QuaternionDataReaderView_ptr _narrow (DDS::Object_ptr obj);
00173    static QuaternionDataReaderView_ptr _unchecked_narrow (DDS::Object_ptr obj);
00174    static QuaternionDataReaderView_ptr _nil () { return 0; }
00175    static const char * _local_id;
00176    QuaternionDataReaderView_ptr _this () { return this; }
00177 
00178    virtual DDS::ReturnCode_t read (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00179    virtual DDS::ReturnCode_t take (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states) = 0;
00180    virtual DDS::ReturnCode_t read_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00181    virtual DDS::ReturnCode_t take_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00182    virtual DDS::ReturnCode_t read_next_sample (Quaternion& received_data, DDS::SampleInfo& sample_info) = 0;
00183    virtual DDS::ReturnCode_t take_next_sample (Quaternion& received_data, DDS::SampleInfo& sample_info) = 0;
00184    virtual DDS::ReturnCode_t read_instance (QuaternionSeq& 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;
00185    virtual DDS::ReturnCode_t take_instance (QuaternionSeq& 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;
00186    virtual DDS::ReturnCode_t read_next_instance (QuaternionSeq& 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;
00187    virtual DDS::ReturnCode_t take_next_instance (QuaternionSeq& 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;
00188    virtual DDS::ReturnCode_t read_next_instance_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00189    virtual DDS::ReturnCode_t take_next_instance_w_condition (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::InstanceHandle_t a_handle, DDS::ReadCondition_ptr a_condition) = 0;
00190    virtual DDS::ReturnCode_t return_loan (QuaternionSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00191    virtual DDS::ReturnCode_t get_key_value (Quaternion& key_holder, DDS::InstanceHandle_t handle) = 0;
00192    virtual DDS::InstanceHandle_t lookup_instance (const Quaternion& instance) = 0;
00193 
00194 protected:
00195    QuaternionDataReaderView () {};
00196    ~QuaternionDataReaderView () {};
00197 private:
00198    QuaternionDataReaderView (const QuaternionDataReaderView &);
00199    QuaternionDataReaderView & operator = (const QuaternionDataReaderView &);
00200 };
00201 
00202 template <>
00203 DDS::BuiltinTopicKey_t_slice* DDS_DCPS_ArrayHelper < DDS::BuiltinTopicKey_t, DDS::BuiltinTopicKey_t_slice, DDS::BuiltinTopicKey_t_uniq_>::alloc ();
00204 template <>
00205 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);
00206 template <>
00207 void DDS_DCPS_ArrayHelper < DDS::BuiltinTopicKey_t, DDS::BuiltinTopicKey_t_slice, DDS::BuiltinTopicKey_t_uniq_>::free (DDS::BuiltinTopicKey_t_slice *ptr);
00208 
00209 
00210 
00211 
00212 #endif 


proxyPoseWithCovarianceStamped
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:21