Program Listing for File DeviceNameVariableCommand.h
↰ Return to documentation for file (/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/cola2/DeviceNameVariableCommand.h
)
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// -- END LICENSE BLOCK ------------------------------------------------
//----------------------------------------------------------------------
//----------------------------------------------------------------------
#ifndef SICK_SAFETYSCANNERS_BASE_COLA2_DEVICENAMEVARIABLECOMMAND_H
#define SICK_SAFETYSCANNERS_BASE_COLA2_DEVICENAMEVARIABLECOMMAND_H
#include <string>
#include "sick_safetyscanners_base/cola2/VariableCommand.h"
#include "sick_safetyscanners_base/data_processing/ParseDeviceName.h"
#include "sick_safetyscanners_base/datastructure/CommSettings.h"
namespace sick {
namespace cola2 {
class DeviceNameVariableCommand : public VariableCommand
{
public:
typedef sick::cola2::VariableCommand base_class;
DeviceNameVariableCommand(Cola2Session& session, datastructure::DeviceName& device_name);
bool canBeExecutedWithoutSessionID() const;
bool processReply();
private:
std::shared_ptr<sick::data_processing::ParseDeviceName> m_device_name_parser_ptr;
datastructure::DeviceName& m_device_name;
};
} // namespace cola2
} // namespace sick
#endif // SICK_SAFETYSCANNERS_BASE_COLA2_DEVICENAMEVARIABLECOMMAND_H