OpenDDS  Snapshot(2023/04/28-20:55)
Logging.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_LOGGING_H
9 #define OPENDDS_DCPS_LOGGING_H
10 
11 #include "dcps_export.h"
12 
13 #include "TimeTypes.h"
14 
15 #include "GuidUtils.h"
16 
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 
22 
23 namespace OpenDDS {
24 namespace DCPS {
25 
26 extern OpenDDS_Dcps_Export bool log_bits;
27 
28 extern void OpenDDS_Dcps_Export log_progress(const char* activity,
29  const GUID_t& local,
30  const GUID_t& remote,
31  const MonotonicTime_t& start_time,
32  const GUID_t& reference = GUID_UNKNOWN);
33 
34 } // namespace DCPS
35 } // namespace OpenDDS
36 
38 
39 #endif /* OPENDDS_DCPS_LOGGING_H */
const GUID_t GUID_UNKNOWN
Nil value for GUID.
Definition: GuidUtils.h:59
#define OpenDDS_Dcps_Export
Definition: dcps_export.h:24
void OpenDDS_Dcps_Export log_progress(const char *activity, const GUID_t &local, const GUID_t &remote, const MonotonicTime_t &start_time, const GUID_t &reference)
Definition: Logging.cpp:20
bool log_bits
Definition: Logging.cpp:18
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28