Flyby SDK v0.3.0
Loading...
Searching...
No Matches
flyby::Component Class Reference

Holds the common info for all SDK components. More...

#include <component.h>

Public Member Functions

 Component ()=default
 The default constructor.
 
 Component (std::string name)
 The name constructor.
 
 Component (std::string name, std::string uuid)
 The name and UUID constructor.
 
std::string get_name () const
 Gets the name of the component.
 
std::string get_uuid () const
 Gets the uuid of the component.
 

Friends

class ComponentHandler
 

Detailed Description

Holds the common info for all SDK components.

Constructor & Destructor Documentation

◆ Component() [1/2]

flyby::Component::Component ( std::string name)
inlineexplicit

The name constructor.

Parameters
name- the name of the component

◆ Component() [2/2]

flyby::Component::Component ( std::string name,
std::string uuid )
inline

The name and UUID constructor.

Parameters
name- the name of the component
uuid- the UUID of the component

Member Function Documentation

◆ get_name()

std::string flyby::Component::get_name ( ) const
inlinenodiscard

Gets the name of the component.

Returns
The name of the component

◆ get_uuid()

std::string flyby::Component::get_uuid ( ) const
inlinenodiscard

Gets the uuid of the component.

Returns
The uuid of the component

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