.. _program_listing_file__tmp_ws_src_sick_safetyscanners_base_include_sick_safetyscanners_base_cola2_VariableCommand.h: Program Listing for File VariableCommand.h ========================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/cola2/VariableCommand.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // -- END LICENSE BLOCK ------------------------------------------------ //---------------------------------------------------------------------- //---------------------------------------------------------------------- #ifndef SICK_SAFETYSCANNERS_BASE_COLA2_VARIABLECOMMAND_H #define SICK_SAFETYSCANNERS_BASE_COLA2_VARIABLECOMMAND_H #include "sick_safetyscanners_base/cola2/Command.h" namespace sick { namespace cola2 { class VariableCommand : public Command { public: VariableCommand(Cola2Session& session, const uint16_t& variable_index); std::vector addTelegramData(const std::vector& telegram) const; bool canBeExecutedWithoutSessionID() const; bool processReply(); uint16_t getVariableIndex() const; void setVariableIndex(const uint16_t& variable_index); private: uint16_t m_variable_index; }; } // namespace cola2 } // namespace sick #endif // SICK_SAFETYSCANNERS_BASE_COLA2_VARIABLECOMMAND_H