Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
fang::command::CommandPack Class Referenceabstract

#include <command_pack.hpp>

Inheritance diagram for fang::command::CommandPack:

Public Types

using CommandMapper = tap::control::CommandMapper
 
using CommandMapping = tap::control::CommandMapping
 
using RemoteState = tap::control::RemoteMapState
 

Public Member Functions

virtual void initialize ()=0
 
 CommandPack (CommandMapper &mapper)
 
virtual ~CommandPack ()=default
 

Protected Member Functions

void registerCommandMappings (std::span< std::reference_wrapper< CommandMapping > > mappings)
 

Detailed Description

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.

Member Typedef Documentation

◆ CommandMapper

◆ CommandMapping

◆ RemoteState

Constructor & Destructor Documentation

◆ CommandPack()

fang::command::CommandPack::CommandPack ( CommandMapper mapper)

◆ ~CommandPack()

virtual fang::command::CommandPack::~CommandPack ( )
virtualdefault

Member Function Documentation

◆ initialize()

virtual void fang::command::CommandPack::initialize ( )
pure virtual

◆ registerCommandMappings()

void fang::command::CommandPack::registerCommandMappings ( std::span< std::reference_wrapper< CommandMapping > >  mappings)
protected

The documentation for this class was generated from the following files: