FieldGeometryVariableCommand.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_FIELDGEOMETRYVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_FIELDGEOMETRYVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
69  datastructure::FieldData& field_data,
70  const uint16_t& index);
71 
78  bool canBeExecutedWithoutSessionID() const;
79 
85  bool processReply();
86 
87 
88 private:
89  std::shared_ptr<sick::data_processing::ParseFieldGeometryData> m_field_geometry_parser_ptr;
90 
92 };
93 
94 } // namespace cola2
95 } // namespace sick
96 
97 #endif // SICK_SAFETYSCANNERS_COLA2_FIELDGEOMETRYVARIABLECOMMAND_H
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Field data for warning and protective fields.
Definition: FieldData.h:48
Command to read the field geometry from the sensor.
bool processReply()
Processes the return 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 a variable from the sensor.
Establishes a cola2 session with a sensor and enables execution of commands in this session...
Definition: Cola2Session.h:72
FieldGeometryVariableCommand(Cola2Session &session, datastructure::FieldData &field_data, const uint16_t &index)
Constructor of the command.
std::shared_ptr< sick::data_processing::ParseFieldGeometryData > m_field_geometry_parser_ptr


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