24 #include "softwarecontainer-common.h" 25 #include "filetoolkitwithundo.h" 26 #include "gateway/gateway.h" 27 #include "devicenodelogic.h" 45 LOG_DECLARE_CLASS_CONTEXT(
"DNG",
"Device node gateway");
48 static constexpr
const char *ID =
"devicenode";
81 m_message(
"DeviceNodeGateway exception")
90 virtual const char *what()
const throw()
92 return m_message.c_str();
96 std::string m_message;
virtual bool activateGateway() override
Implements Gateway::activateGateway.
virtual bool teardownGateway() override
Implements Gateway::teardownGateway.
Gateway base class for SoftwareContainer.
Developers guide to adding a config item:
virtual bool readConfigElement(const json_t *element) override
Gateway specific parsing of config elements.
This class is responsible for storing all device node configurations in a well-formed list...
This gateway is responsible for exposing device nodes in an LXC container.