ArmNN
 20.05
Entity Class Reference

#include <TimelineModel.hpp>

Public Member Functions

 Entity (uint64_t guid)
 
uint64_t GetGuid ()
 
void AddChild (Entity *child)
 
void AddAttribute (const std::string &type, const std::string &value)
 

Detailed Description

Definition at line 21 of file TimelineModel.hpp.

Constructor & Destructor Documentation

◆ Entity()

Entity ( uint64_t  guid)
inline

Definition at line 24 of file TimelineModel.hpp.

24 : m_Guid(guid) {}

Member Function Documentation

◆ AddAttribute()

void AddAttribute ( const std::string &  type,
const std::string &  value 
)
inline

Definition at line 33 of file TimelineModel.hpp.

34  {
35  Attribute attr(type, value);
36  m_Attributes.emplace(type, attr);
37  }
std::pair< std::string, std::string > Attribute

◆ AddChild()

void AddChild ( Entity child)
inline

Definition at line 26 of file TimelineModel.hpp.

27  {
28  if (child != nullptr)
29  {
30  m_Children.push_back(child);
31  }
32  }

◆ GetGuid()

uint64_t GetGuid ( )
inline

Definition at line 25 of file TimelineModel.hpp.

25 {return m_Guid;}

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