/* * @brief Defines the communication file format * @file aman/config/CommunicationFileFormat.h * @author Sven Czarnian * @copyright Copyright 2021 Sven Czarnian * @license This project is published under the GNU General Public License v3 (GPLv3) */ #pragma once #include #include namespace aman { /** * @brief Defines the parser of communication configurations * @ingroup format * * All configuration entries need to be stored in 'AmanCommunication.txt'. * * The following entries of the configuration exist: * * * * * * * * * * *
Setting entries
NameDescriptionDefault valueUnit
UIDDefines the identifier to access the backend.
*/ class IdentifierFileFormat : public FileFormat { #ifndef DOXYGEN_IGNORE public: /** * @brief Initializes the identifier file format */ IdentifierFileFormat(); /** * @brief Parses the set configuration file * @param[in] filename The path to the configuration file * @param[out] config The resulting configuration * @return True if the configuration file was valid, else false */ bool parse(const std::string& filename, Communication& config); #endif }; }