OpenDDS  Snapshot(2023/04/28-20:55)
DataReaderRemoteImpl.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_INFOREPODISCOVERY_DATAREADERREMOTEIMPL_H
9 #define OPENDDS_DCPS_INFOREPODISCOVERY_DATAREADERREMOTEIMPL_H
10 
12 #include "DataReaderRemoteS.h"
13 #include "dds/DCPS/RcHandle_T.h"
14 #include "dds/DCPS/Definitions.h"
15 #include "dds/DCPS/RcObject.h"
17 
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 
23 
24 namespace OpenDDS {
25 namespace DCPS {
26 
27 /**
28 * @class DataReaderRemoteImpl
29 *
30 * @brief Implements the OpenDDS::DCPS::ReaderRemote interface that
31 * is used to add and remove associations.
32 *
33 */
35  : public virtual POA_OpenDDS::DCPS::DataReaderRemote {
36 public:
37 
38  explicit DataReaderRemoteImpl(DataReaderCallbacks& parent);
39 
40  virtual ~DataReaderRemoteImpl();
41 
42  virtual void add_association(const GUID_t& yourId,
43  const WriterAssociation& writer,
44  bool active);
45 
46  virtual void remove_associations(const WriterIdSeq& writers,
47  CORBA::Boolean callback);
48 
49  virtual void update_incompatible_qos(const IncompatibleQosStatus& status);
50 
51  void detach_parent();
52 
53 private:
55 };
56 
58 
59 } // namespace DCPS
60 } // namespace OpenDDS
61 
62 #endif /* OPENDDS_DCPS_DATAREADERREMOTEIMPL_H */
Implements the OpenDDS::DCPS::ReaderRemote interface that is used to add and remove associations...
virtual void update_incompatible_qos(const IncompatibleQosStatus &status)
DataReaderRemoteImpl(DataReaderCallbacks &parent)
WeakRcHandle< DataReaderCallbacks > parent_
Defines the interface for Discovery callbacks into the DataReader.
ACE_CDR::Boolean Boolean
sequence< GUID_t > WriterIdSeq
virtual void remove_associations(const WriterIdSeq &writers, CORBA::Boolean callback)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual void add_association(const GUID_t &yourId, const WriterAssociation &writer, bool active)
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28