35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONOUTPUTS_H 36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONOUTPUTS_H 43 namespace datastructure {
380 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONOUTPUTS_H bool getVelocity1TransmittedSafely() const
Gets if the second linear velocity output is transmitted safely.
void setVelocity1TransmittedSafely(bool velocity_1_transmitted_safely)
Sets if the second linear velocity output is transmitted safely.
int16_t getVelocity1() const
Gets the second linear velocity output.
void setHostErrorFlagGlare(bool host_error_flag_glare)
Sets if glare is present.
bool getHostErrorFlagReferenceContourIntruded() const
Gets if a reference contour is intruded.
bool m_flags_host_error_flags_are_valid
bool getHostErrorFlagContaminationError() const
Gets if a contamination error is present.
void setResultingVelocityIsValidVector(const std::vector< bool > &resulting_velocity_is_valid_vector)
Sets if the resulting velocities are valid.
bool getFlagsSleepModeOutputIsValid() const
Gets if the sleep mode is valid.
std::vector< bool > getResultingVelocityIsValidVector() const
Gets if the resulting velocities are valid.
bool getHostErrorFlagGlare() const
Gets if glare is present.
std::vector< bool > getEvalOutIsSafeVector() const
Gets if a cut-off path from the output paths is safe.
void setResultingVelocityVector(const std::vector< int16_t > &resulting_velocity_vector)
Sets the resulting velocity for each monitoring case table.
void setVelocity0Valid(bool velocity_0_valid)
Sets if the first linear velocity output is valid.
bool m_velocity_1_transmitted_safely
bool m_flags_sleep_mode_output_is_valid
bool m_velocity_0_transmitted_safely
std::vector< uint16_t > getMonitoringCaseVector() const
Gets the currently active monitoring case numbers.
bool m_host_error_flag_contamination_error
void setMonitoringCaseVector(const std::vector< uint16_t > &monitoring_case_vector)
Sets the currently active monitoring case numbers.
std::vector< bool > m_eval_out_is_valid_vector
void setVelocity1Valid(bool velocity_1_valid)
Sets if the second linear velocity output is valid.
bool m_host_error_flag_glare
int16_t getVelocity0() const
Gets the first linear velocity output.
std::vector< uint16_t > m_monitoring_case_vector
std::vector< int16_t > m_resulting_velocity_vector
void setSleepModeOutput(const int8_t &sleep_mode_output)
Sets the state of the sleep mode.
void setVelocity0(const int16_t &velocity_0)
Sets the first linear velocity output.
std::vector< bool > getEvalOutVector() const
Gets the state of the non safe cut-off paths.
void setHostErrorFlagReferenceContourIntruded(bool host_error_flag_reference_contour_intruded)
Sets if a reference contour is intruded.
void setVelocity0TransmittedSafely(bool velocity_0_transmitted_safely)
Sets if the first linear velocity output is transmitted safely.
bool getHostErrorFlagContaminationWarning() const
Gets if a contamination warning is present.
void setEvalOutIsValidVector(const std::vector< bool > &eval_out_is_valid_vector)
Sets if an output path is valid.
bool m_host_error_flag_manipulation_error
void setHostErrorFlagContaminationWarning(bool host_error_flag_contamination_warning)
Sets if a contamination warning is present.
bool getFlagsHostErrorFlagsAreValid() const
Gets if the error flags are valid.
void setHostErrorFlagCriticalError(bool host_error_flag_critical_error)
Sets if a critical error is present.
void setEvalOutIsSafeVector(const std::vector< bool > &eval_out_is_safe_vector)
Sets if an cut-off path is safe.
bool m_host_error_flag_critical_error
void setFlagsSleepModeOutputIsValid(bool flags_sleep_mode_output_is_valid)
Sets if the sleep mode is valid.
void setMonitoringCaseFlagsVector(const std::vector< bool > &monitoring_case_flags_vector)
Set is the corresponding monitoring case number is valid.
void setHostErrorFlagContaminationError(bool host_error_flag_contamination_error)
Sets if a contamination error is present.
void setHostErrorFlagManipulationError(bool host_error_flag_manipulation_error)
Sets if a manipulation error is present.
std::vector< bool > getMonitoringCaseFlagsVector() const
Gets if the corresponding monitoring case number is valid.
ApplicationOutputs()
Constructor of the application outputs.
void setEvalOutVector(const std::vector< bool > &eval_out_vector)
Set the state of the non safe cut-off paths.
std::vector< bool > m_eval_out_vector
The application outputs from a udp data packet.
std::vector< bool > m_eval_out_is_safe_vector
bool m_host_error_flag_contamination_warning
bool getHostErrorFlagManipulationError() const
Gets if a manipulation error is present.
bool getVelocity0TransmittedSafely() const
Gets if the first linear velocity output is transmitted safely.
void setFlagsHostErrorFlagsAreValid(bool flags_host_error_flags_are_valid)
Sets if the error flags are valid.
int8_t m_sleep_mode_output
std::vector< bool > m_monitoring_case_flags_vector
std::vector< bool > m_resulting_velocity_is_valid_vector
bool getHostErrorFlagCriticalError() const
Gets if a critical error is present.
std::vector< bool > getEvalOutIsValidVector() const
If the output path is valid.
int8_t getSleepModeOutput() const
Gets the state of the sleep mode.
bool m_host_error_flag_reference_contour_intruded
bool getVelocity0Valid() const
Gets if the first linear velocity output is valid.
void setVelocity1(const int16_t &velocity_1)
Sets the second linear velocity output.
bool getVelocity1Valid() const
Gets if the second linear velocity output is valid.
std::vector< int16_t > getResultingVelocityVector() const
Gets the resulting velocity for each monitoring case table.