Public Member Functions | Private Attributes | List of all members
sick::datastructure::ApplicationOutputs Class Reference

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
 

Detailed Description

The application outputs from a udp data packet.

Definition at line 48 of file ApplicationOutputs.h.

Constructor & Destructor Documentation

sick::datastructure::ApplicationOutputs::ApplicationOutputs ( )

Constructor of the application outputs.

Definition at line 40 of file ApplicationOutputs.cpp.

Member Function Documentation

std::vector< bool > sick::datastructure::ApplicationOutputs::getEvalOutIsSafeVector ( ) const

Gets if a cut-off path from the output paths is safe.

Returns
If a cut-off path is safe.

Definition at line 52 of file ApplicationOutputs.cpp.

std::vector< bool > sick::datastructure::ApplicationOutputs::getEvalOutIsValidVector ( ) const

If the output path is valid.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
If the 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.

Returns
The 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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Returns
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.

Parameters
eval_out_is_safe_vectorIf 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.

Parameters
eval_out_is_valid_vectorIf 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.

Parameters
eval_out_vectorThe 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.

Parameters
flags_host_error_flags_are_validIf 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.

Parameters
flags_sleep_mode_output_is_validIf 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.

Parameters
host_error_flag_contamination_errorIf 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.

Parameters
host_error_flag_contamination_warningIf 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.

Parameters
host_error_flag_critical_errorIf 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.

Parameters
host_error_flag_glareIf 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.

Parameters
host_error_flag_manipulation_errorIf 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.

Parameters
host_error_flag_reference_contour_intrudedIf 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.

Parameters
monitoring_case_flags_vectorIf 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.

Parameters
monitoring_case_vectorThe 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.

Parameters
resulting_velocity_is_valid_vectorIf 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.

Parameters
resulting_velocity_vectorThe 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.

Parameters
sleep_mode_outputThe 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.

Parameters
velocity_0The 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.

Parameters
velocity_0_transmitted_safelyIf 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.

Parameters
velocity_0_validIf 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.

Parameters
velocity_1The 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.

Parameters
velocity_1_transmitted_safelyif 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.

Parameters
velocity_1_validIf the second linear velocity output is valid.

Definition at line 202 of file ApplicationOutputs.cpp.

Member Data Documentation

std::vector<bool> sick::datastructure::ApplicationOutputs::m_eval_out_is_safe_vector
private

Definition at line 346 of file ApplicationOutputs.h.

std::vector<bool> sick::datastructure::ApplicationOutputs::m_eval_out_is_valid_vector
private

Definition at line 347 of file ApplicationOutputs.h.

std::vector<bool> sick::datastructure::ApplicationOutputs::m_eval_out_vector
private

Definition at line 345 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_flags_host_error_flags_are_valid
private

Definition at line 373 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_flags_sleep_mode_output_is_valid
private

Definition at line 372 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_contamination_error
private

Definition at line 355 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_contamination_warning
private

Definition at line 354 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_critical_error
private

Definition at line 359 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_glare
private

Definition at line 357 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_manipulation_error
private

Definition at line 356 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_host_error_flag_reference_contour_intruded
private

Definition at line 358 of file ApplicationOutputs.h.

std::vector<bool> sick::datastructure::ApplicationOutputs::m_monitoring_case_flags_vector
private

Definition at line 350 of file ApplicationOutputs.h.

std::vector<uint16_t> sick::datastructure::ApplicationOutputs::m_monitoring_case_vector
private

Definition at line 349 of file ApplicationOutputs.h.

std::vector<bool> sick::datastructure::ApplicationOutputs::m_resulting_velocity_is_valid_vector
private

Definition at line 370 of file ApplicationOutputs.h.

std::vector<int16_t> sick::datastructure::ApplicationOutputs::m_resulting_velocity_vector
private

Definition at line 369 of file ApplicationOutputs.h.

int8_t sick::datastructure::ApplicationOutputs::m_sleep_mode_output
private

Definition at line 352 of file ApplicationOutputs.h.

int16_t sick::datastructure::ApplicationOutputs::m_velocity_0
private

Definition at line 361 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_velocity_0_transmitted_safely
private

Definition at line 366 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_velocity_0_valid
private

Definition at line 364 of file ApplicationOutputs.h.

int16_t sick::datastructure::ApplicationOutputs::m_velocity_1
private

Definition at line 362 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_velocity_1_transmitted_safely
private

Definition at line 367 of file ApplicationOutputs.h.

bool sick::datastructure::ApplicationOutputs::m_velocity_1_valid
private

Definition at line 365 of file ApplicationOutputs.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42