knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
EndOfEvaluation.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_END_OF_EVALUATION_H
7 #define KNOWROB_END_OF_EVALUATION_H
8 
9 #include "memory"
10 #include "iostream"
11 #include "Token.h"
12 
13 namespace knowrob {
17  class EndOfEvaluation : public Token {
18  private:
19  EndOfEvaluation() : Token(TokenType::CONTROL_TOKEN) {
20  isTerminalToken_ = true;
21  };
22 
23  public:
27  static auto &get() {
28  static std::shared_ptr<const EndOfEvaluation> instance(new EndOfEvaluation());
29  return instance;
30  }
31  };
32 }
33 
34 #endif //KNOWROB_END_OF_EVALUATION_H
Token(TokenType tokenType)
Definition: Token.h:31
bool isTerminalToken_
Definition: Token.h:70
TokenType
Definition: Token.h:19