Variable ros2_medkit_gateway::dto::is_opaque_dto_vļ
Defined in File contract.hpp
Variable Documentationļ
-
template<class T>
constexpr bool ros2_medkit_gateway::dto::is_opaque_dto_v = falseļ Opt-in marker for DTOs that bypass field-walking visitors and ship hand- written
JsonWriter<T>/JsonReader<T>/SchemaWriter<T>specializations because their wire shape is runtime-dependent (e.g. plugin response envelopes whose payload is opaque to the gateway). Specialize this totruenext to the type so framework templates that need a serializer (the typed RouteRegistry, schema collector) can accept the type without requiring adto_fields<T>specialization.