Class CommandPack¶
Defined in File command_pack.hpp
Inheritance Relationships¶
Derived Type¶
public fang::command::PierceCommandPack(Class PierceCommandPack)
Class Documentation¶
-
class CommandPack¶
This is a family of classes which wire commands and subsystems together.
Mappers will often accept references to subsystems and then pass them into the constructors of commands and whatnot.
They will also connect mappers as well.
Subclassed by fang::command::PierceCommandPack
Public Types
-
using CommandMapper = tap::control::CommandMapper¶
-
using CommandMapping = tap::control::CommandMapping¶
-
using RemoteState = tap::control::RemoteMapState¶
Public Functions
-
virtual void initialize() = 0¶
-
CommandPack(CommandMapper &mapper)¶
-
virtual ~CommandPack() = default¶
Protected Functions
-
void registerCommandMappings(std::span<std::reference_wrapper<CommandMapping>> mappings)¶
-
using CommandMapper = tap::control::CommandMapper¶