aGrUM  0.13.2
gum::prm::IPRMFactory Class Referenceabstract

non-template interface-like parent for every PRM Factory More...

#include <IPRMFactory.h>

+ Inheritance diagram for gum::prm::IPRMFactory:

Public Member Functions

virtual ~IPRMFactory ()
 
virtual PRMObject::prm_type currentType () const =0
 
virtual PRMObjectgetCurrent ()=0
 
virtual const PRMObjectgetCurrent () const =0
 
virtual PRMObjectcloseCurrent ()=0
 
virtual std::string currentPackage () const =0
 
virtual void pushPackage (const std::string &name)=0
 
virtual std::string popPackage ()=0
 
virtual void addImport (const std::string &name)=0
 
virtual void startDiscreteType (const std::string &name, std::string super="")=0
 
virtual void addLabel (const std::string &l, std::string extends="")=0
 
virtual void endDiscreteType ()=0
 
virtual void startDiscretizedType (const std::string &name)=0
 
virtual void addTick (double tick)=0
 
virtual void endDiscretizedType ()=0
 
virtual void addRangeType (const std::string &name, long minVal, long maxVal)=0
 
virtual void startClass (const std::string &c, const std::string &extends="", const Set< std::string > *implements=nullptr, bool delayInheritance=false)=0
 
virtual void continueClass (const std::string &c)=0
 
virtual void endClass (bool checkImplementations=true)=0
 
virtual void startInterface (const std::string &i, const std::string &extends="", bool delayInheritance=false)=0
 
virtual void continueInterface (const std::string &name)=0
 
virtual void addAttribute (const std::string &type, const std::string &name)=0
 
virtual void endInterface ()=0
 
virtual void startAttribute (const std::string &type, const std::string &name, bool scalar_attr=false)=0
 
virtual void continueAttribute (const std::string &name)=0
 
virtual void addParent (const std::string &name)=0
 
virtual void setRawCPFByFloatLines (const std::vector< float > &array)=0
 
virtual void setRawCPFByFloatColumns (const std::vector< float > &array)=0
 
virtual void setCPFByFloatRule (const std::vector< std::string > &labels, const std::vector< float > &values)=0
 
virtual void setCPFByRule (const std::vector< std::string > &labels, const std::vector< std::string > &values)=0
 
virtual void setRawCPFByColumns (const std::vector< std::string > &array)=0
 
virtual void setRawCPFByLines (const std::vector< std::string > &array)=0
 
virtual void endAttribute ()=0
 
virtual void addParameter (const std::string &type, const std::string &name, double value)=0
 
virtual void addAggregator (const std::string &name, const std::string &agg_type, const std::vector< std::string > &chains, const std::vector< std::string > &params, std::string type="")=0
 
virtual void addNoisyOrCompound (const std::string &name, const std::vector< std::string > &chains, const std::vector< float > &numbers, float leak, const std::vector< std::string > &label)=0
 
virtual void addReferenceSlot (const std::string &type, const std::string &name, bool isArray)=0
 
virtual void startSystem (const std::string &name)=0
 
virtual void endSystem ()=0
 
virtual void addInstance (const std::string &type, const std::string &name)=0
 
virtual void addInstance (const std::string &type, const std::string &name, const HashTable< std::string, double > &params)=0
 
virtual void addArray (const std::string &type, const std::string &name, Size size)=0
 
virtual void incArray (const std::string &l_i, const std::string &r_i)=0
 
virtual void setReferenceSlot (const std::string &left_instance, const std::string &left_reference, const std::string &right_instance)=0
 
virtual void setReferenceSlot (const std::string &l_i, const std::string &r_i)=0
 
virtual bool isClassOrInterface (const std::string &type) const =0
 
virtual bool isArrayInCurrentSystem (const std::string &name) const =0
 

Detailed Description

non-template interface-like parent for every PRM Factory

Definition at line 54 of file IPRMFactory.h.

Constructor & Destructor Documentation

Member Function Documentation

virtual void gum::prm::IPRMFactory::addAggregator ( const std::string &  name,
const std::string &  agg_type,
const std::vector< std::string > &  chains,
const std::vector< std::string > &  params,
std::string  type = "" 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addArray ( const std::string &  type,
const std::string &  name,
Size  size 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addAttribute ( const std::string &  type,
const std::string &  name 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addImport ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addInstance ( const std::string &  type,
const std::string &  name 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addInstance ( const std::string &  type,
const std::string &  name,
const HashTable< std::string, double > &  params 
)
pure virtual
virtual void gum::prm::IPRMFactory::addLabel ( const std::string &  l,
std::string   
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addNoisyOrCompound ( const std::string &  name,
const std::vector< std::string > &  chains,
const std::vector< float > &  numbers,
float  leak,
const std::vector< std::string > &  label 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addParameter ( const std::string &  type,
const std::string &  name,
double  value 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addParent ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addRangeType ( const std::string &  name,
long  minVal,
long  maxVal 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addReferenceSlot ( const std::string &  type,
const std::string &  name,
bool  isArray 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::addTick ( double  tick)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual PRMObject* gum::prm::IPRMFactory::closeCurrent ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::continueAttribute ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::continueClass ( const std::string &  c)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::continueInterface ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual std::string gum::prm::IPRMFactory::currentPackage ( ) const
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual PRMObject::prm_type gum::prm::IPRMFactory::currentType ( ) const
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endAttribute ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endClass ( bool  checkImplementations = true)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endDiscreteType ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endDiscretizedType ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endInterface ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::endSystem ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual PRMObject* gum::prm::IPRMFactory::getCurrent ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual const PRMObject* gum::prm::IPRMFactory::getCurrent ( ) const
pure virtual
virtual void gum::prm::IPRMFactory::incArray ( const std::string &  l_i,
const std::string &  r_i 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual bool gum::prm::IPRMFactory::isArrayInCurrentSystem ( const std::string &  name) const
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual bool gum::prm::IPRMFactory::isClassOrInterface ( const std::string &  type) const
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual std::string gum::prm::IPRMFactory::popPackage ( )
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::pushPackage ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setCPFByFloatRule ( const std::vector< std::string > &  labels,
const std::vector< float > &  values 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setCPFByRule ( const std::vector< std::string > &  labels,
const std::vector< std::string > &  values 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setRawCPFByColumns ( const std::vector< std::string > &  array)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setRawCPFByFloatColumns ( const std::vector< float > &  array)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setRawCPFByFloatLines ( const std::vector< float > &  array)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setRawCPFByLines ( const std::vector< std::string > &  array)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setReferenceSlot ( const std::string &  left_instance,
const std::string &  left_reference,
const std::string &  right_instance 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::setReferenceSlot ( const std::string &  l_i,
const std::string &  r_i 
)
pure virtual
virtual void gum::prm::IPRMFactory::startAttribute ( const std::string &  type,
const std::string &  name,
bool  scalar_attr = false 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::startClass ( const std::string &  c,
const std::string &  ,
const Set< std::string > *  implements = nullptr,
bool  delayInheritance = false 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::startDiscreteType ( const std::string &  name,
std::string  super = "" 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::startDiscretizedType ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::startInterface ( const std::string &  i,
const std::string &  ,
bool  delayInheritance = false 
)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:

virtual void gum::prm::IPRMFactory::startSystem ( const std::string &  name)
pure virtual

Implemented in gum::prm::PRMFactory< GUM_SCALAR >.

Referenced by ~IPRMFactory().

+ Here is the caller graph for this function:


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