HeaderDcps.h
Go to the documentation of this file.
00001 //******************************************************************
00002 // 
00003 //  Generated by IDL to C++ Translator
00004 //  
00005 //  File name: HeaderDcps.h
00006 //  Source: HeaderDcps.idl
00007 //  Generated: Mon Jun 11 14:26:46 2012
00008 //  OpenSplice V5.4.1OSS
00009 //  
00010 //******************************************************************
00011 #ifndef _HEADERDCPS_H_
00012 #define _HEADERDCPS_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 "Time.h"
00019 #include "dds_dcps_interfaces.h"
00020 #include "Header.h"
00021 struct Time;
00022 struct Header;
00023 
00024 class HeaderTypeSupportInterface;
00025 
00026 typedef HeaderTypeSupportInterface * HeaderTypeSupportInterface_ptr;
00027 typedef DDS_DCPSInterface_var < HeaderTypeSupportInterface> HeaderTypeSupportInterface_var;
00028 typedef DDS_DCPSInterface_out < HeaderTypeSupportInterface> HeaderTypeSupportInterface_out;
00029 
00030 
00031 class HeaderDataWriter;
00032 
00033 typedef HeaderDataWriter * HeaderDataWriter_ptr;
00034 typedef DDS_DCPSInterface_var < HeaderDataWriter> HeaderDataWriter_var;
00035 typedef DDS_DCPSInterface_out < HeaderDataWriter> HeaderDataWriter_out;
00036 
00037 
00038 class HeaderDataReader;
00039 
00040 typedef HeaderDataReader * HeaderDataReader_ptr;
00041 typedef DDS_DCPSInterface_var < HeaderDataReader> HeaderDataReader_var;
00042 typedef DDS_DCPSInterface_out < HeaderDataReader> HeaderDataReader_out;
00043 
00044 
00045 class HeaderDataReaderView;
00046 
00047 typedef HeaderDataReaderView * HeaderDataReaderView_ptr;
00048 typedef DDS_DCPSInterface_var < HeaderDataReaderView> HeaderDataReaderView_var;
00049 typedef DDS_DCPSInterface_out < HeaderDataReaderView> HeaderDataReaderView_out;
00050 
00051 
00052 struct HeaderSeq_uniq_ {};
00053 typedef DDS_DCPSUVLSeq < Header, struct HeaderSeq_uniq_> HeaderSeq;
00054 typedef DDS_DCPSSequence_var < HeaderSeq> HeaderSeq_var;
00055 typedef DDS_DCPSSequence_out < HeaderSeq> HeaderSeq_out;
00056 class HeaderTypeSupportInterface
00057 :
00058    virtual public DDS::TypeSupport
00059 { 
00060 public:
00061    typedef HeaderTypeSupportInterface_ptr _ptr_type;
00062    typedef HeaderTypeSupportInterface_var _var_type;
00063 
00064    static HeaderTypeSupportInterface_ptr _duplicate (HeaderTypeSupportInterface_ptr obj);
00065    DDS::Boolean _local_is_a (const char * id);
00066 
00067    static HeaderTypeSupportInterface_ptr _narrow (DDS::Object_ptr obj);
00068    static HeaderTypeSupportInterface_ptr _unchecked_narrow (DDS::Object_ptr obj);
00069    static HeaderTypeSupportInterface_ptr _nil () { return 0; }
00070    static const char * _local_id;
00071    HeaderTypeSupportInterface_ptr _this () { return this; }
00072 
00073 
00074 protected:
00075    HeaderTypeSupportInterface () {};
00076    ~HeaderTypeSupportInterface () {};
00077 private:
00078    HeaderTypeSupportInterface (const HeaderTypeSupportInterface &);
00079    HeaderTypeSupportInterface & operator = (const HeaderTypeSupportInterface &);
00080 };
00081 
00082 class HeaderDataWriter
00083 :
00084    virtual public DDS::DataWriter
00085 { 
00086 public:
00087    typedef HeaderDataWriter_ptr _ptr_type;
00088    typedef HeaderDataWriter_var _var_type;
00089 
00090    static HeaderDataWriter_ptr _duplicate (HeaderDataWriter_ptr obj);
00091    DDS::Boolean _local_is_a (const char * id);
00092 
00093    static HeaderDataWriter_ptr _narrow (DDS::Object_ptr obj);
00094    static HeaderDataWriter_ptr _unchecked_narrow (DDS::Object_ptr obj);
00095    static HeaderDataWriter_ptr _nil () { return 0; }
00096    static const char * _local_id;
00097    HeaderDataWriter_ptr _this () { return this; }
00098 
00099    virtual DDS::InstanceHandle_t register_instance (const Header& instance_data) = 0;
00100    virtual DDS::InstanceHandle_t register_instance_w_timestamp (const Header& instance_data, const DDS::Time_t& source_timestamp) = 0;
00101    virtual DDS::ReturnCode_t unregister_instance (const Header& instance_data, DDS::InstanceHandle_t handle) = 0;
00102    virtual DDS::ReturnCode_t unregister_instance_w_timestamp (const Header& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00103    virtual DDS::ReturnCode_t write (const Header& instance_data, DDS::InstanceHandle_t handle) = 0;
00104    virtual DDS::ReturnCode_t write_w_timestamp (const Header& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00105    virtual DDS::ReturnCode_t dispose (const Header& instance_data, DDS::InstanceHandle_t handle) = 0;
00106    virtual DDS::ReturnCode_t dispose_w_timestamp (const Header& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00107    virtual DDS::ReturnCode_t writedispose (const Header& instance_data, DDS::InstanceHandle_t handle) = 0;
00108    virtual DDS::ReturnCode_t writedispose_w_timestamp (const Header& instance_data, DDS::InstanceHandle_t handle, const DDS::Time_t& source_timestamp) = 0;
00109    virtual DDS::ReturnCode_t get_key_value (Header& key_holder, DDS::InstanceHandle_t handle) = 0;
00110    virtual DDS::InstanceHandle_t lookup_instance (const Header& instance_data) = 0;
00111 
00112 protected:
00113    HeaderDataWriter () {};
00114    ~HeaderDataWriter () {};
00115 private:
00116    HeaderDataWriter (const HeaderDataWriter &);
00117    HeaderDataWriter & operator = (const HeaderDataWriter &);
00118 };
00119 
00120 class HeaderDataReader
00121 :
00122    virtual public DDS::DataReader
00123 { 
00124 public:
00125    typedef HeaderDataReader_ptr _ptr_type;
00126    typedef HeaderDataReader_var _var_type;
00127 
00128    static HeaderDataReader_ptr _duplicate (HeaderDataReader_ptr obj);
00129    DDS::Boolean _local_is_a (const char * id);
00130 
00131    static HeaderDataReader_ptr _narrow (DDS::Object_ptr obj);
00132    static HeaderDataReader_ptr _unchecked_narrow (DDS::Object_ptr obj);
00133    static HeaderDataReader_ptr _nil () { return 0; }
00134    static const char * _local_id;
00135    HeaderDataReader_ptr _this () { return this; }
00136 
00137    virtual DDS::ReturnCode_t read (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00140    virtual DDS::ReturnCode_t take_w_condition (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00141    virtual DDS::ReturnCode_t read_next_sample (Header& received_data, DDS::SampleInfo& sample_info) = 0;
00142    virtual DDS::ReturnCode_t take_next_sample (Header& received_data, DDS::SampleInfo& sample_info) = 0;
00143    virtual DDS::ReturnCode_t read_instance (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00150    virtual DDS::ReturnCode_t get_key_value (Header& key_holder, DDS::InstanceHandle_t handle) = 0;
00151    virtual DDS::InstanceHandle_t lookup_instance (const Header& instance) = 0;
00152 
00153 protected:
00154    HeaderDataReader () {};
00155    ~HeaderDataReader () {};
00156 private:
00157    HeaderDataReader (const HeaderDataReader &);
00158    HeaderDataReader & operator = (const HeaderDataReader &);
00159 };
00160 
00161 class HeaderDataReaderView
00162 :
00163    virtual public DDS::DataReaderView
00164 { 
00165 public:
00166    typedef HeaderDataReaderView_ptr _ptr_type;
00167    typedef HeaderDataReaderView_var _var_type;
00168 
00169    static HeaderDataReaderView_ptr _duplicate (HeaderDataReaderView_ptr obj);
00170    DDS::Boolean _local_is_a (const char * id);
00171 
00172    static HeaderDataReaderView_ptr _narrow (DDS::Object_ptr obj);
00173    static HeaderDataReaderView_ptr _unchecked_narrow (DDS::Object_ptr obj);
00174    static HeaderDataReaderView_ptr _nil () { return 0; }
00175    static const char * _local_id;
00176    HeaderDataReaderView_ptr _this () { return this; }
00177 
00178    virtual DDS::ReturnCode_t read (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00181    virtual DDS::ReturnCode_t take_w_condition (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq, DDS::Long max_samples, DDS::ReadCondition_ptr a_condition) = 0;
00182    virtual DDS::ReturnCode_t read_next_sample (Header& received_data, DDS::SampleInfo& sample_info) = 0;
00183    virtual DDS::ReturnCode_t take_next_sample (Header& received_data, DDS::SampleInfo& sample_info) = 0;
00184    virtual DDS::ReturnCode_t read_instance (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& 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 (HeaderSeq& received_data, DDS::SampleInfoSeq& info_seq) = 0;
00191    virtual DDS::ReturnCode_t get_key_value (Header& key_holder, DDS::InstanceHandle_t handle) = 0;
00192    virtual DDS::InstanceHandle_t lookup_instance (const Header& instance) = 0;
00193 
00194 protected:
00195    HeaderDataReaderView () {};
00196    ~HeaderDataReaderView () {};
00197 private:
00198    HeaderDataReaderView (const HeaderDataReaderView &);
00199    HeaderDataReaderView & operator = (const HeaderDataReaderView &);
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 


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