Program Listing for File ParseProjectName.h
↰ Return to documentation for file (/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/data_processing/ParseProjectName.h
)
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// -- END LICENSE BLOCK ------------------------------------------------
//----------------------------------------------------------------------
//----------------------------------------------------------------------
#ifndef SICK_SAFETYSCANNERS_BASE_DATA_PROCESSING_PARSEPROJECTNAME_H
#define SICK_SAFETYSCANNERS_BASE_DATA_PROCESSING_PARSEPROJECTNAME_H
#include "sick_safetyscanners_base/datastructure/Data.h"
#include "sick_safetyscanners_base/datastructure/PacketBuffer.h"
#include "sick_safetyscanners_base/datastructure/ProjectName.h"
#include "sick_safetyscanners_base/data_processing/ReadWriteHelper.hpp"
#include <string>
namespace sick {
namespace data_processing {
class ParseProjectName
{
public:
ParseProjectName();
bool parseTCPSequence(const datastructure::PacketBuffer& buffer,
datastructure::ProjectName& project_name) const;
std::string readProjectName(std::vector<uint8_t>::const_iterator data_ptr) const;
};
} // namespace data_processing
} // namespace sick
#endif // SICK_SAFETYSCANNERS_BASE_DATA_PROCESSING_PARSEPROJECTNAME_H