FieldHeaderVariableCommand.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 
00024 // -- END LICENSE BLOCK ------------------------------------------------
00025 
00026 //----------------------------------------------------------------------
00033 //----------------------------------------------------------------------
00034 
00035 #ifndef SICK_SAFETYSCANNERS_COLA2_FIELDHEADERVARIABLECOMMAND_H
00036 #define SICK_SAFETYSCANNERS_COLA2_FIELDHEADERVARIABLECOMMAND_H
00037 
00038 
00039 #include <sick_safetyscanners/cola2/VariableCommand.h>
00040 #include <sick_safetyscanners/data_processing/ParseFieldHeaderData.h>
00041 #include <sick_safetyscanners/datastructure/CommSettings.h>
00042 
00043 namespace sick {
00044 namespace cola2 {
00045 
00049 class FieldHeaderVariableCommand : public VariableCommand
00050 {
00051 public:
00055   typedef sick::cola2::VariableCommand base_class;
00056 
00068   FieldHeaderVariableCommand(Cola2Session& session,
00069                              datastructure::FieldData& field_data,
00070                              const uint16_t index);
00071 
00077   void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer& telegram) const;
00078 
00085   bool canBeExecutedWithoutSessionID() const;
00086 
00092   bool processReply();
00093 
00094 
00095 private:
00096   std::shared_ptr<sick::data_processing::ReadWriteHelper> m_writer_ptr;
00097   std::shared_ptr<sick::data_processing::ParseFieldHeaderData> m_field_header_parser_ptr;
00098 
00099   sick::datastructure::FieldData& m_field_data;
00100 };
00101 
00102 } // namespace cola2
00103 } // namespace sick
00104 
00105 #endif // SICK_SAFETYSCANNERS_COLA2_FIELDHEADERVARIABLECOMMAND_H


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36