22 return std::find_if(spec.
labels.begin(), spec.
labels.end(), sameLabel) != spec.
labels.end();
30 LOGP(fatal,
"{} was not built in this process, which therefore cannot run it.",
name);
33 .metadata = {{
"dpl-placeholder",
"true"}}};
38 return std::ranges::any_of(spec.
metadata, [](
auto const&
m) { return m.key ==
"dpl-placeholder"; });
GLuint const GLchar * name
GLuint GLsizei const GLchar * label
Defining ITS Vertex explicitly as messageable.
std::function< ProcessCallback(InitContext &)> InitCallback
std::function< void(ProcessingContext &)> ProcessCallback
A label that can be associated to a DataProcessorSpec.
static bool isPlaceholder(DataProcessorSpec const &spec)
static bool hasLabel(DataProcessorSpec const &spec, char const *name)
static DataProcessorSpec placeholder(std::string name)
std::vector< DataProcessorMetadata > metadata
std::vector< DataProcessorLabel > labels
VectorOfTObjectPtrs other