Files
qt6-migration-pipeline/external/tmsif/include/ddkit/idls/ActorInfo.hpp
T
2026-10-23 16:13:31 +00:00

79 lines
2.4 KiB
C++

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// GENERATED CODE - do not edit (Generated by ddkit/genVendorWrap)
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// this file (ActorInfo.hpp) wraps the corresponding vendor-generated C++-Header.
// include it via -> #include "ddkit/idls/ActorInfo.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/ActorInfo_DCPS.hpp>
#else
#include <ddkit/idls/vendor/ActorInfo.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, Process const& rhs)
{
return s << "["
<< "processId: " << (rhs.processId())
<< ", hostName: " << (rhs.hostName())
<< ", procName: " << (rhs.procName())
<< "]";
}
using ::ddkit::utils::container::operator<<;
inline std::ostream& operator<<(std::ostream& s, Session const& rhs)
{
return s << "["
<< "sessionId: " << (rhs.sessionId())
<< ", process: " << (rhs.process())
<< "]";
}
using ::ddkit::utils::container::operator<<;
inline std::ostream& operator<<(std::ostream& s, ActorInfo const& rhs)
{
return s << "["
<< "actorId: " << (rhs.actorId())
<< ", session: " << (rhs.session())
<< ", sequenceId: " << (rhs.sequenceId())
<< ", serviceName: " << (rhs.serviceName())
<< ", domain: " << static_cast<int16_t>(rhs.domain())
<< ", isService: " << (rhs.isService())
<< ", moduleName: " << (rhs.moduleName())
<< ", isReading: " << (rhs.isReading())
<< ", openReaders: " << (rhs.openReaders())
<< ", isWriting: " << (rhs.isWriting())
<< ", openWriters: " << (rhs.openWriters())
<< ", clientName: " << (rhs.clientName())
<< "]";
}
} // ddkit_intern
#endif // defined(DDS_VENDOR_OPENSPLICE)