MonitoringCaseVariableCommand.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_COLA2_MONITORINGCASEVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_MONITORINGCASEVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
57 
67  datastructure::MonitoringCaseData& monitoring_case_data,
68  const uint16_t& index);
69 
76  bool canBeExecutedWithoutSessionID() const;
77 
83  bool processReply();
84 
85 
86 private:
87  std::shared_ptr<sick::data_processing::ParseMonitoringCaseData> m_monitoring_case_parser_ptr;
88 
90 };
91 
92 } // namespace cola2
93 } // namespace sick
94 
95 #endif // SICK_SAFETYSCANNERS_COLA2_MONITORINGCASEVARIABLECOMMAND_H
std::shared_ptr< sick::data_processing::ParseMonitoringCaseData > m_monitoring_case_parser_ptr
Command to read a variable from the sensor.
MonitoringCaseVariableCommand(Cola2Session &session, datastructure::MonitoringCaseData &monitoring_case_data, const uint16_t &index)
Constructor of the command.
sick::datastructure::MonitoringCaseData & m_monitoring_case_data
bool processReply()
Processes the return from the sensor.
Stores the data for the different monitoring cases.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Establishes a cola2 session with a sensor and enables execution of commands in this session...
Definition: Cola2Session.h:72
Command to read the header of the monitoring case table.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...


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