8 #include <boost/make_shared.hpp>
15 const std::string& name,
const std::map<std::string, std::string>& parameters) {
16 if(name ==
"multiply") {
17 return boost::make_shared<MultiplierPlugin>(info, pluginIndex, parameters);
20 return boost::make_shared<MathPlugin>(info, pluginIndex, parameters);
22 if(name ==
"monostableTrigger") {
23 return boost::make_shared<MonostableTriggerPlugin>(info, pluginIndex, parameters);
25 if(name ==
"forceReadOnly") {
26 return boost::make_shared<ForceReadOnlyPlugin>(info, pluginIndex, parameters);
28 if(name ==
"forcePollingRead") {
29 return boost::make_shared<ForcePollingReadPlugin>(info, pluginIndex, parameters);
31 if(name ==
"typeHintModifier") {
32 return boost::make_shared<TypeHintModifierPlugin>(info, pluginIndex, parameters);
34 if(name ==
"doubleBuffer") {
35 return boost::make_shared<DoubleBufferPlugin>(info, pluginIndex, parameters);
37 if(name ==
"bitRange") {
38 return boost::make_shared<BitRangeAccessPlugin>(info, pluginIndex, parameters);