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
Command
s when the contained mapping is a subset of the remote mapping and removes theCommand
s 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
Command
s are removed.Public Functions
-
inline HoldCommandMapping(Drivers *drivers, const std::vector<Command*> cmds, const RemoteMapState &rms)
Constructor must take the set of
Command
s 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)