DataWriterRemoteImpl.h

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 #ifndef OPENDDS_DCPS_DATAWRITERREMOTE_H
00009 #define OPENDDS_DCPS_DATAWRITERREMOTE_H
00010 
00011 #include "dds/DCPS/InfoRepoDiscovery/DataWriterRemoteS.h"
00012 #include "dds/DCPS/Definitions.h"
00013 
00014 #include "ace/Thread_Mutex.h"
00015 
00016 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00017 #pragma once
00018 #endif /* ACE_LACKS_PRAGMA_ONCE */
00019 
00020 namespace OpenDDS {
00021 namespace DCPS {
00022 
00023 class DataWriterCallbacks;
00024 
00025 /**
00026 * @class DataWriterRemoteImpl
00027 *
00028 * @brief Implements the OpenDDS::DCPS::DataWriterRemote interface.
00029 *
00030 */
00031 class DataWriterRemoteImpl
00032   : public virtual POA_OpenDDS::DCPS::DataWriterRemote {
00033 public:
00034   explicit DataWriterRemoteImpl(DataWriterCallbacks* parent);
00035 
00036   virtual ~DataWriterRemoteImpl();
00037 
00038   virtual void add_association(const RepoId& yourId,
00039                                const ReaderAssociation& readers,
00040                                bool active);
00041 
00042   virtual void association_complete(const RepoId& remote_id);
00043 
00044   virtual void remove_associations(const ReaderIdSeq& readers,
00045                                    CORBA::Boolean callback);
00046 
00047   virtual void update_incompatible_qos(const IncompatibleQosStatus& status);
00048 
00049   virtual void update_subscription_params(const RepoId& readerId,
00050                                           const DDS::StringSeq& exprParams);
00051 
00052   void detach_parent();
00053 
00054 private:
00055   DataWriterCallbacks* parent_;
00056   ACE_Thread_Mutex mutex_;
00057 };
00058 
00059 } // namespace DCPS
00060 } // namespace OpenDDS
00061 
00062 #endif

Generated on Fri Feb 12 20:05:20 2016 for OpenDDS by  doxygen 1.4.7