Agora  1.2.0
Agora project
EventData Struct Reference

#include <message.h>

Public Member Functions

 EventData (EventType event_type)
 
 EventData (EventType event_type, size_t tag)
 
 EventData ()=default
 

Public Attributes

EventType event_type_
 
uint32_t num_tags_ {0}
 
std::array< size_t, kMaxTagstags_
 

Static Public Attributes

static constexpr size_t kMaxTags = 7
 

Detailed Description

Agora uses these event messages for communication between threads. Each tag encodes information about a task.

Constructor & Destructor Documentation

◆ EventData() [1/3]

EventData::EventData ( EventType  event_type)
inlineexplicit

◆ EventData() [2/3]

EventData::EventData ( EventType  event_type,
size_t  tag 
)
inline

◆ EventData() [3/3]

EventData::EventData ( )
default

Member Data Documentation

◆ event_type_

EventType EventData::event_type_

◆ kMaxTags

constexpr size_t EventData::kMaxTags = 7
staticconstexpr

◆ num_tags_

uint32_t EventData::num_tags_ {0}

◆ tags_

std::array<size_t, kMaxTags> EventData::tags_

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