OpenDDS  Snapshot(2023/04/28-20:55)
PublisherMonitorImpl.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_MONITOR_PUBLISHERMONITORIMPL_H
9 #define OPENDDS_MONITOR_PUBLISHERMONITORIMPL_H
10 
11 #include "monitor_export.h"
13 #include "monitorTypeSupportImpl.h"
14 
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 #pragma once
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 
20 
21 namespace OpenDDS {
22 namespace DCPS {
23 
24 class PublisherMonitorImpl : public Monitor {
25 public:
27  OpenDDS::DCPS::PublisherReportDataWriter_ptr pub_writer);
28  virtual ~PublisherMonitorImpl();
29  virtual void report();
30 
31 private:
33  OpenDDS::DCPS::PublisherReportDataWriter_var pub_writer_;
34 };
35 
36 } // namespace DCPS
37 } // namespace OpenDDS
38 
40 
41 #endif /* OPENDDS_DCPS_PUBLISHER_MONITOR_IMPL_H */
OpenDDS::DCPS::PublisherReportDataWriter_var pub_writer_
PublisherMonitorImpl(PublisherImpl *pub, OpenDDS::DCPS::PublisherReportDataWriter_ptr pub_writer)
Implements the OpenDDS::DCPS::Publisher interfaces.
Definition: PublisherImpl.h:38
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28