knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Perspective.h>
Public Member Functions | |
Perspective (std::string_view iri) | |
Perspective (IRIAtomPtr atom) | |
auto | iri () const |
auto | atom () const |
Perspective (std::string_view iri) | |
Perspective (IRIAtomPtr atom) | |
auto | iri () const |
auto | atom () const |
Static Public Member Functions | |
static std::shared_ptr< Perspective > | getEgoPerspective () |
static bool | isEgoPerspective (std::string_view iri) |
static std::shared_ptr< Perspective > | get (std::string_view iri) |
static std::shared_ptr< Perspective > | getEgoPerspective () |
static bool | isEgoPerspective (std::string_view iri) |
static std::shared_ptr< Perspective > | get (std::string_view iri) |
Protected Attributes | |
IRIAtomPtr | atom_ |
Static Protected Attributes | |
static std::map< std::string_view, std::shared_ptr< Perspective > > | perspectiveMap_ |
A perspective is a point of view from which a statement is true or false. Usually a perspective is associated with an IRI denoting an agent or a group of agents.
Definition at line 21 of file Perspective.h.
|
explicit |
Create a new perspective with the given IRI.
iri | the IRI of the perspective |
Definition at line 15 of file Perspective.cpp.
|
inlineexplicit |
Create a new perspective with the given IRI atom.
atom | the IRI atom of the perspective |
Definition at line 33 of file Perspective.h.
|
explicit |
Create a new perspective with the given IRI.
iri | the IRI of the perspective |
|
inlineexplicit |
Create a new perspective with the given IRI atom.
atom | the IRI atom of the perspective |
Definition at line 33 of file Perspective.h.
|
inline |
|
inline |
|
static |
iri | an IRI |
Definition at line 31 of file Perspective.cpp.
|
static |
iri | an IRI |
|
static |
The egoIRI perspective is a special perspective taken by the agent running the knowledge base.
Definition at line 18 of file Perspective.cpp.
|
static |
The egoIRI perspective is a special perspective taken by the agent running the knowledge base.
|
inline |
|
inline |
|
static |
iri | an IRI |
Definition at line 27 of file Perspective.cpp.
|
static |
iri | an IRI |
|
protected |
Definition at line 65 of file Perspective.h.
|
staticprotected |
Definition at line 64 of file Perspective.h.