MeasurementCurrentConfigVariableCommand.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_MEASUREMENTCURRENTCONFIGVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_MEASUREMENTCURRENTCONFIGVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
67  datastructure::ConfigData& config_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::ParseMeasurementCurrentConfigData>
96 
98 };
99 
100 } // namespace cola2
101 } // namespace sick
102 
103 #endif // SICK_SAFETYSCANNERS_COLA2_MEASUREMENTCURRENTCONFIGVARIABLECOMMAND_H
std::shared_ptr< sick::data_processing::ParseMeasurementCurrentConfigData > m_measurement_current_config_parser_ptr
MeasurementCurrentConfigVariableCommand(Cola2Session &session, datastructure::ConfigData &config_data)
Constructor of the command.
Command to read the current configuration from the sensor.
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
Command to read a variable from the sensor.
Config data for current and persistent sensor config.
Definition: ConfigData.h:48
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
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