The application outputs from a udp data packet. More...
#include <ApplicationOutputs.h>
Public Member Functions | |
ApplicationOutputs () | |
Constructor of the application outputs. More... | |
std::vector< bool > | getEvalOutIsSafeVector () const |
Gets if a cut-off path from the output paths is safe. More... | |
std::vector< bool > | getEvalOutIsValidVector () const |
If the output path is valid. More... | |
std::vector< bool > | getEvalOutVector () const |
Gets the state of the non safe cut-off paths. More... | |
bool | getFlagsHostErrorFlagsAreValid () const |
Gets if the error flags are valid. More... | |
bool | getFlagsSleepModeOutputIsValid () const |
Gets if the sleep mode is valid. More... | |
bool | getHostErrorFlagContaminationError () const |
Gets if a contamination error is present. More... | |
bool | getHostErrorFlagContaminationWarning () const |
Gets if a contamination warning is present. More... | |
bool | getHostErrorFlagCriticalError () const |
Gets if a critical error is present. More... | |
bool | getHostErrorFlagGlare () const |
Gets if glare is present. More... | |
bool | getHostErrorFlagManipulationError () const |
Gets if a manipulation error is present. More... | |
bool | getHostErrorFlagReferenceContourIntruded () const |
Gets if a reference contour is intruded. More... | |
std::vector< bool > | getMonitoringCaseFlagsVector () const |
Gets if the corresponding monitoring case number is valid. More... | |
std::vector< uint16_t > | getMonitoringCaseVector () const |
Gets the currently active monitoring case numbers. More... | |
std::vector< bool > | getResultingVelocityIsValidVector () const |
Gets if the resulting velocities are valid. More... | |
std::vector< int16_t > | getResultingVelocityVector () const |
Gets the resulting velocity for each monitoring case table. More... | |
int8_t | getSleepModeOutput () const |
Gets the state of the sleep mode. More... | |
int16_t | getVelocity0 () const |
Gets the first linear velocity output. More... | |
bool | getVelocity0TransmittedSafely () const |
Gets if the first linear velocity output is transmitted safely. More... | |
bool | getVelocity0Valid () const |
Gets if the first linear velocity output is valid. More... | |
int16_t | getVelocity1 () const |
Gets the second linear velocity output. More... | |
bool | getVelocity1TransmittedSafely () const |
Gets if the second linear velocity output is transmitted safely. More... | |
bool | getVelocity1Valid () const |
Gets if the second linear velocity output is valid. More... | |
void | setEvalOutIsSafeVector (const std::vector< bool > &eval_out_is_safe_vector) |
Sets if an cut-off path is safe. More... | |
void | setEvalOutIsValidVector (const std::vector< bool > &eval_out_is_valid_vector) |
Sets if an output path is valid. More... | |
void | setEvalOutVector (const std::vector< bool > &eval_out_vector) |
Set the state of the non safe cut-off paths. More... | |
void | setFlagsHostErrorFlagsAreValid (bool flags_host_error_flags_are_valid) |
Sets if the error flags are valid. More... | |
void | setFlagsSleepModeOutputIsValid (bool flags_sleep_mode_output_is_valid) |
Sets if the sleep mode is valid. More... | |
void | setHostErrorFlagContaminationError (bool host_error_flag_contamination_error) |
Sets if a contamination error is present. More... | |
void | setHostErrorFlagContaminationWarning (bool host_error_flag_contamination_warning) |
Sets if a contamination warning is present. More... | |
void | setHostErrorFlagCriticalError (bool host_error_flag_critical_error) |
Sets if a critical error is present. More... | |
void | setHostErrorFlagGlare (bool host_error_flag_glare) |
Sets if glare is present. More... | |
void | setHostErrorFlagManipulationError (bool host_error_flag_manipulation_error) |
Sets if a manipulation error is present. More... | |
void | setHostErrorFlagReferenceContourIntruded (bool host_error_flag_reference_contour_intruded) |
Sets if a reference contour is intruded. More... | |
void | setMonitoringCaseFlagsVector (const std::vector< bool > &monitoring_case_flags_vector) |
Set is the corresponding monitoring case number is valid. More... | |
void | setMonitoringCaseVector (const std::vector< uint16_t > &monitoring_case_vector) |
Sets the currently active monitoring case numbers. More... | |
void | setResultingVelocityIsValidVector (const std::vector< bool > &resulting_velocity_is_valid_vector) |
Sets if the resulting velocities are valid. More... | |
void | setResultingVelocityVector (const std::vector< int16_t > &resulting_velocity_vector) |
Sets the resulting velocity for each monitoring case table. More... | |
void | setSleepModeOutput (const int8_t &sleep_mode_output) |
Sets the state of the sleep mode. More... | |
void | setVelocity0 (const int16_t &velocity_0) |
Sets the first linear velocity output. More... | |
void | setVelocity0TransmittedSafely (bool velocity_0_transmitted_safely) |
Sets if the first linear velocity output is transmitted safely. More... | |
void | setVelocity0Valid (bool velocity_0_valid) |
Sets if the first linear velocity output is valid. More... | |
void | setVelocity1 (const int16_t &velocity_1) |
Sets the second linear velocity output. More... | |
void | setVelocity1TransmittedSafely (bool velocity_1_transmitted_safely) |
Sets if the second linear velocity output is transmitted safely. More... | |
void | setVelocity1Valid (bool velocity_1_valid) |
Sets if the second linear velocity output is valid. More... | |
Private Attributes | |
std::vector< bool > | m_eval_out_is_safe_vector |
std::vector< bool > | m_eval_out_is_valid_vector |
std::vector< bool > | m_eval_out_vector |
bool | m_flags_host_error_flags_are_valid |
bool | m_flags_sleep_mode_output_is_valid |
bool | m_host_error_flag_contamination_error |
bool | m_host_error_flag_contamination_warning |
bool | m_host_error_flag_critical_error |
bool | m_host_error_flag_glare |
bool | m_host_error_flag_manipulation_error |
bool | m_host_error_flag_reference_contour_intruded |
std::vector< bool > | m_monitoring_case_flags_vector |
std::vector< uint16_t > | m_monitoring_case_vector |
std::vector< bool > | m_resulting_velocity_is_valid_vector |
std::vector< int16_t > | m_resulting_velocity_vector |
int8_t | m_sleep_mode_output |
int16_t | m_velocity_0 |
bool | m_velocity_0_transmitted_safely |
bool | m_velocity_0_valid |
int16_t | m_velocity_1 |
bool | m_velocity_1_transmitted_safely |
bool | m_velocity_1_valid |
The application outputs from a udp data packet.
Definition at line 48 of file ApplicationOutputs.h.
sick::datastructure::ApplicationOutputs::ApplicationOutputs | ( | ) |
Constructor of the application outputs.
Definition at line 40 of file ApplicationOutputs.cpp.
std::vector< bool > sick::datastructure::ApplicationOutputs::getEvalOutIsSafeVector | ( | ) | const |
Gets if a cut-off path from the output paths is safe.
Definition at line 52 of file ApplicationOutputs.cpp.
std::vector< bool > sick::datastructure::ApplicationOutputs::getEvalOutIsValidVector | ( | ) | const |
If the output path is valid.
Definition at line 62 of file ApplicationOutputs.cpp.
std::vector< bool > sick::datastructure::ApplicationOutputs::getEvalOutVector | ( | ) | const |
Gets the state of the non safe cut-off paths.
Definition at line 42 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getFlagsHostErrorFlagsAreValid | ( | ) | const |
Gets if the error flags are valid.
Definition at line 259 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getFlagsSleepModeOutputIsValid | ( | ) | const |
Gets if the sleep mode is valid.
Definition at line 249 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagContaminationError | ( | ) | const |
Gets if a contamination error is present.
Definition at line 115 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagContaminationWarning | ( | ) | const |
Gets if a contamination warning is present.
Definition at line 104 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagCriticalError | ( | ) | const |
Gets if a critical error is present.
Definition at line 157 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagGlare | ( | ) | const |
Gets if glare is present.
Definition at line 136 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagManipulationError | ( | ) | const |
Gets if a manipulation error is present.
Definition at line 126 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getHostErrorFlagReferenceContourIntruded | ( | ) | const |
Gets if a reference contour is intruded.
Definition at line 146 of file ApplicationOutputs.cpp.
std::vector< bool > sick::datastructure::ApplicationOutputs::getMonitoringCaseFlagsVector | ( | ) | const |
Gets if the corresponding monitoring case number is valid.
Definition at line 83 of file ApplicationOutputs.cpp.
std::vector< uint16_t > sick::datastructure::ApplicationOutputs::getMonitoringCaseVector | ( | ) | const |
Gets the currently active monitoring case numbers.
Definition at line 72 of file ApplicationOutputs.cpp.
std::vector< bool > sick::datastructure::ApplicationOutputs::getResultingVelocityIsValidVector | ( | ) | const |
Gets if the resulting velocities are valid.
Definition at line 238 of file ApplicationOutputs.cpp.
std::vector< int16_t > sick::datastructure::ApplicationOutputs::getResultingVelocityVector | ( | ) | const |
Gets the resulting velocity for each monitoring case table.
Definition at line 227 of file ApplicationOutputs.cpp.
int8_t sick::datastructure::ApplicationOutputs::getSleepModeOutput | ( | ) | const |
Gets the state of the sleep mode.
Definition at line 94 of file ApplicationOutputs.cpp.
int16_t sick::datastructure::ApplicationOutputs::getVelocity0 | ( | ) | const |
Gets the first linear velocity output.
Definition at line 167 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getVelocity0TransmittedSafely | ( | ) | const |
Gets if the first linear velocity output is transmitted safely.
Definition at line 207 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getVelocity0Valid | ( | ) | const |
Gets if the first linear velocity output is valid.
Definition at line 187 of file ApplicationOutputs.cpp.
int16_t sick::datastructure::ApplicationOutputs::getVelocity1 | ( | ) | const |
Gets the second linear velocity output.
Definition at line 177 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getVelocity1TransmittedSafely | ( | ) | const |
Gets if the second linear velocity output is transmitted safely.
Definition at line 217 of file ApplicationOutputs.cpp.
bool sick::datastructure::ApplicationOutputs::getVelocity1Valid | ( | ) | const |
Gets if the second linear velocity output is valid.
Definition at line 197 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setEvalOutIsSafeVector | ( | const std::vector< bool > & | eval_out_is_safe_vector | ) |
Sets if an cut-off path is safe.
eval_out_is_safe_vector | If a cut off path is safe. |
Definition at line 57 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setEvalOutIsValidVector | ( | const std::vector< bool > & | eval_out_is_valid_vector | ) |
Sets if an output path is valid.
eval_out_is_valid_vector | If an output path is valid. |
Definition at line 67 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setEvalOutVector | ( | const std::vector< bool > & | eval_out_vector | ) |
Set the state of the non safe cut-off paths.
eval_out_vector | The state of the non safe cut-off paths. |
Definition at line 47 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setFlagsHostErrorFlagsAreValid | ( | bool | flags_host_error_flags_are_valid | ) |
Sets if the error flags are valid.
flags_host_error_flags_are_valid | If the error flags are valid. |
Definition at line 264 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setFlagsSleepModeOutputIsValid | ( | bool | flags_sleep_mode_output_is_valid | ) |
Sets if the sleep mode is valid.
flags_sleep_mode_output_is_valid | If the sleep mode is valid. |
Definition at line 254 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagContaminationError | ( | bool | host_error_flag_contamination_error | ) |
Sets if a contamination error is present.
host_error_flag_contamination_error | If a contamination error is present. |
Definition at line 120 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagContaminationWarning | ( | bool | host_error_flag_contamination_warning | ) |
Sets if a contamination warning is present.
host_error_flag_contamination_warning | If a contamination warning is present. |
Definition at line 109 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagCriticalError | ( | bool | host_error_flag_critical_error | ) |
Sets if a critical error is present.
host_error_flag_critical_error | If a critical error is present. |
Definition at line 162 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagGlare | ( | bool | host_error_flag_glare | ) |
Sets if glare is present.
host_error_flag_glare | If glare is present. |
Definition at line 141 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagManipulationError | ( | bool | host_error_flag_manipulation_error | ) |
Sets if a manipulation error is present.
host_error_flag_manipulation_error | If a manipulation error is present. |
Definition at line 131 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setHostErrorFlagReferenceContourIntruded | ( | bool | host_error_flag_reference_contour_intruded | ) |
Sets if a reference contour is intruded.
host_error_flag_reference_contour_intruded | If a reference contour is intruded. |
Definition at line 151 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setMonitoringCaseFlagsVector | ( | const std::vector< bool > & | monitoring_case_flags_vector | ) |
Set is the corresponding monitoring case number is valid.
monitoring_case_flags_vector | If the monitoring case number is valid. |
Definition at line 88 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setMonitoringCaseVector | ( | const std::vector< uint16_t > & | monitoring_case_vector | ) |
Sets the currently active monitoring case numbers.
monitoring_case_vector | The monitoring case numbers. |
Definition at line 77 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setResultingVelocityIsValidVector | ( | const std::vector< bool > & | resulting_velocity_is_valid_vector | ) |
Sets if the resulting velocities are valid.
resulting_velocity_is_valid_vector | If the resulting velocities are valid. |
Definition at line 243 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setResultingVelocityVector | ( | const std::vector< int16_t > & | resulting_velocity_vector | ) |
Sets the resulting velocity for each monitoring case table.
resulting_velocity_vector | The resulting velocity for each monitoring case table. |
Definition at line 232 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setSleepModeOutput | ( | const int8_t & | sleep_mode_output | ) |
Sets the state of the sleep mode.
sleep_mode_output | The state of the sleep mode. |
Definition at line 99 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity0 | ( | const int16_t & | velocity_0 | ) |
Sets the first linear velocity output.
velocity_0 | The first linear velocity output. |
Definition at line 172 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity0TransmittedSafely | ( | bool | velocity_0_transmitted_safely | ) |
Sets if the first linear velocity output is transmitted safely.
velocity_0_transmitted_safely | If the first linear velocity output is transmitted safely. |
Definition at line 212 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity0Valid | ( | bool | velocity_0_valid | ) |
Sets if the first linear velocity output is valid.
velocity_0_valid | If the first linear velocity output is valid. |
Definition at line 192 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity1 | ( | const int16_t & | velocity_1 | ) |
Sets the second linear velocity output.
velocity_1 | The second linear velocity output. |
Definition at line 182 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity1TransmittedSafely | ( | bool | velocity_1_transmitted_safely | ) |
Sets if the second linear velocity output is transmitted safely.
velocity_1_transmitted_safely | if the second linear velocity output is transmitted safely. |
Definition at line 222 of file ApplicationOutputs.cpp.
void sick::datastructure::ApplicationOutputs::setVelocity1Valid | ( | bool | velocity_1_valid | ) |
Sets if the second linear velocity output is valid.
velocity_1_valid | If the second linear velocity output is valid. |
Definition at line 202 of file ApplicationOutputs.cpp.
|
private |
Definition at line 346 of file ApplicationOutputs.h.
|
private |
Definition at line 347 of file ApplicationOutputs.h.
|
private |
Definition at line 345 of file ApplicationOutputs.h.
|
private |
Definition at line 373 of file ApplicationOutputs.h.
|
private |
Definition at line 372 of file ApplicationOutputs.h.
|
private |
Definition at line 355 of file ApplicationOutputs.h.
|
private |
Definition at line 354 of file ApplicationOutputs.h.
|
private |
Definition at line 359 of file ApplicationOutputs.h.
|
private |
Definition at line 357 of file ApplicationOutputs.h.
|
private |
Definition at line 356 of file ApplicationOutputs.h.
|
private |
Definition at line 358 of file ApplicationOutputs.h.
|
private |
Definition at line 350 of file ApplicationOutputs.h.
|
private |
Definition at line 349 of file ApplicationOutputs.h.
|
private |
Definition at line 370 of file ApplicationOutputs.h.
|
private |
Definition at line 369 of file ApplicationOutputs.h.
|
private |
Definition at line 352 of file ApplicationOutputs.h.
|
private |
Definition at line 361 of file ApplicationOutputs.h.
|
private |
Definition at line 366 of file ApplicationOutputs.h.
|
private |
Definition at line 364 of file ApplicationOutputs.h.
|
private |
Definition at line 362 of file ApplicationOutputs.h.
|
private |
Definition at line 367 of file ApplicationOutputs.h.
|
private |
Definition at line 365 of file ApplicationOutputs.h.