FieldSetsVariableCommand.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_FIELDSETSVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_FIELDSETSVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
65 
72  bool canBeExecutedWithoutSessionID() const;
73 
79  bool processReply();
80 
81 
82 private:
83  std::shared_ptr<sick::data_processing::ParseFieldSetsData> m_field_sets_parser_ptr;
84 
86 };
87 
88 } // namespace cola2
89 } // namespace sick
90 
91 #endif // SICK_SAFETYSCANNERS_COLA2_FIELDSETSVARIABLECOMMAND_H
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 type code of the sensor.
Class containing the field name of a laser scanner.
Definition: FieldSets.h:47
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
sick::datastructure::FieldSets & m_field_sets
std::shared_ptr< sick::data_processing::ParseFieldSetsData > m_field_sets_parser_ptr
Command to read a variable from the sensor.
bool processReply()
Processes the return from the sensor.
FieldSetsVariableCommand(Cola2Session &session, datastructure::FieldSets &field_sets)
Constructor of the Command.
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 Fri Apr 2 2021 02:45:41