Class HoldCommandMapping

Inheritance Relationships

Base Type

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 the Commands 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