aGrUM  0.13.2
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR > Class Template Reference

#include <O3prmrContext.h>

+ Inheritance diagram for gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >:
+ Collaboration diagram for gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >:

Public Attributes

std::string leftValue
 
std::string rightValue
 
const PRMSystem< GUM_SCALAR > * system
 
PRMInference< GUM_SCALAR >::Chain chain
 
Potential< GUM_SCALAR > potentiel
 
int line
 

Public Member Functions

 ObserveCommand (int line, const std::string &leftValue, const std::string &rightValue)
 
 ObserveCommand (const ObserveCommand &c)
 
RequestType type () const
 
std::string toString () const
 

Public Types

enum  RequestType : char {
  RequestType::Observe, RequestType::Unobserve, RequestType::Query, RequestType::SetEngine,
  RequestType::SetGndEngine
}
 

Detailed Description

template<typename GUM_SCALAR>
class gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >

Definition at line 117 of file O3prmrContext.h.

Member Enumeration Documentation

enum gum::prm::o3prmr::O3prmrCommand::RequestType : char
stronginherited
Enumerator
Observe 
Unobserve 
Query 
SetEngine 
SetGndEngine 

Definition at line 51 of file O3prmrContext.h.

51  : char {
52  Observe,
53  Unobserve,
54  Query,
55  SetEngine,
56  SetGndEngine
57  };

Constructor & Destructor Documentation

template<typename GUM_SCALAR>
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::ObserveCommand ( int  line,
const std::string &  leftValue,
const std::string &  rightValue 
)
inline
template<typename GUM_SCALAR>
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::ObserveCommand ( const ObserveCommand< GUM_SCALAR > &  c)
inline

Definition at line 124 of file O3prmrContext.h.

124  :
125  O3prmrCommand(c), leftValue(c.leftValue), rightValue(c.rightValue),
126  system(c.system), chain(c.chain) {}
PRMInference< GUM_SCALAR >::Chain chain
const PRMSystem< GUM_SCALAR > * system

Member Function Documentation

template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::toString ( ) const
inlinevirtual

Implements gum::prm::o3prmr::O3prmrCommand.

Definition at line 135 of file O3prmrContext.h.

135  {
136  return leftValue + " = " + rightValue + ";";
137  }
template<typename GUM_SCALAR>
RequestType gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::type ( ) const
inlinevirtual

Member Data Documentation

template<typename GUM_SCALAR>
PRMInference< GUM_SCALAR >::Chain gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::chain
template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::leftValue
int gum::prm::o3prmr::O3prmrCommand::line
inherited
template<typename GUM_SCALAR>
Potential< GUM_SCALAR > gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::potentiel
template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::rightValue
template<typename GUM_SCALAR>
const PRMSystem< GUM_SCALAR >* gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::system

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