Class HoldCommandMapping¶
Defined in File hold_command_mapping.hpp
Inheritance Relationships¶
Base Type¶
public tap::control::CommandMapping(Class CommandMapping)
Class Documentation¶
-
class HoldCommandMapping : public tap::control::CommandMapping¶
A CommandMapping that adds
Commands when the contained mapping is a subset of the remote mapping and removes theCommands when the mapping is no longer a subset.Additionally, When neg keys are being used and the mapping’s neg keys are a subset of the remote map state, the
Commands are removed.Public Functions
-
inline HoldCommandMapping(Drivers *drivers, const std::vector<Command*> cmds, const RemoteMapState &rms)¶
Constructor must take the set of
Commands and the RemoteMapState.
-
~HoldCommandMapping() override = default¶
Default destructor.
-
virtual void executeCommandMapping(const RemoteMapState &currState) override¶
-
inline HoldCommandMapping(Drivers *drivers, const std::vector<Command*> cmds, const RemoteMapState &rms)¶