Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
object_address_generator.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <expected>
5#include <string>
6#include <string_view>
7#include <vector>
8
9namespace mm {
10
13 std::size_t rows = 0;
14 std::vector<std::string> files;
15 std::vector<std::string> warnings;
16};
17
33std::string objectIdentifier(std::string_view objectName, std::string_view entryName,
34 uint8_t subindex, bool composite);
35
66std::expected<ObjectAddressGeneratorSummary, std::string> generateObjectAddresses(
67 const std::string& esiPath, const std::string& outDir);
68
69} // namespace mm
uint8_t subindex
Definition esi_entry.cc:283
std::string entryName
Definition esi_entry.cc:284
Definition auto_tuning_setup.cc:10
std::expected< ObjectAddressGeneratorSummary, std::string > generateObjectAddresses(const std::string &esiPath, const std::string &outDir)
Generates the object-address headers from a vendor's ESI file.
Definition object_address_generator.cc:101
std::string objectIdentifier(std::string_view objectName, std::string_view entryName, uint8_t subindex, bool composite)
Builds the C++ identifier for one dictionary entry.
Definition object_address_generator.cc:68
What one run of the object-address generator produced.
Definition object_address_generator.h:12
std::vector< std::string > files
Paths written, in the order they were written.
Definition object_address_generator.h:14
std::vector< std::string > warnings
ESI parse warnings, plus anything the generator noticed.
Definition object_address_generator.h:15
std::size_t rows
Addresses emitted across every file.
Definition object_address_generator.h:13