mc_control::ElementId Struct Reference

#include <mc_control/ControllerClient.h>

Public Member Functions

 ElementId ()=default
 
 ElementId (const ElementId &)=default
 
 ElementId (ElementId &&)=default
 
ElementIdoperator= (const ElementId &)=default
 
ElementIdoperator= (ElementId &&)=default
 
 ElementId (const std::vector< std::string > &category, const std::string &name, int sid)
 
 ElementId (const std::vector< std::string > &category, const std::string &name)
 

Public Attributes

std::vector< std::string > category = {}
 
std::string name = {}
 
int sid = -1
 

Detailed Description

Used to uniquely identify an element

Constructor & Destructor Documentation

◆ ElementId() [1/5]

mc_control::ElementId::ElementId ( )
default

◆ ElementId() [2/5]

mc_control::ElementId::ElementId ( const ElementId )
default

◆ ElementId() [3/5]

mc_control::ElementId::ElementId ( ElementId &&  )
default

◆ ElementId() [4/5]

mc_control::ElementId::ElementId ( const std::vector< std::string > &  category,
const std::string &  name,
int  sid 
)
inline

◆ ElementId() [5/5]

mc_control::ElementId::ElementId ( const std::vector< std::string > &  category,
const std::string &  name 
)
inline

Member Function Documentation

◆ operator=() [1/2]

ElementId& mc_control::ElementId::operator= ( const ElementId )
default

◆ operator=() [2/2]

ElementId& mc_control::ElementId::operator= ( ElementId &&  )
default

Member Data Documentation

◆ category

std::vector<std::string> mc_control::ElementId::category = {}

Category the element belongs to

◆ name

std::string mc_control::ElementId::name = {}

Name of the element

◆ sid

int mc_control::ElementId::sid = -1

Stack id, the elements that share the same stack id should be displayed on the same line


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