35 #ifndef SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H    36 #define SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H    79   std::shared_ptr<sick::data_processing::ReadWriteHelper> 
m_writer_ptr;
    90 #endif // SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H bool processReply()
Processes the return from the sensor. Checks if the request was successful. 
 
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
 
Base class for commands. Defines the base interface and does the common tasks. 
 
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
Adds the data to the telegram. 
 
void writeClientIdToDataPtr(uint8_t *&data_ptr) const 
 
uint8_t * prepareTelegramAndGetDataPtr(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
 
bool canBeExecutedWithoutSessionID() const 
Returns true since creating a new session is possible without a session ID. 
 
void writeHeartbeatTimeoutToDataPtr(uint8_t *&data_ptr) const 
 
Command to create a new cola2 session. 
 
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...
 
CreateSession(Cola2Session &session)
Constructor to create a new command to set up a new session.