aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR > Class Template Reference

#include <O3prmrContext.h>

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

Public Attributes

std::string value
 
const PRMSystem< GUM_SCALAR > * system
 
PRMInference< GUM_SCALAR >::Chain chain
 
int line
 

Public Member Functions

 UnobserveCommand (int line, const std::string &value)
 
 UnobserveCommand (const UnobserveCommand &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::UnobserveCommand< GUM_SCALAR >

Definition at line 132 of file O3prmrContext.h.

Member Enumeration Documentation

◆ RequestType

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

Definition at line 52 of file O3prmrContext.h.

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

Constructor & Destructor Documentation

◆ UnobserveCommand() [1/2]

template<typename GUM_SCALAR >
gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand ( int  line,
const std::string &  value 
)
inline

Definition at line 138 of file O3prmrContext.h.

References gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand(), and gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::value.

Referenced by gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnobserveCommand() [2/2]

template<typename GUM_SCALAR >
gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand ( const UnobserveCommand< GUM_SCALAR > &  c)
inline

Definition at line 140 of file O3prmrContext.h.

References gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand(), and gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::value.

Referenced by gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::UnobserveCommand().

140  :
141  O3prmrCommand(c), value(c.value), system(c.system), chain(c.chain) {}
const PRMSystem< GUM_SCALAR > * system
PRMInference< GUM_SCALAR >::Chain chain
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ toString()

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

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

Definition at line 144 of file O3prmrContext.h.

References gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::value.

144 { return "unobserve " + value + ";"; }

◆ type()

template<typename GUM_SCALAR >
RequestType gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::type ( ) const
inlinevirtual

Member Data Documentation

◆ chain

template<typename GUM_SCALAR >
PRMInference< GUM_SCALAR >::Chain gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::chain

◆ line

int gum::prm::o3prmr::O3prmrCommand::line
inherited

Definition at line 51 of file O3prmrContext.h.

Referenced by gum::prm::o3prmr::O3prmrCommand::O3prmrCommand().

◆ system

template<typename GUM_SCALAR >
const PRMSystem< GUM_SCALAR >* gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >::system

Definition at line 135 of file O3prmrContext.h.

◆ value


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