aGrUM 3.2.0
a C++ library for (probabilistic) graphical models
gum::prm::o3prmr::O3prmrCommand Class Referenceabstract

This is an abstract class. More...

#include <O3prmrContext.h>

Inheritance diagram for gum::prm::o3prmr::O3prmrCommand:
[legend]

Public Types

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

Public Member Functions

 O3prmrCommand (int line)
 O3prmrCommand (const O3prmrCommand &c)
virtual ~O3prmrCommand ()=default
virtual RequestType type () const =0
virtual std::string toString () const =0

Public Attributes

int line

Detailed Description

This is an abstract class.

It represent a o3prmr command. There five types of command, such sub-classes.

Definition at line 69 of file O3prmrContext.h.

Member Enumeration Documentation

◆ RequestType

Enumerator
Observe 
Unobserve 
Query 
SetEngine 
SetGndEngine 

Definition at line 72 of file O3prmrContext.h.

72: char { Observe, Unobserve, Query, SetEngine, SetGndEngine };

Constructor & Destructor Documentation

◆ O3prmrCommand() [1/2]

◆ O3prmrCommand() [2/2]

INLINE gum::prm::o3prmr::O3prmrCommand::O3prmrCommand ( const O3prmrCommand & c)
default

References O3prmrCommand().

Here is the call graph for this function:

◆ ~O3prmrCommand()

virtual gum::prm::o3prmr::O3prmrCommand::~O3prmrCommand ( )
virtualdefault

Member Function Documentation

◆ toString()

◆ type()

virtual RequestType gum::prm::o3prmr::O3prmrCommand::type ( ) const
pure virtual

Implemented in gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >, gum::prm::o3prmr::QueryCommand< GUM_SCALAR >, gum::prm::o3prmr::SetEngineCommand, gum::prm::o3prmr::SetGndEngineCommand, and gum::prm::o3prmr::UnobserveCommand< GUM_SCALAR >.

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

Here is the caller graph for this function:

Member Data Documentation

◆ line


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