26 #include <IDobbyEnv.h>
27 #include <IDobbySettings.h>
48 explicit DobbyEnv(
const std::shared_ptr<const IDobbySettings>& settings);
67 const std::string mWorkspacePath;
68 const std::string mFlashMountPath;
69 const std::string mPluginsWorkspacePath;
70 const std::map<IDobbyEnv::Cgroup, std::string> mCgroupMountPaths;
71 const uint16_t mPlatformIdent;
Basic class used to store the stb environment.
Definition: DobbyEnv.h:46
static uint16_t getPlatformIdent()
Attempts to get the STB platform identifier bytes.
Definition: DobbyEnv.cpp:93
std::string cgroupMountPath(Cgroup cgroup) const override
Returns the absolute path to the cgroup mount point for the given cgroup.
Definition: DobbyEnv.cpp:67
uint16_t platformIdent() const override
Returns the two byte platform identification number.
Definition: DobbyEnv.cpp:78
static std::map< IDobbyEnv::Cgroup, std::string > getCgroupMountPoints()
Attempts to get the mount points of the cgroup filesystems.
Definition: DobbyEnv.cpp:135
std::string pluginsWorkspacePath() const override
Returns the path to directory that plugins can write to.
Definition: DobbyEnv.cpp:62
std::string flashMountPath() const override
Returns the absolute path to the AI area on flash.
Definition: DobbyEnv.cpp:57
std::string workspaceMountPath() const override
Returns the absolute AI workspace mount point path.
Definition: DobbyEnv.cpp:52
Interface that exports the environment of the daemon to plugins.
Definition: IDobbyEnv.h:46