MeasurementPersistentConfigVariableCommand.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_MEASUREMENTPERSISTENTCONFIGVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_MEASUREMENTPERSISTENTCONFIGVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
68  datastructure::ConfigData& config_data);
69 
76 
83  bool canBeExecutedWithoutSessionID() const;
84 
90  bool processReply();
91 
92 
93 private:
94  std::shared_ptr<sick::data_processing::ReadWriteHelper> m_writer_ptr;
95  std::shared_ptr<sick::data_processing::ParseMeasurementPersistentConfigData>
97 
99 };
100 
101 } // namespace cola2
102 } // namespace sick
103 
104 #endif // SICK_SAFETYSCANNERS_COLA2_MEASUREMENTPERSISTENTCONFIGVARIABLECOMMAND_H
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
std::shared_ptr< sick::data_processing::ParseMeasurementPersistentConfigData > m_measurement_persistent_config_parser_ptr
MeasurementPersistentConfigVariableCommand(Cola2Session &session, datastructure::ConfigData &config_data)
Constructor of the command.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
Command to read a variable from the sensor.
Config data for current and persistent sensor config.
Definition: ConfigData.h:48
Command to read the persistent configuration from the sensor.
std::vector< uint8_t > VectorBuffer
Typedef for a vector buffer, to sort the incoming packets.
Definition: PacketBuffer.h:71
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