Flexiv RDK APIs  2.1
Public Types | Public Attributes | List of all members
flexiv::rdk::RobotEvent Struct Reference

Information about a robot event. More...

#include <data.hpp>

Public Types

enum  Level {
  UNKNOWN = 0 , INFO , WARNING , ERROR ,
  CRITICAL
}
 

Public Attributes

Level level = UNKNOWN
 
int id = 0
 
std::string description = ""
 
std::string consequences = ""
 
std::string probable_causes = ""
 
std::string recommended_actions = ""
 
std::chrono::time_point< std::chrono::system_clock > timestamp
 

Detailed Description

Information about a robot event.

See also
Robot::event_log().

Definition at line 131 of file data.hpp.

Member Enumeration Documentation

◆ Level

Enumerator
UNKNOWN 

Not set.

INFO 

Informational event.

WARNING 

Warning event.

ERROR 

Error event.

CRITICAL 

Critical error event.

Definition at line 133 of file data.hpp.

Member Data Documentation

◆ consequences

std::string flexiv::rdk::RobotEvent::consequences = ""

Consequences caused by the event

Definition at line 152 of file data.hpp.

◆ description

std::string flexiv::rdk::RobotEvent::description = ""

Brief description of the event

Definition at line 149 of file data.hpp.

◆ id

int flexiv::rdk::RobotEvent::id = 0

Unique ID of the event

Definition at line 146 of file data.hpp.

◆ level

Level flexiv::rdk::RobotEvent::level = UNKNOWN

Level of the event

Definition at line 143 of file data.hpp.

◆ probable_causes

std::string flexiv::rdk::RobotEvent::probable_causes = ""

Probable causes of the event

Definition at line 155 of file data.hpp.

◆ recommended_actions

std::string flexiv::rdk::RobotEvent::recommended_actions = ""

Recommended actions after the event

Definition at line 158 of file data.hpp.

◆ timestamp

std::chrono::time_point<std::chrono::system_clock> flexiv::rdk::RobotEvent::timestamp

Timestamp (since epoch) of the event

Definition at line 161 of file data.hpp.


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