35 #ifndef SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H 36 #define SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H 63 std::vector<uint8_t>
addTelegramData(
const std::vector<uint8_t>& telegram)
const;
89 #endif // SICK_SAFETYSCANNERS_COLA2_CREATESESSION_H bool processReply()
Processes the return from the sensor. Checks if the request was successful.
Base class for commands. Defines the base interface and does the common tasks.
void writeClientIdToDataPtr(std::vector< uint8_t >::iterator it) const
bool canBeExecutedWithoutSessionID() const
Returns true since creating a new session is possible without a session ID.
std::vector< uint8_t > addTelegramData(const std::vector< uint8_t > &telegram) const
Adds the data to the telegram.
Command to create a new cola2 session.
Establishes a cola2 session with a sensor and enables execution of commands in this session...
void writeHeartbeatTimeoutToDataPtr(std::vector< uint8_t >::iterator it) const
CreateSession(Cola2Session &session)
Constructor to create a new command to set up a new session.