Factory for creating GroupFixedList groups.
More...
#include <GroupFixedList.h>
|
madara::knowledge::KnowledgeBase * | knowledge_ |
| knowledge base containing variables More...
|
|
Factory for creating GroupFixedList groups.
Definition at line 168 of file GroupFixedList.h.
◆ GroupFixedListFactory()
gams::groups::GroupFixedListFactory::GroupFixedListFactory |
( |
| ) |
|
◆ ~GroupFixedListFactory()
virtual gams::groups::GroupFixedListFactory::~GroupFixedListFactory |
( |
| ) |
|
|
virtual |
◆ create()
virtual GroupBase* gams::groups::GroupFixedListFactory::create |
( |
const std::string & |
prefix, |
|
|
madara::knowledge::KnowledgeBase * |
knowledge |
|
) |
| |
|
virtual |
Creates a group.
- Parameters
-
prefix | the name of the group(e.g. group.protectors) |
knowledge | the knowledge base of variables and values |
- Returns
- the new group
Implements gams::groups::GroupFactory.
◆ set_knowledge()
void gams::groups::GroupFactory::set_knowledge |
( |
madara::knowledge::KnowledgeBase * |
knowledge | ) |
|
|
inherited |
Sets the knowledge base.
- Parameters
-
knowledge | the knowledge base to use |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::groups::GroupFactory::knowledge_ |
|
protectedinherited |
The documentation for this class was generated from the following file: