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.
42 lines
683 B
C++
Executable File
42 lines
683 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Logging for DDS modules
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <NGLLogger/INGLLogger.h>
|
|
#include <ddsgen_export.h>
|
|
|
|
namespace DDS
|
|
{
|
|
|
|
enum class DataType
|
|
{
|
|
DATA_TYPE_UNKNOWN = 0,
|
|
|
|
DATA_WRITER = 1,
|
|
DATA_READER = 2,
|
|
|
|
DYNAMIC_DATA_WRITER = 3,
|
|
DYNAMIC_DATA_READER = 4,
|
|
|
|
DATA_TOPIC_SERVER = 8,
|
|
DATA_TOPIC_CLIENT = 9,
|
|
|
|
FUNCTION_TOPIC_SERVER = 12,
|
|
FUNCTION_TOPIC_CLIENT = 13
|
|
};
|
|
|
|
using LOGGER_T = NGL::INGLLogger&;
|
|
|
|
DDSGEN_EXPORT LOGGER_T getLogger(const char *name, DataType dt);
|
|
inline LOGGER_T getLogger(const std::string &loggerName, DataType dt)
|
|
{
|
|
return getLogger(loggerName.data(), dt);
|
|
}
|
|
}
|