uint8_t getCommandType() const 
Returns the command type. 
 
CloseSession(Cola2Session &session)
Constructor of the command to close a cola2 session. 
 
Base class for commands. Defines the base interface and does the common tasks. 
 
uint32_t getSessionID() const 
Returns the current session ID. 
 
sick::cola2::Cola2Session & m_session
 
bool processReply()
Processes the return from the sensor. 
 
uint8_t getCommandMode() const 
Returns the command mode. 
 
void setSessionID(const uint32_t &session_id)
Sets the current session ID. 
 
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
Adds data to the telegram. The close cola2 session command does not carry any extra data and therefor...
 
bool canBeExecutedWithoutSessionID() const 
Returns if the command can be executed without a session ID. Will return false for most commands exce...
 
uint32_t getSessionID() const 
Returns the current session ID. 
 
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...