Go to the documentation of this file.
35 #ifndef SICK_SAFETYSCANNERS_COLA2_CLOSESESSION_H
36 #define SICK_SAFETYSCANNERS_COLA2_CLOSESESSION_H
64 std::vector<uint8_t>
addTelegramData(
const std::vector<uint8_t>& telegram)
const;
86 #endif // SICK_SAFETYSCANNERS_COLA2_CLOSESESSION_H
std::vector< uint8_t > addTelegramData(const std::vector< uint8_t > &telegram) const
Adds data to the telegram. The close cola2 session command does not carry any extra data and therefor...
CloseSession(Cola2Session &session)
Constructor of the command to close a cola2 session.
Command to close a cola2 session between host and sensor.
Establishes a cola2 session with a sensor and enables execution of commands in this session.
bool processReply()
Processes the return from the sensor.
Base class for commands. Defines the base interface and does the common tasks.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...