ProjectNameVariableCommand.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
37 
38 #include <string>
39 
44 
45 namespace sick {
46 namespace cola2 {
47 
49 {
50 public:
55 
64 
71  bool canBeExecutedWithoutSessionID() const;
72 
78  bool processReply();
79 
80 
81 private:
82  std::shared_ptr<sick::data_processing::ParseProjectName> m_project_name_parser_ptr;
83 
85 };
86 
87 } // namespace cola2
88 } // namespace sick
89 
90 #endif // SICK_SAFETYSCANNERS_COLA2_PROJECTNAMEVARIABLECOMMAND_H
ParseProjectName.h
sick
Definition: ApplicationNameVariableCommand.h:43
VariableCommand.h
sick::cola2::Cola2Session
Establishes a cola2 session with a sensor and enables execution of commands in this session.
Definition: Cola2Session.h:72
CommSettings.h
ProjectName.h
sick::cola2::ProjectNameVariableCommand::base_class
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Definition: ProjectNameVariableCommand.h:54
sick::cola2::ProjectNameVariableCommand
Definition: ProjectNameVariableCommand.h:48
sick::cola2::ProjectNameVariableCommand::m_project_name
datastructure::ProjectName & m_project_name
Definition: ProjectNameVariableCommand.h:84
sick::cola2::ProjectNameVariableCommand::m_project_name_parser_ptr
std::shared_ptr< sick::data_processing::ParseProjectName > m_project_name_parser_ptr
Definition: ProjectNameVariableCommand.h:82
sick::datastructure::ProjectName
Class containing the project name of a laser scanner.
Definition: ProjectName.h:47
sick::cola2::ProjectNameVariableCommand::canBeExecutedWithoutSessionID
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
Definition: ProjectNameVariableCommand.cpp:51
sick::cola2::VariableCommand
Command to read a variable from the sensor.
Definition: VariableCommand.h:46
sick::cola2::ProjectNameVariableCommand::ProjectNameVariableCommand
ProjectNameVariableCommand(Cola2Session &session, datastructure::ProjectName &project_name)
Constructor of the Command. Takes the current session and the reference for the device name.
Definition: ProjectNameVariableCommand.cpp:43
sick::cola2::ProjectNameVariableCommand::processReply
bool processReply()
Processes the return from the sensor.
Definition: ProjectNameVariableCommand.cpp:56


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51