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
knowrob::EndOfEvaluation
Definition:
EndOfEvaluation.h:17
knowrob::EndOfEvaluation::get
static auto & get()
Definition:
EndOfEvaluation.h:27
knowrob::Token::Token
Token(TokenType tokenType)
Definition:
Token.h:31
knowrob::Token::isTerminalToken_
bool isTerminalToken_
Definition:
Token.h:70
Token.h
knowrob
Definition:
DataSource.h:13
knowrob::TokenType
TokenType
Definition:
Token.h:19
knowrob::TokenType::CONTROL_TOKEN
@ CONTROL_TOKEN
include
knowrob
queries
EndOfEvaluation.h
Generated by
1.9.1