ConfigMetadataVariableCommand.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_CONFIGMETADATAVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_CONFIGMETADATAVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
65  datastructure::ConfigMetadata& config_metadata);
66 
73  bool canBeExecutedWithoutSessionID() const;
74 
80  bool processReply();
81 
82 
83 private:
84  std::shared_ptr<sick::data_processing::ParseConfigMetadata> m_config_metadata_parser_ptr;
85 
87 };
88 
89 } // namespace cola2
90 } // namespace sick
91 
92 #endif // SICK_SAFETYSCANNERS_COLA2_CONFIGMETADATAVARIABLECOMMAND_H
Class containing the serial number of a laser scanner.
sick::datastructure::ConfigMetadata & m_config_metadata
Command to read the type code of the sensor.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
bool processReply()
Processes the return from the sensor.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Command to read a variable from the sensor.
ConfigMetadataVariableCommand(Cola2Session &session, datastructure::ConfigMetadata &config_metadata)
Constructor of the Command.
std::shared_ptr< sick::data_processing::ParseConfigMetadata > m_config_metadata_parser_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 Fri Apr 2 2021 02:45:41