OpenDDS  Snapshot(2021/07/08-18:22)
RTPS/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_RTPS_LOGGING_H
9 #define OPENDDS_DCPS_RTPS_LOGGING_H
10 
11 #include "rtps_export.h"
12 
13 #include "RtpsCoreTypeSupportImpl.h"
14 
16 
17 #include <dds/DCPS/GuidUtils.h>
18 
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 
24 
25 namespace OpenDDS {
26 namespace RTPS {
27 
28 /// Log a serialized RTPS message.
30 void log_message(const char* format,
31  const DCPS::GuidPrefix_t& prefix,
32  bool send,
33  const Message& message);
34 
36 void parse_submessages(Message& message,
37  const ACE_Message_Block& mb);
38 
39 } // namespace RTPS
40 } // namespace OpenDDS
41 
43 
44 #endif /* OPENDDS_DCPS_RTPS_LOGGING_H */
#define OpenDDS_Rtps_Export
Definition: rtps_export.h:23
octet GuidPrefix_t[12]
Definition: DdsDcpsGuid.idl:19
The Internal API and Implementation of OpenDDS.
void parse_submessages(Message &message, const ACE_Message_Block &mb)
void log_message(const char *format, const DCPS::GuidPrefix_t &prefix, bool send, const Message &message)
Log a serialized RTPS message.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL