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


proxyJoy
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:35