GSDFPacketDcps.h
Go to the documentation of this file.
1 //******************************************************************
2 //
3 // Generated by IDL to C++ Translator
4 //
5 // File name: GSDFPacketDcps.h
6 // Source: gencxx/GSDFPacketDcps.idl
7 // Generated: Tue Nov 28 13:14:39 2017
8 // OpenSplice V6.4.140407OSS
9 //
10 //******************************************************************
11 #ifndef _GSDFPACKETDCPS_H_
12 #define _GSDFPACKETDCPS_H_
13 
14 #include "sacpp_mapping.h"
15 #include "sacpp_DDS_DCPS.h"
16 #include "dds_dcps.h"
17 #include "GSDFPacket.h"
18 
19 
20 namespace opensplice_dds_broker
21 {
22 
24 
26  typedef DDS_DCPSInterface_var < GSDFPacketTypeSupportInterface> GSDFPacketTypeSupportInterface_var;
27  typedef DDS_DCPSInterface_out < GSDFPacketTypeSupportInterface> GSDFPacketTypeSupportInterface_out;
28 
29 
31 
33  typedef DDS_DCPSInterface_var < GSDFPacketDataWriter> GSDFPacketDataWriter_var;
34  typedef DDS_DCPSInterface_out < GSDFPacketDataWriter> GSDFPacketDataWriter_out;
35 
36 
38 
40  typedef DDS_DCPSInterface_var < GSDFPacketDataReader> GSDFPacketDataReader_var;
41  typedef DDS_DCPSInterface_out < GSDFPacketDataReader> GSDFPacketDataReader_out;
42 
43 
45 
47  typedef DDS_DCPSInterface_var < GSDFPacketDataReaderView> GSDFPacketDataReaderView_var;
48  typedef DDS_DCPSInterface_out < GSDFPacketDataReaderView> GSDFPacketDataReaderView_out;
49 
51  typedef DDS_DCPSUVLSeq < GSDFPacket, struct GSDFPacketSeq_uniq_> GSDFPacketSeq;
52  typedef DDS_DCPSSequence_var < GSDFPacketSeq> GSDFPacketSeq_var;
53  typedef DDS_DCPSSequence_out < GSDFPacketSeq> GSDFPacketSeq_out;
55  :
56  virtual public DDS::TypeSupport
57  {
58  public:
59  typedef GSDFPacketTypeSupportInterface_ptr _ptr_type;
60  typedef GSDFPacketTypeSupportInterface_var _var_type;
61 
62  static GSDFPacketTypeSupportInterface_ptr _duplicate (GSDFPacketTypeSupportInterface_ptr obj);
63  DDS::Boolean _local_is_a (const char * id);
64 
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; }
68  static const char * _local_id;
69  GSDFPacketTypeSupportInterface_ptr _this () { return this; }
70 
71 
72  protected:
75  private:
78  };
79 
81  :
82  virtual public DDS::DataWriter
83  {
84  public:
85  typedef GSDFPacketDataWriter_ptr _ptr_type;
86  typedef GSDFPacketDataWriter_var _var_type;
87 
88  static GSDFPacketDataWriter_ptr _duplicate (GSDFPacketDataWriter_ptr obj);
89  DDS::Boolean _local_is_a (const char * id);
90 
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; }
94  static const char * _local_id;
95  GSDFPacketDataWriter_ptr _this () { return this; }
96 
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;
109 
110  protected:
113  private:
115  GSDFPacketDataWriter & operator = (const GSDFPacketDataWriter &);
116  };
117 
119  :
120  virtual public DDS::DataReader
121  {
122  public:
123  typedef GSDFPacketDataReader_ptr _ptr_type;
124  typedef GSDFPacketDataReader_var _var_type;
125 
126  static GSDFPacketDataReader_ptr _duplicate (GSDFPacketDataReader_ptr obj);
127  DDS::Boolean _local_is_a (const char * id);
128 
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; }
132  static const char * _local_id;
133  GSDFPacketDataReader_ptr _this () { return this; }
134 
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;
150 
151  protected:
154  private:
156  GSDFPacketDataReader & operator = (const GSDFPacketDataReader &);
157  };
158 
160  :
161  virtual public DDS::DataReaderView
162  {
163  public:
164  typedef GSDFPacketDataReaderView_ptr _ptr_type;
165  typedef GSDFPacketDataReaderView_var _var_type;
166 
167  static GSDFPacketDataReaderView_ptr _duplicate (GSDFPacketDataReaderView_ptr obj);
168  DDS::Boolean _local_is_a (const char * id);
169 
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; }
173  static const char * _local_id;
174  GSDFPacketDataReaderView_ptr _this () { return this; }
175 
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;
191 
192  protected:
195  private:
197  GSDFPacketDataReaderView & operator = (const GSDFPacketDataReaderView &);
198  };
199 
200 }
201 
202 
203 
204 
205 #endif
DDS_DCPSInterface_out< GSDFPacketTypeSupportInterface > GSDFPacketTypeSupportInterface_out
DDS_DCPSInterface_var< GSDFPacketDataWriter > GSDFPacketDataWriter_var
DDS_DCPSInterface_var< GSDFPacketDataReaderView > GSDFPacketDataReaderView_var
GSDFPacketDataReaderView * GSDFPacketDataReaderView_ptr
DDS_DCPSInterface_out< GSDFPacketDataReaderView > GSDFPacketDataReaderView_out
static GSDFPacketDataWriter_ptr _nil()
static GSDFPacketTypeSupportInterface_ptr _nil()
static GSDFPacketDataReaderView_ptr _nil()
static GSDFPacketDataReader_ptr _nil()
DDS_DCPSInterface_var< GSDFPacketTypeSupportInterface > GSDFPacketTypeSupportInterface_var
GSDFPacketTypeSupportInterface_ptr _ptr_type
DDS_DCPSInterface_out< GSDFPacketDataReader > GSDFPacketDataReader_out
GSDFPacketTypeSupportInterface_var _var_type
DDS_DCPSUVLSeq< GSDFPacket, struct GSDFPacketSeq_uniq_ > GSDFPacketSeq
DDS_DCPSInterface_var< GSDFPacketDataReader > GSDFPacketDataReader_var
DDS_DCPSSequence_out< GSDFPacketSeq > GSDFPacketSeq_out
DDS_DCPSSequence_var< GSDFPacketSeq > GSDFPacketSeq_var
GSDFPacketTypeSupportInterface * GSDFPacketTypeSupportInterface_ptr
GSDFPacketDataWriter * GSDFPacketDataWriter_ptr
DDS_DCPSInterface_out< GSDFPacketDataWriter > GSDFPacketDataWriter_out
GSDFPacketDataReader * GSDFPacketDataReader_ptr
GSDFPacketTypeSupportInterface_ptr _this()


opensplice_dds_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:23