MonitoringCaseTableHeaderVariableCommand.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_MONITORINGCASETABLEHEADERVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_MONITORINGCASETABLEHEADERVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
57 
67  datastructure::FieldData& field_data);
68 
75 
82  bool canBeExecutedWithoutSessionID() const;
83 
89  bool processReply();
90 
91 
92 private:
93  std::shared_ptr<sick::data_processing::ReadWriteHelper> m_writer_ptr;
94  std::shared_ptr<sick::data_processing::ParseFieldHeaderData> m_field_header_parser_ptr;
95 };
96 
97 } // namespace cola2
98 } // namespace sick
99 
100 #endif // SICK_SAFETYSCANNERS_COLA2_MONITORINGCASETABLEHEADERVARIABLECOMMAND_H
std::shared_ptr< sick::data_processing::ParseFieldHeaderData > m_field_header_parser_ptr
Field data for warning and protective fields.
Definition: FieldData.h:48
MonitoringCaseTableHeaderVariableCommand(Cola2Session &session, datastructure::FieldData &field_data)
Constructor of the command.
Command to read a variable from the sensor.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
Command to read the header of the monitoring case table.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
std::vector< uint8_t > VectorBuffer
Typedef for a vector buffer, to sort the incoming packets.
Definition: PacketBuffer.h:71
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
Establishes a cola2 session with a sensor and enables execution of commands in this session...
Definition: Cola2Session.h:72


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Thu May 9 2019 02:41:08