MonitoringCaseTableHeaderVariableCommand.cpp
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 
36 
39 
40 namespace sick {
41 namespace cola2 {
42 
43 // TODO
44 
46  Cola2Session& session, datastructure::FieldData& field_data)
47  : VariableCommand(session, 2100)
48 {
49  m_field_header_parser_ptr = std::make_shared<sick::data_processing::ParseFieldHeaderData>();
50 }
51 
53 {
54  return true;
55 }
56 
58 {
59  bool result = true;
61  {
62  result = false;
63  }
64  // else
65  //{
66  // m_field_header_parser_ptr->parseTCPSequence(getDataVector(),m_field_data);
67  //}
68  return result;
69 }
70 
71 
72 } // namespace cola2
73 } // namespace sick
sick
Definition: ApplicationNameVariableCommand.h:43
sick::datastructure::FieldData
Field data for warning and protective fields.
Definition: FieldData.h:48
Command.h
MonitoringCaseTableHeaderVariableCommand.h
sick::cola2::MonitoringCaseTableHeaderVariableCommand::MonitoringCaseTableHeaderVariableCommand
MonitoringCaseTableHeaderVariableCommand(Cola2Session &session, datastructure::FieldData &field_data)
Constructor of the command.
Definition: MonitoringCaseTableHeaderVariableCommand.cpp:45
sick::cola2::Cola2Session
Establishes a cola2 session with a sensor and enables execution of commands in this session.
Definition: Cola2Session.h:72
sick::cola2::MonitoringCaseTableHeaderVariableCommand::processReply
bool processReply()
Processes the return from the sensor.
Definition: MonitoringCaseTableHeaderVariableCommand.cpp:57
sick::cola2::VariableCommand::processReply
bool processReply()
Processes the return from the sensor.
Definition: VariableCommand.cpp:63
Cola2Session.h
sick::cola2::MonitoringCaseTableHeaderVariableCommand::m_field_header_parser_ptr
std::shared_ptr< sick::data_processing::ParseFieldHeaderData > m_field_header_parser_ptr
Definition: MonitoringCaseTableHeaderVariableCommand.h:86
sick::cola2::MonitoringCaseTableHeaderVariableCommand::canBeExecutedWithoutSessionID
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
Definition: MonitoringCaseTableHeaderVariableCommand.cpp:52
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