3#include "SwitchboardObject.hpp"
11class Engine :
public SwitchboardObject {
15 virtual ~Engine() =
default;
19 Result<std::any>
getValue(
const std::string& key)
override;
20 Result<void>
setValue(
const std::string& key,
const std::any& value)
override;
21 Result<std::any>
callAction(
const std::string& actionName,
const std::map<std::string, std::any>& params)
override;
Result< std::any > getValue(const std::string &key) override
Gets a value from the object.
Result< void > setValue(const std::string &key, const std::any &value) override
Sets a value on the object.
Result< std::any > callAction(const std::string &actionName, const std::map< std::string, std::any > ¶ms) override
Calls an action on the object.