REVLib - C++
rev::servohub::ServoHubSimFaultManager Class Reference

#include <ServoHubSimFaultManager.h>

Public Member Functions

 ServoHubSimFaultManager (ServoHub *servoHub)
 
 ServoHubSimFaultManager ()=delete
 
void SetFaults (const ServoHub::Faults &faults)
 
void SetStickyFaults (const ServoHub::Faults &faults)
 
void SetWarnings (const ServoHub::Warnings &warnings)
 
void SetStickyWarnings (const ServoHub::Warnings &warnings)
 

Constructor & Destructor Documentation

◆ ServoHubSimFaultManager() [1/2]

ServoHubSimFaultManager::ServoHubSimFaultManager ( ServoHub servoHub)
explicit

Create a Fault Manager object, which allows you to get and set the status of simulated faults on your simulated Servo Hub. Constructing this object will also cause the Fault Manager to appear in the sim gui. The state of faults can be fetched on the original Servo Hub Object.

Parameters
servoHubThe ServoHub associated with the Fault Manager

◆ ServoHubSimFaultManager() [2/2]

rev::servohub::ServoHubSimFaultManager::ServoHubSimFaultManager ( )
delete

Member Function Documentation

◆ SetFaults()

void ServoHubSimFaultManager::SetFaults ( const ServoHub::Faults faults)

Set the state of the simulated faults of the device.

Use device.getFaults() to get the object and modify the parameters.

Parameters
faultsa Faults object indicating the state of the faults

◆ SetStickyFaults()

void ServoHubSimFaultManager::SetStickyFaults ( const ServoHub::Faults faults)

Set the state of the simulated sticky faults of the device.

Use device.getStickyFaults() to get the object and modify the parameters.

Parameters
faultsa Faults object indicating the state of the sticky faults

◆ SetWarnings()

void ServoHubSimFaultManager::SetWarnings ( const ServoHub::Warnings warnings)

Set the state of the simulated warnings of the device.

Use device.getWarnings() to get the object and modify the parameters.

Parameters
warningsa Warnings object indicating the state of the warnings

◆ SetStickyWarnings()

void ServoHubSimFaultManager::SetStickyWarnings ( const ServoHub::Warnings warnings)

Set the state of the simulated sticky warnings of the device.

Use device.getStickyWarnings() to get the object and modify the parameters.

Parameters
warningsa Warnings object indicating the state of the sticky warnings

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