Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::control::CommandMapperFormatGenerator Class Reference

#include <command_mapper_format_generator.hpp>

Public Member Functions

 CommandMapperFormatGenerator (const CommandMapper &mapper)
 
 ~CommandMapperFormatGenerator ()=default
 
const std::vector< std::string > generateMappings () const
 

Detailed Description

A utility for generating a readable format of the current command mappings in a particular CommandMapper.

Constructor & Destructor Documentation

◆ CommandMapperFormatGenerator()

tap::control::CommandMapperFormatGenerator::CommandMapperFormatGenerator ( const CommandMapper mapper)
inlineexplicit

◆ ~CommandMapperFormatGenerator()

tap::control::CommandMapperFormatGenerator::~CommandMapperFormatGenerator ( )
default

Member Function Documentation

◆ 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: