#include <track_event.pbzero.h>
|
enum | : int32_t {
kCategoriesFieldNumber = 22
, kNameFieldNumber = 23
, kTypeFieldNumber = 9
, kTrackUuidFieldNumber = 11
,
kFlowIdsFieldNumber = 47
, kTerminatingFlowIdsFieldNumber = 48
, kDebugAnnotationsFieldNumber = 4
} |
|
using | Decoder = TrackEvent_Decoder |
|
using | Type = ::perfetto::protos::pbzero::TrackEvent_Type |
|
using | FieldMetadata_Categories = ::protozero::proto_utils::FieldMetadata< 22, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent > |
|
using | FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 23, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent > |
|
using | FieldMetadata_Type = ::protozero::proto_utils::FieldMetadata< 9, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kEnum, ::perfetto::protos::pbzero::TrackEvent_Type, TrackEvent > |
|
using | FieldMetadata_TrackUuid = ::protozero::proto_utils::FieldMetadata< 11, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackEvent > |
|
using | FieldMetadata_FlowIds = ::protozero::proto_utils::FieldMetadata< 47, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent > |
|
using | FieldMetadata_TerminatingFlowIds = ::protozero::proto_utils::FieldMetadata< 48, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent > |
|
using | FieldMetadata_DebugAnnotations = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, DebugAnnotation, TrackEvent > |
|
Definition at line 99 of file track_event.pbzero.h.
◆ Decoder
◆ FieldMetadata_Categories
◆ FieldMetadata_DebugAnnotations
◆ FieldMetadata_FlowIds
◆ FieldMetadata_Name
◆ FieldMetadata_TerminatingFlowIds
◆ FieldMetadata_TrackUuid
◆ FieldMetadata_Type
◆ Type
◆ anonymous enum
Enumerator |
---|
kCategoriesFieldNumber | |
kNameFieldNumber | |
kTypeFieldNumber | |
kTrackUuidFieldNumber | |
kFlowIdsFieldNumber | |
kTerminatingFlowIdsFieldNumber | |
kDebugAnnotationsFieldNumber | |
Definition at line 102 of file track_event.pbzero.h.
102 : int32_t {
110 };
@ kTerminatingFlowIdsFieldNumber
@ kDebugAnnotationsFieldNumber
◆ add_categories() [1/3]
void perfetto::protos::pbzero::TrackEvent::add_categories |
( |
::protozero::ConstChars |
chars | ) |
|
|
inline |
Definition at line 141 of file track_event.pbzero.h.
141 {
142 AppendBytes(FieldMetadata_Categories::kFieldId, chars.data, chars.size);
143 }
◆ add_categories() [2/3]
void perfetto::protos::pbzero::TrackEvent::add_categories |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Definition at line 138 of file track_event.pbzero.h.
138 {
139 AppendBytes(FieldMetadata_Categories::kFieldId, data, size);
140 }
◆ add_categories() [3/3]
void perfetto::protos::pbzero::TrackEvent::add_categories |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 144 of file track_event.pbzero.h.
144 {
145 static constexpr uint32_t field_id = FieldMetadata_Categories::kFieldId;
146
147
148 ::protozero::internal::FieldWriter<
149 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
150 field_id,
151 value);
152 }
◆ add_debug_annotations()
template<typename
T = DebugAnnotation>
T * perfetto::protos::pbzero::TrackEvent::add_debug_annotations |
( |
| ) |
|
|
inline |
◆ add_flow_ids()
void perfetto::protos::pbzero::TrackEvent::add_flow_ids |
( |
uint64_t |
value | ) |
|
|
inline |
Definition at line 250 of file track_event.pbzero.h.
250 {
251 static constexpr uint32_t field_id = FieldMetadata_FlowIds::kFieldId;
252
253
254 ::protozero::internal::FieldWriter<
255 ::protozero::proto_utils::ProtoSchemaType::kFixed64>::Append(*this,
256 field_id,
257 value);
258 }
◆ add_terminating_flow_ids()
void perfetto::protos::pbzero::TrackEvent::add_terminating_flow_ids |
( |
uint64_t |
value | ) |
|
|
inline |
Definition at line 278 of file track_event.pbzero.h.
278 {
279 static constexpr uint32_t field_id =
280 FieldMetadata_TerminatingFlowIds::kFieldId;
281
282
283 ::protozero::internal::FieldWriter<
284 ::protozero::proto_utils::ProtoSchemaType::kFixed64>::Append(*this,
285 field_id,
286 value);
287 }
◆ GetName()
static constexpr const char * perfetto::protos::pbzero::TrackEvent::GetName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kCategories()
◆ kDebugAnnotations()
◆ kFlowIds()
◆ kName()
◆ kTerminatingFlowIds()
◆ kTrackUuid()
◆ kType()
◆ set_name() [1/3]
void perfetto::protos::pbzero::TrackEvent::set_name |
( |
::protozero::ConstChars |
chars | ) |
|
|
inline |
Definition at line 172 of file track_event.pbzero.h.
172 {
173 AppendBytes(FieldMetadata_Name::kFieldId, chars.data, chars.size);
174 }
◆ set_name() [2/3]
void perfetto::protos::pbzero::TrackEvent::set_name |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Definition at line 169 of file track_event.pbzero.h.
169 {
170 AppendBytes(FieldMetadata_Name::kFieldId, data, size);
171 }
◆ set_name() [3/3]
void perfetto::protos::pbzero::TrackEvent::set_name |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 175 of file track_event.pbzero.h.
175 {
176 static constexpr uint32_t field_id = FieldMetadata_Name::kFieldId;
177
178
179 ::protozero::internal::FieldWriter<
180 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
181 field_id,
182 value);
183 }
◆ set_track_uuid()
void perfetto::protos::pbzero::TrackEvent::set_track_uuid |
( |
uint64_t |
value | ) |
|
|
inline |
Definition at line 225 of file track_event.pbzero.h.
225 {
226 static constexpr uint32_t field_id = FieldMetadata_TrackUuid::kFieldId;
227
228
229 ::protozero::internal::FieldWriter<
230 ::protozero::proto_utils::ProtoSchemaType::kUint64>::Append(*this,
231 field_id,
232 value);
233 }
◆ set_type()
Definition at line 200 of file track_event.pbzero.h.
200 {
201 static constexpr uint32_t field_id = FieldMetadata_Type::kFieldId;
202
203
204 ::protozero::internal::FieldWriter<
205 ::protozero::proto_utils::ProtoSchemaType::kEnum>::Append(*this,
206 field_id,
207 value);
208 }
◆ Type_Name()
static const char * perfetto::protos::pbzero::TrackEvent::Type_Name |
( |
Type |
value | ) |
|
|
inlinestatic |
Definition at line 116 of file track_event.pbzero.h.
116 {
117 return ::perfetto::protos::pbzero::TrackEvent_Type_Name(value);
118 }
◆ TYPE_INSTANT
const Type perfetto::protos::pbzero::TrackEvent::TYPE_INSTANT = Type::TYPE_INSTANT |
|
static |
◆ TYPE_SLICE_BEGIN
const Type perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_BEGIN = Type::TYPE_SLICE_BEGIN |
|
static |
◆ TYPE_SLICE_END
const Type perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_END = Type::TYPE_SLICE_END |
|
static |
The documentation for this class was generated from the following file: