GAMS  1.4.0
gams::groups::GroupFixedListFactory Class Reference

Factory for creating GroupFixedList groups. More...

#include <GroupFixedList.h>

Inheritance diagram for gams::groups::GroupFixedListFactory:
gams::groups::GroupFactory

Public Member Functions

 GroupFixedListFactory ()
 Constructor. More...
 
virtual ~GroupFixedListFactory ()
 Destructor. More...
 
virtual GroupBasecreate (const std::string &prefix, madara::knowledge::KnowledgeBase *knowledge)
 Creates a group. More...
 
void set_knowledge (madara::knowledge::KnowledgeBase *knowledge)
 Sets the knowledge base. More...
 

Protected Attributes

madara::knowledge::KnowledgeBase * knowledge_
 knowledge base containing variables More...
 

Detailed Description

Factory for creating GroupFixedList groups.

Definition at line 168 of file GroupFixedList.h.

Constructor & Destructor Documentation

◆ GroupFixedListFactory()

gams::groups::GroupFixedListFactory::GroupFixedListFactory ( )

Constructor.

◆ ~GroupFixedListFactory()

virtual gams::groups::GroupFixedListFactory::~GroupFixedListFactory ( )
virtual

Destructor.

Member Function Documentation

◆ create()

virtual GroupBase* gams::groups::GroupFixedListFactory::create ( const std::string &  prefix,
madara::knowledge::KnowledgeBase *  knowledge 
)
virtual

Creates a group.

Parameters
prefixthe name of the group(e.g. group.protectors)
knowledgethe 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
knowledgethe knowledge base to use

Member Data Documentation

◆ knowledge_

madara::knowledge::KnowledgeBase* gams::groups::GroupFactory::knowledge_
protectedinherited

knowledge base containing variables

Definition at line 103 of file GroupFactory.h.


The documentation for this class was generated from the following file: