ApplicationNameVariableCommand.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_APPLICATIONNAMEVARIABLECOMMAND_H
36 #define SICK_SAFETYSCANNERS_COLA2_APPLICATIONNAMEVARIABLECOMMAND_H
37 
38 
42 
43 namespace sick {
44 namespace cola2 {
45 
50 {
51 public:
56 
65  datastructure::ApplicationName& application_name);
66 
73  bool canBeExecutedWithoutSessionID() const;
74 
80  bool processReply();
81 
82 
83 private:
84  std::shared_ptr<sick::data_processing::ParseApplicationNameData> m_application_name_parser_ptr;
85 
87 };
88 
89 } // namespace cola2
90 } // namespace sick
91 
92 #endif // SICK_SAFETYSCANNERS_COLA2_APPLICATIONNAMEVARIABLECOMMAND_H
sick::cola2::ApplicationNameVariableCommand::canBeExecutedWithoutSessionID
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
Definition: ApplicationNameVariableCommand.cpp:52
ParseApplicationNameData.h
sick::cola2::ApplicationNameVariableCommand::m_application_name
sick::datastructure::ApplicationName & m_application_name
Definition: ApplicationNameVariableCommand.h:86
sick
Definition: ApplicationNameVariableCommand.h:43
sick::cola2::ApplicationNameVariableCommand::ApplicationNameVariableCommand
ApplicationNameVariableCommand(Cola2Session &session, datastructure::ApplicationName &application_name)
Constructor of the Command.
Definition: ApplicationNameVariableCommand.cpp:43
VariableCommand.h
sick::cola2::ApplicationNameVariableCommand::base_class
sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Definition: ApplicationNameVariableCommand.h:55
sick::cola2::ApplicationNameVariableCommand
Command to read the type code of the sensor.
Definition: ApplicationNameVariableCommand.h:49
sick::cola2::Cola2Session
Establishes a cola2 session with a sensor and enables execution of commands in this session.
Definition: Cola2Session.h:72
CommSettings.h
sick::cola2::ApplicationNameVariableCommand::m_application_name_parser_ptr
std::shared_ptr< sick::data_processing::ParseApplicationNameData > m_application_name_parser_ptr
Definition: ApplicationNameVariableCommand.h:84
sick::datastructure::ApplicationName
Class containing the application name of a laser scanner.
Definition: ApplicationName.h:47
sick::cola2::ApplicationNameVariableCommand::processReply
bool processReply()
Processes the return from the sensor.
Definition: ApplicationNameVariableCommand.cpp:57
sick::cola2::VariableCommand
Command to read a variable from the sensor.
Definition: VariableCommand.h:46


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