OpenDDS  Snapshot(2023/04/28-20:55)
SPMonitorImpl.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_SPMONITORIMPL_H
9 #define OPENDDS_MONITOR_SPMONITORIMPL_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 MonitorFactoryImpl;
25 
26 class SPMonitorImpl : public Monitor {
27 public:
28  SPMonitorImpl(MonitorFactoryImpl* monitor_factory,
30  virtual ~SPMonitorImpl();
31  virtual void report();
32 
33 private:
35  OpenDDS::DCPS::ServiceParticipantReportDataWriter_var sp_writer_;
36  std::string hostname_;
37  pid_t pid_;
38 };
39 
40 
41 } // namespace DCPS
42 } // namespace OpenDDS
43 
45 
46 #endif /* OPENDDS_DCPS_SPMONITOR_IMPL_H */
SPMonitorImpl(MonitorFactoryImpl *monitor_factory, Service_Participant *sp)
OpenDDS::DCPS::ServiceParticipantReportDataWriter_var sp_writer_
Definition: SPMonitorImpl.h:35
Full implementation of the MonitorFactoryImpl.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28
MonitorFactoryImpl * monitor_factory_
Definition: SPMonitorImpl.h:34