knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
knowrob::EndOfEvaluation Class Reference

#include <EndOfEvaluation.h>

Inheritance diagram for knowrob::EndOfEvaluation:
Collaboration diagram for knowrob::EndOfEvaluation:

Static Public Member Functions

static auto & get ()
 
static auto & get ()
 

Additional Inherited Members

- Public Member Functions inherited from knowrob::Token
 Token (TokenType tokenType)
 
virtual ~Token ()=default
 
TokenType tokenType () const
 
size_t hash () const
 
std::string stringForm () const
 
bool isControlToken () const
 
bool isAnswerToken () const
 
bool indicatesEndOfEvaluation () const
 
void write (std::ostream &os) const override
 
 Token (TokenType tokenType)
 
virtual ~Token ()=default
 
TokenType tokenType () const
 
size_t hash () const
 
std::string stringForm () const
 
bool isControlToken () const
 
bool isAnswerToken () const
 
bool indicatesEndOfEvaluation () const
 
void write (std::ostream &os) const override
 
- Public Member Functions inherited from knowrob::Printable
virtual ~Printable ()=default
 
virtual std::string format () const
 
virtual ~Printable ()=default
 
virtual std::string format () const
 
- Protected Attributes inherited from knowrob::Token
TokenType tokenType_
 
bool isTerminalToken_ = false
 

Detailed Description

A control token that indicates the end of an evaluation.

Definition at line 17 of file EndOfEvaluation.h.

Member Function Documentation

◆ get() [1/2]

static auto& knowrob::EndOfEvaluation::get ( )
inlinestatic
Returns
the singleton instance.

Definition at line 27 of file EndOfEvaluation.h.

27  {
28  static std::shared_ptr<const EndOfEvaluation> instance(new EndOfEvaluation());
29  return instance;
30  }

◆ get() [2/2]

static auto& knowrob::EndOfEvaluation::get ( )
inlinestatic
Returns
the singleton instance.

Definition at line 27 of file EndOfEvaluation.h.

27  {
28  static std::shared_ptr<const EndOfEvaluation> instance(new EndOfEvaluation());
29  return instance;
30  }

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