44 std::string& device_name)
46 , m_device_name(device_name)
48 m_writer_ptr = std::make_shared<sick::data_processing::ReadWriteHelper>();
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
std::vector< uint8_t > getDataVector() const
Returns the data vector.
std::shared_ptr< sick::data_processing::ParseDeviceName > m_device_name_parser_ptr
DeviceNameVariableCommand(Cola2Session &session, std::string &device_name)
Constructor of the Command. Takes the current session and the reference for the device name...
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
Adds the data to the telegram.
std::string & m_device_name
bool processReply()
Processes the return from the sensor.
bool processReply()
Processes the return from the sensor.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
Command to read a variable from the sensor.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
std::vector< uint8_t > VectorBuffer
Typedef for a vector buffer, to sort the incoming packets.
Establishes a cola2 session with a sensor and enables execution of commands in this session...