OpenDDS
Snapshot(2021/10/21-11:07)
dds
DCPS
RTPS
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
15
#include <
dds/Versioned_Namespace.h
>
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
23
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
24
25
namespace
OpenDDS
{
26
namespace
RTPS {
27
28
/// Log a serialized RTPS message.
29
OpenDDS_Rtps_Export
30
void
log_message
(
const
char
* format,
31
const
DCPS::GuidPrefix_t
& prefix,
32
bool
send,
33
const
Message& message);
34
35
OpenDDS_Rtps_Export
36
void
parse_submessages
(Message& message,
37
const
ACE_Message_Block
& mb);
38
39
}
// namespace RTPS
40
}
// namespace OpenDDS
41
42
OPENDDS_END_VERSIONED_NAMESPACE_DECL
43
44
#endif
/* OPENDDS_DCPS_RTPS_LOGGING_H */
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
Definition:
Hash.cpp:17
OpenDDS::RTPS::log_message
void log_message(const char *format, const DCPS::GuidPrefix_t &prefix, bool send, const Message &message)
Log a serialized RTPS message.
Definition:
RTPS/Logging.cpp:34
OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Definition:
Versioned_Namespace.h:48
ACE_Message_Block
GuidUtils.h
OpenDDS::RTPS::parse_submessages
void parse_submessages(Message &message, const ACE_Message_Block &mb)
Definition:
RTPS/Logging.cpp:62
Versioned_Namespace.h
OpenDDS_Rtps_Export
#define OpenDDS_Rtps_Export
Definition:
rtps_export.h:23
OpenDDS
The Internal API and Implementation of OpenDDS.
Definition:
AddressCache.h:27
OpenDDS::DCPS::GuidPrefix_t
octet GuidPrefix_t[12]
Definition:
DdsDcpsGuid.idl:19
rtps_export.h
Generated by
1.8.13