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 
83  bool canBeExecutedWithoutSessionID() const;
84 
90  bool processReply();
91 
92 
93 private:
94  std::shared_ptr<sick::data_processing::ReadWriteHelper> m_writer_ptr;
95  std::shared_ptr<sick::data_processing::ParseMonitoringCaseData> m_monitoring_case_parser_ptr;
96 
98 };
99 
100 } // namespace cola2
101 } // namespace sick
102 
103 #endif // SICK_SAFETYSCANNERS_COLA2_MONITORINGCASEVARIABLECOMMAND_H
std::shared_ptr< sick::data_processing::ParseMonitoringCaseData > m_monitoring_case_parser_ptr
MonitoringCaseVariableCommand(Cola2Session &session, datastructure::MonitoringCaseData &monitoring_case_data, const uint16_t index)
Constructor of the command.
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
Command to read a variable from the sensor.
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.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
std::vector< uint8_t > VectorBuffer
Typedef for a vector buffer, to sort the incoming packets.
Definition: PacketBuffer.h:71
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 Thu May 9 2019 02:41:08