aGrUM  0.13.2
gum::prm::o3prmr::O3prmrCommand Class Referenceabstract

This is an abstract class. More...

#include <O3prmrContext.h>

+ Inheritance diagram for gum::prm::o3prmr::O3prmrCommand:

Public Attributes

int line
 

Public Member Functions

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

Public Types

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

Detailed Description

This is an abstract class.

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

Definition at line 48 of file O3prmrContext.h.

Member Enumeration Documentation

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

gum::prm::o3prmr::O3prmrCommand::O3prmrCommand ( int  line)
inlineexplicit

Definition at line 59 of file O3prmrContext.h.

gum::prm::o3prmr::O3prmrCommand::O3prmrCommand ( const O3prmrCommand c)
inline

Definition at line 60 of file O3prmrContext.h.

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

Definition at line 61 of file O3prmrContext.h.

References toString(), and type().

61 {}

+ Here is the call graph for this function:

Member Function Documentation

virtual std::string gum::prm::o3prmr::O3prmrCommand::toString ( ) const
pure virtual

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

Referenced by gum::prm::o3prmr::O3prmrContext< double >::addImport(), and ~O3prmrCommand().

+ Here is the caller graph for this function:

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

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

Referenced by gum::prm::o3prmr::O3prmrSession< GUM_SCALAR >::addCommand(), and ~O3prmrCommand().

+ Here is the caller graph for this function:

Member Data Documentation

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

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