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