#include <command_mapper_format_generator.hpp>
A utility for generating a readable format of the current command mappings in a particular CommandMapper.
◆ CommandMapperFormatGenerator()
| tap::control::CommandMapperFormatGenerator::CommandMapperFormatGenerator |
( |
const CommandMapper & |
mapper | ) |
|
|
inlineexplicit |
◆ ~CommandMapperFormatGenerator()
| tap::control::CommandMapperFormatGenerator::~CommandMapperFormatGenerator |
( |
| ) |
|
|
default |
◆ generateMappings()
| const std::vector< std::string > tap::control::CommandMapperFormatGenerator::generateMappings |
( |
| ) |
const |
- Returns
- A list of mappings in string format, parsed from the CommandMapper passed into the class.
- Note
- This is very slow because of the necessary std::string parsing. Never call this while performance matters.
The documentation for this class was generated from the following files: