aGrUM  0.13.2
gum::prm::o3prmr::SetGndEngineCommand Class Reference

#include <O3prmrContext.h>

+ Inheritance diagram for gum::prm::o3prmr::SetGndEngineCommand:
+ Collaboration diagram for gum::prm::o3prmr::SetGndEngineCommand:

Public Attributes

std::string value
 
int line
 

Public Member Functions

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

Definition at line 102 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

gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( int  line,
const std::string &  value 
)
inline
gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( const SetGndEngineCommand c)
inline

Definition at line 106 of file O3prmrContext.h.

106  :
107  O3prmrCommand(c), value(c.value) {}

Member Function Documentation

std::string gum::prm::o3prmr::SetGndEngineCommand::toString ( ) const
inlinevirtual

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

Definition at line 112 of file O3prmrContext.h.

112 { return "grd_engine " + value + ";"; }
RequestType gum::prm::o3prmr::SetGndEngineCommand::type ( ) const
inlinevirtual

Member Data Documentation

int gum::prm::o3prmr::O3prmrCommand::line
inherited
std::string gum::prm::o3prmr::SetGndEngineCommand::value

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