Bring the validation-scope line (in-tree Jenkins CI copy, lcov coverage wiring, step-by-step release-scope README, TetraIF unit tests, the LogView runtime icon/resource fix, Dockerfile, rpmbuild and the new_docker_build.sh driver with the DEB output path) on top of the XmlPatterns branch pruned to the Release 2 scope. Conflict policy: - Out-of-scope targets/modules: keep the prune (deletion wins). - In-scope files that validation had deleted: restored from story/release-2-cleanup (the Release 2 closure, with the pruned-module guards). - In-scope sources carrying migration work: XmlPatterns versions (Qt XmlPatterns rework on QDomDocument, DDS member and logger fixes, first-build fixes). - Scope-aware CMakeLists (top level, PluginInterfaces, LtsWidgets) and .envrc: story/release-2-cleanup / ours versions.
47 lines
966 B
C++
Executable File
47 lines
966 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
*
|
|
* DDTC Definition & TopicDescription
|
|
*
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
// Include Qt headers FIRST to prevent namespace pollution when RTI DDS headers include Qt
|
|
#include <QtCore/QString>
|
|
#include <QtCore/QUrl>
|
|
#include <QtCore/QFlag>
|
|
#include <dds/core/xtypes/StructType.hpp>
|
|
|
|
namespace DDSGeneric
|
|
{
|
|
struct TopicDescription
|
|
{
|
|
TopicDescription()
|
|
: type(dds::core::xtypes::StructType("Unknown")) {}
|
|
TopicDescription(const std::string &name_, const std::string &typeName_, const dds::core::xtypes::StructType &type_)
|
|
: name(name_)
|
|
, typeName(typeName_)
|
|
, type(type_)
|
|
{}
|
|
|
|
std::string name;
|
|
std::string typeName;
|
|
dds::core::xtypes::StructType type;
|
|
|
|
bool operator==(const TopicDescription &ti) const
|
|
{
|
|
return (name.compare(ti.name) == 0) &&
|
|
(typeName.compare(ti.typeName) == 0) &&
|
|
(type == ti.type);
|
|
}
|
|
bool isEmpty() const
|
|
{
|
|
return name.empty();
|
|
}
|
|
};
|
|
|
|
}
|