20#ifndef RTSCHEDULINGPLUGIN_H
21#define RTSCHEDULINGPLUGIN_H
23#include <RdkPluginBase.h>
42 const std::shared_ptr<DobbyRdkPluginUtils> &utils,
43 const std::string &rootfsPath);
46 inline std::string
name()
const override
46 inline std::string
name()
const override {
…}
61 const std::string mName;
62 const std::shared_ptr<DobbyRdkPluginUtils> mUtils;
63 std::shared_ptr<rt_dobby_schema> mConfig;
64 const std::string mRootfsPath;
Basic object that provides the default overrides for a plugin.
Definition RdkPluginBase.h:34
Dobby RtScheduling plugin.
Definition RtSchedulingPlugin.h:39
bool postInstallation() override
Adds the default value to RLIMIT_RTPRIO in the OCI config file.
Definition RtSchedulingPlugin.cpp:60
std::string name() const override
Should return the name of the plugin.
Definition RtSchedulingPlugin.h:46
unsigned hookHints() const override
Should return a bitfield of the hook points implemented by the plugin.
Definition RtSchedulingPlugin.cpp:46
bool createRuntime() override
Sets the RT scheduling priority on the container's init process.
Definition RtSchedulingPlugin.cpp:117
std::vector< std::string > getDependencies() const override
Should return the names of the plugins this plugin depends on.
Definition RtSchedulingPlugin.cpp:174