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

#include <track_descriptor.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TrackDescriptor_Decoder:

Public Member Functions

 TrackDescriptor_Decoder (const uint8_t *data, size_t len)
 
 TrackDescriptor_Decoder (const std::string &raw)
 
 TrackDescriptor_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_uuid () const
 
uint64_t uuid () const
 
bool has_parent_uuid () const
 
uint64_t parent_uuid () const
 
bool has_name () const
 
::protozero::ConstChars name () const
 
bool has_process () const
 
::protozero::ConstBytes process () const
 
bool has_thread () const
 
::protozero::ConstBytes thread () const
 

Detailed Description

Definition at line 30 of file track_descriptor.pbzero.h.

Constructor & Destructor Documentation

◆ TrackDescriptor_Decoder() [1/3]

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

Definition at line 34 of file track_descriptor.pbzero.h.

35 : TypedProtoDecoder(data, len) {}

◆ TrackDescriptor_Decoder() [2/3]

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

Definition at line 36 of file track_descriptor.pbzero.h.

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

◆ TrackDescriptor_Decoder() [3/3]

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

Definition at line 39 of file track_descriptor.pbzero.h.

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

Member Function Documentation

◆ has_name()

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

Definition at line 45 of file track_descriptor.pbzero.h.

45{ return at<2>().valid(); }

◆ has_parent_uuid()

bool perfetto::protos::pbzero::TrackDescriptor_Decoder::has_parent_uuid ( ) const
inline

Definition at line 43 of file track_descriptor.pbzero.h.

43{ return at<5>().valid(); }

◆ has_process()

bool perfetto::protos::pbzero::TrackDescriptor_Decoder::has_process ( ) const
inline

Definition at line 47 of file track_descriptor.pbzero.h.

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

◆ has_thread()

bool perfetto::protos::pbzero::TrackDescriptor_Decoder::has_thread ( ) const
inline

Definition at line 49 of file track_descriptor.pbzero.h.

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

◆ has_uuid()

bool perfetto::protos::pbzero::TrackDescriptor_Decoder::has_uuid ( ) const
inline

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

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

◆ name()

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

Definition at line 46 of file track_descriptor.pbzero.h.

46{ return at<2>().as_string(); }

◆ parent_uuid()

uint64_t perfetto::protos::pbzero::TrackDescriptor_Decoder::parent_uuid ( ) const
inline

Definition at line 44 of file track_descriptor.pbzero.h.

44{ return at<5>().as_uint64(); }

◆ process()

::protozero::ConstBytes perfetto::protos::pbzero::TrackDescriptor_Decoder::process ( ) const
inline

Definition at line 48 of file track_descriptor.pbzero.h.

48{ return at<3>().as_bytes(); }

◆ thread()

::protozero::ConstBytes perfetto::protos::pbzero::TrackDescriptor_Decoder::thread ( ) const
inline

Definition at line 50 of file track_descriptor.pbzero.h.

50{ return at<4>().as_bytes(); }

◆ uuid()

uint64_t perfetto::protos::pbzero::TrackDescriptor_Decoder::uuid ( ) const
inline

Definition at line 42 of file track_descriptor.pbzero.h.

42{ return at<1>().as_uint64(); }

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