Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
perfetto::protos::pbzero::Trace_Decoder Class Reference

#include <trace.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::Trace_Decoder:

Public Member Functions

 Trace_Decoder (const uint8_t *data, size_t len)
 
 Trace_Decoder (const std::string &raw)
 
 Trace_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_packet () const
 
::protozero::RepeatedFieldIterator<::protozero::ConstBytes > packet () const
 

Detailed Description

Definition at line 29 of file trace.pbzero.h.

Constructor & Destructor Documentation

◆ Trace_Decoder() [1/3]

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

Definition at line 33 of file trace.pbzero.h.

34 : TypedProtoDecoder(data, len) {}
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Trace_Decoder() [2/3]

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

Definition at line 35 of file trace.pbzero.h.

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

◆ Trace_Decoder() [3/3]

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

Definition at line 38 of file trace.pbzero.h.

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

Member Function Documentation

◆ has_packet()

bool perfetto::protos::pbzero::Trace_Decoder::has_packet ( ) const
inline

Definition at line 40 of file trace.pbzero.h.

40{ return at<1>().valid(); }

◆ packet()

::protozero::RepeatedFieldIterator<::protozero::ConstBytes > perfetto::protos::pbzero::Trace_Decoder::packet ( ) const
inline

Definition at line 41 of file trace.pbzero.h.

41 {
42 return GetRepeated<::protozero::ConstBytes>(1);
43 }

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