58 [[nodiscard]]
Connector& getConnector(std::string_view name)
const;
59 [[nodiscard]]
Pluggable& getPluggable(std::string_view name)
const;
63 std::vector<Connector*> connectors;
64 std::vector<std::unique_ptr<Pluggable>> pluggables;
70 void execute(std::span<const TclObject> tokens,
TclObject& result,
71 EmuTime::param time)
override;
72 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
73 void tabCompletion(std::vector<std::string>& tokens)
const override;
74 [[nodiscard]]
bool needRecord(std::span<const TclObject> tokens)
const override;
77 struct UnplugCmd final : RecordedCommand {
78 UnplugCmd(CommandController& commandController,
79 StateChangeDistributor& stateChangeDistributor,
80 Scheduler& scheduler);
81 void execute(std::span<const TclObject> tokens, TclObject& result,
82 EmuTime::param time)
override;
83 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
84 void tabCompletion(std::vector<std::string>& tokens)
const override;
87 struct PluggableInfo final : InfoTopic {
88 explicit PluggableInfo(InfoCommand& machineInfoCommand);
89 void execute(std::span<const TclObject> tokens,
90 TclObject& result)
const override;
91 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
92 void tabCompletion(std::vector<std::string>& tokens)
const override;
95 struct ConnectorInfo final : InfoTopic {
96 explicit ConnectorInfo(InfoCommand& machineInfoCommand);
97 void execute(std::span<const TclObject> tokens,
98 TclObject& result)
const override;
99 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
100 void tabCompletion(std::vector<std::string>& tokens)
const override;
103 struct ConnectionClassInfo final : InfoTopic {
104 explicit ConnectionClassInfo(InfoCommand& machineInfoCommand);
105 void execute(std::span<const TclObject> tokens,
106 TclObject& result)
const override;
107 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
108 void tabCompletion(std::vector<std::string>& tokens)
const override;
109 } connectionClassInfo;