SerialNumberVariableCommand.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_SERIALNUMBERVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_SERIALNUMBERVARIABLECOMMAND_H
37 
38 #include <string>
39 
44 
45 namespace sick {
46 namespace cola2 {
47 
49 {
50 public:
55 
64 
71  bool canBeExecutedWithoutSessionID() const;
72 
78  bool processReply();
79 
80 
81 private:
82  std::shared_ptr<sick::data_processing::ParseSerialNumber> m_serial_number_parser_ptr;
83 
85 };
86 
87 } // namespace cola2
88 } // namespace sick
89 
90 #endif // SICK_SAFETYSCANNERS_COLA2_SERIALNUMBERVARIABLECOMMAND_H
bool processReply()
Processes the return from the sensor.
SerialNumberVariableCommand(Cola2Session &session, datastructure::SerialNumber &serial_number)
Constructor of the Command. Takes the current session and the reference for the device name...
std::shared_ptr< sick::data_processing::ParseSerialNumber > m_serial_number_parser_ptr
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.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Class containing the serial number of a laser scanner.
Definition: SerialNumber.h:47
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