Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
perfetto::protos::pbzero::TrackEvent_Decoder Class Reference

#include <track_event.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TrackEvent_Decoder:

Public Member Functions

 TrackEvent_Decoder (const uint8_t *data, size_t len)
 
 TrackEvent_Decoder (const std::string &raw)
 
 TrackEvent_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_categories () const
 
::protozero::RepeatedFieldIterator<::protozero::ConstChars > categories () const
 
bool has_name () const
 
::protozero::ConstChars name () const
 
bool has_type () const
 
int32_t type () const
 
bool has_track_uuid () const
 
uint64_t track_uuid () const
 
bool has_flow_ids () const
 
::protozero::RepeatedFieldIterator< uint64_t > flow_ids () const
 
bool has_terminating_flow_ids () const
 
::protozero::RepeatedFieldIterator< uint64_t > terminating_flow_ids () const
 
bool has_debug_annotations () const
 
::protozero::RepeatedFieldIterator<::protozero::ConstBytes > debug_annotations () const
 

Detailed Description

Definition at line 62 of file track_event.pbzero.h.

Constructor & Destructor Documentation

◆ TrackEvent_Decoder() [1/3]

perfetto::protos::pbzero::TrackEvent_Decoder::TrackEvent_Decoder ( const uint8_t *  data,
size_t  len 
)
inline

Definition at line 66 of file track_event.pbzero.h.

67 : TypedProtoDecoder(data, len) {}

◆ TrackEvent_Decoder() [2/3]

perfetto::protos::pbzero::TrackEvent_Decoder::TrackEvent_Decoder ( const std::string &  raw)
inlineexplicit

Definition at line 68 of file track_event.pbzero.h.

69 : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()),
70 raw.size()) {}

◆ TrackEvent_Decoder() [3/3]

perfetto::protos::pbzero::TrackEvent_Decoder::TrackEvent_Decoder ( const ::protozero::ConstBytes &  raw)
inlineexplicit

Definition at line 71 of file track_event.pbzero.h.

72 : TypedProtoDecoder(raw.data, raw.size) {}

Member Function Documentation

◆ categories()

::protozero::RepeatedFieldIterator<::protozero::ConstChars > perfetto::protos::pbzero::TrackEvent_Decoder::categories ( ) const
inline

Definition at line 74 of file track_event.pbzero.h.

75 {
76 return GetRepeated<::protozero::ConstChars>(22);
77 }

◆ debug_annotations()

::protozero::RepeatedFieldIterator<::protozero::ConstBytes > perfetto::protos::pbzero::TrackEvent_Decoder::debug_annotations ( ) const
inline

Definition at line 94 of file track_event.pbzero.h.

94 {
95 return GetRepeated<::protozero::ConstBytes>(4);
96 }

◆ flow_ids()

::protozero::RepeatedFieldIterator< uint64_t > perfetto::protos::pbzero::TrackEvent_Decoder::flow_ids ( ) const
inline

Definition at line 85 of file track_event.pbzero.h.

85 {
86 return GetRepeated<uint64_t>(47);
87 }

◆ has_categories()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_categories ( ) const
inline

Definition at line 73 of file track_event.pbzero.h.

73{ return at<22>().valid(); }

◆ has_debug_annotations()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_debug_annotations ( ) const
inline

Definition at line 92 of file track_event.pbzero.h.

92{ return at<4>().valid(); }

◆ has_flow_ids()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_flow_ids ( ) const
inline

Definition at line 84 of file track_event.pbzero.h.

84{ return at<47>().valid(); }

◆ has_name()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_name ( ) const
inline

Definition at line 78 of file track_event.pbzero.h.

78{ return at<23>().valid(); }

◆ has_terminating_flow_ids()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_terminating_flow_ids ( ) const
inline

Definition at line 88 of file track_event.pbzero.h.

88{ return at<48>().valid(); }

◆ has_track_uuid()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_track_uuid ( ) const
inline

Definition at line 82 of file track_event.pbzero.h.

82{ return at<11>().valid(); }

◆ has_type()

bool perfetto::protos::pbzero::TrackEvent_Decoder::has_type ( ) const
inline

Definition at line 80 of file track_event.pbzero.h.

80{ return at<9>().valid(); }

◆ name()

::protozero::ConstChars perfetto::protos::pbzero::TrackEvent_Decoder::name ( ) const
inline

Definition at line 79 of file track_event.pbzero.h.

79{ return at<23>().as_string(); }

◆ terminating_flow_ids()

::protozero::RepeatedFieldIterator< uint64_t > perfetto::protos::pbzero::TrackEvent_Decoder::terminating_flow_ids ( ) const
inline

Definition at line 89 of file track_event.pbzero.h.

89 {
90 return GetRepeated<uint64_t>(48);
91 }

◆ track_uuid()

uint64_t perfetto::protos::pbzero::TrackEvent_Decoder::track_uuid ( ) const
inline

Definition at line 83 of file track_event.pbzero.h.

83{ return at<11>().as_uint64(); }

◆ type()

int32_t perfetto::protos::pbzero::TrackEvent_Decoder::type ( ) const
inline

Definition at line 81 of file track_event.pbzero.h.

81{ return at<9>().as_int32(); }

The documentation for this class was generated from the following file: