VariableCommand.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_VARIABLECOMMAND_H
00036 #define SICK_SAFETYSCANNERS_COLA2_VARIABLECOMMAND_H
00037 
00038 #include <sick_safetyscanners/cola2/Command.h>
00039 
00040 namespace sick {
00041 namespace cola2 {
00042 
00046 class VariableCommand : public Command
00047 {
00048 public:
00055   VariableCommand(Cola2Session& session, const uint16_t& method_index);
00056 
00062   void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer& telegram) const;
00063 
00070   bool canBeExecutedWithoutSessionID() const;
00071 
00077   bool processReply();
00078 
00079   uint16_t getVariableIndex() const;
00080   void setVariableIndex(const uint16_t& variable_index);
00081 
00082 private:
00083   uint16_t m_variable_index;
00084   std::shared_ptr<sick::data_processing::ReadWriteHelper> m_writer_ptr;
00085 };
00086 
00087 } // namespace cola2
00088 } // namespace sick
00089 
00090 #endif // SICK_SAFETYSCANNERS_COLA2_VARIABLECOMMAND_H


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