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

#include <clock_snapshot.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::ClockSnapshot_Clock:

Public Types

enum  : int32_t { kClockIdFieldNumber = 1 , kTimestampFieldNumber = 2 }
 
using Decoder = ClockSnapshot_Clock_Decoder
 
using FieldMetadata_ClockId = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, ClockSnapshot_Clock >
 
using FieldMetadata_Timestamp = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, ClockSnapshot_Clock >
 

Public Member Functions

void set_clock_id (uint32_t value)
 
void set_timestamp (uint64_t value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_ClockId kClockId ()
 
static constexpr FieldMetadata_Timestamp kTimestamp ()
 

Detailed Description

Definition at line 130 of file clock_snapshot.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 132 of file clock_snapshot.pbzero.h.

◆ FieldMetadata_ClockId

using perfetto::protos::pbzero::ClockSnapshot_Clock::FieldMetadata_ClockId = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, ClockSnapshot_Clock>

Definition at line 141 of file clock_snapshot.pbzero.h.

◆ FieldMetadata_Timestamp

using perfetto::protos::pbzero::ClockSnapshot_Clock::FieldMetadata_Timestamp = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, ClockSnapshot_Clock>

Definition at line 166 of file clock_snapshot.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kClockIdFieldNumber 
kTimestampFieldNumber 

Definition at line 133 of file clock_snapshot.pbzero.h.

Member Function Documentation

◆ GetName()

static constexpr const char * perfetto::protos::pbzero::ClockSnapshot_Clock::GetName ( )
inlinestaticconstexpr

Definition at line 137 of file clock_snapshot.pbzero.h.

137 {
138 return ".perfetto.protos.ClockSnapshot.Clock";
139 }

◆ kClockId()

static constexpr FieldMetadata_ClockId perfetto::protos::pbzero::ClockSnapshot_Clock::kClockId ( )
inlinestaticconstexpr

Definition at line 155 of file clock_snapshot.pbzero.h.

155{ return {}; }

◆ kTimestamp()

static constexpr FieldMetadata_Timestamp perfetto::protos::pbzero::ClockSnapshot_Clock::kTimestamp ( )
inlinestaticconstexpr

Definition at line 180 of file clock_snapshot.pbzero.h.

180{ return {}; }

◆ set_clock_id()

void perfetto::protos::pbzero::ClockSnapshot_Clock::set_clock_id ( uint32_t  value)
inline

Definition at line 156 of file clock_snapshot.pbzero.h.

156 {
157 static constexpr uint32_t field_id = FieldMetadata_ClockId::kFieldId;
158 // Call the appropriate protozero::Message::Append(field_id, ...)
159 // method based on the type of the field.
160 ::protozero::internal::FieldWriter<
161 ::protozero::proto_utils::ProtoSchemaType::kUint32>::Append(*this,
162 field_id,
163 value);
164 }

◆ set_timestamp()

void perfetto::protos::pbzero::ClockSnapshot_Clock::set_timestamp ( uint64_t  value)
inline

Definition at line 181 of file clock_snapshot.pbzero.h.

181 {
182 static constexpr uint32_t field_id = FieldMetadata_Timestamp::kFieldId;
183 // Call the appropriate protozero::Message::Append(field_id, ...)
184 // method based on the type of the field.
185 ::protozero::internal::FieldWriter<
186 ::protozero::proto_utils::ProtoSchemaType::kUint64>::Append(*this,
187 field_id,
188 value);
189 }

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