Files
2026-10-23 16:13:31 +00:00

59 lines
1.5 KiB
C++

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// GENERATED CODE - do not edit (Generated by ddkit/genVendorWrap)
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// this file (TestTopic.hpp) wraps the corresponding vendor-generated C++-Header.
// include it via -> #include "ddkit/idls/TestTopic.hpp"
#pragma once
#include <ddkit/utils/Logger.hpp>
#include <ddkit/utils/string.hpp>
#include <ddkit/utils/container.hpp>
// dds-vendor-specific header
#ifdef _WIN32
#pragma warning(push, 0)
#endif
#ifdef DDS_VENDOR_OPENSPLICE
#include <ddkit/idls/vendor/TestTopic_DCPS.hpp>
#else
#include <ddkit/idls/vendor/TestTopic.hpp>
#endif
#ifdef _WIN32
#pragma warning(pop)
#endif
// define ostream-operators (<<) for vendors not defining them theirselves
#if defined(DDS_VENDOR_OPENSPLICE)
namespace ddkit_intern {
using ::ddkit::utils::container::operator<<;
inline std::ostream& operator<<(std::ostream& s, TestTopic const& rhs)
{
return s << "["
<< "id: " << (rhs.id())
<< ", val: " << (rhs.val())
<< "]";
}
using ::ddkit::utils::container::operator<<;
inline std::ostream& operator<<(std::ostream& s, TestTopic2 const& rhs)
{
return s << "["
<< "id: " << (rhs.id())
<< ", val: " << (rhs.val())
<< "]";
}
} // ddkit_intern
#endif // defined(DDS_VENDOR_OPENSPLICE)