Go to the documentation of this file.
35 #ifndef SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
90 #endif // SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
Establishes a cola2 session with a sensor and enables execution of commands in this session.
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
datastructure::ProjectName & m_project_name
std::shared_ptr< sick::data_processing::ParseProjectName > m_project_name_parser_ptr
Class containing the project name of a laser scanner.
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
Command to read a variable from the sensor.
ProjectNameVariableCommand(Cola2Session &session, datastructure::ProjectName &project_name)
Constructor of the Command. Takes the current session and the reference for the device name.
bool processReply()
Processes the return from the sensor.