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

#include <knowrob.h>

Static Public Member Functions

static uint32_t batchSize ()
 
static void setBatchSize (uint32_t batchSize)
 
static IRIAtomPtr egoIRI ()
 
static void setEgoIRI (const IRIAtomPtr &egoIRI)
 
static uint32_t batchSize ()
 
static void setBatchSize (uint32_t batchSize)
 
static IRIAtomPtr egoIRI ()
 
static void setEgoIRI (const IRIAtomPtr &egoIRI)
 

Static Protected Attributes

static uint32_t batchSize_ = 500u
 
static IRIAtomPtr egoIRI_
 

Detailed Description

Global settings for the knowledge base.

Definition at line 63 of file knowrob.h.

Member Function Documentation

◆ batchSize() [1/2]

static uint32_t knowrob::GlobalSettings::batchSize ( )
inlinestatic
Returns
the batch size.

Definition at line 68 of file knowrob.h.

68 { return batchSize_; }
static uint32_t batchSize_
Definition: knowrob.h:88

◆ batchSize() [2/2]

static uint32_t knowrob::GlobalSettings::batchSize ( )
inlinestatic
Returns
the batch size.

Definition at line 68 of file knowrob.h.

68 { return batchSize_; }

◆ egoIRI() [1/2]

static IRIAtomPtr knowrob::GlobalSettings::egoIRI ( )
inlinestatic
Returns
the ego IRI atom.

Definition at line 79 of file knowrob.h.

79 { return egoIRI_; }
static IRIAtomPtr egoIRI_
Definition: knowrob.h:89

◆ egoIRI() [2/2]

static IRIAtomPtr knowrob::GlobalSettings::egoIRI ( )
inlinestatic
Returns
the ego IRI atom.

Definition at line 79 of file knowrob.h.

79 { return egoIRI_; }

◆ setBatchSize() [1/2]

static void knowrob::GlobalSettings::setBatchSize ( uint32_t  batchSize)
inlinestatic

The size of the container used when triples are processed in batches.

Parameters
batchSizethe batch size for the backend.

Definition at line 74 of file knowrob.h.

74 { batchSize_ = batchSize; }
static uint32_t batchSize()
Definition: knowrob.h:68

◆ setBatchSize() [2/2]

static void knowrob::GlobalSettings::setBatchSize ( uint32_t  batchSize)
inlinestatic

The size of the container used when triples are processed in batches.

Parameters
batchSizethe batch size for the backend.

Definition at line 74 of file knowrob.h.

74 { batchSize_ = batchSize; }

◆ setEgoIRI() [1/2]

static void knowrob::GlobalSettings::setEgoIRI ( const IRIAtomPtr egoIRI)
inlinestatic

Set the egoIRI atom.

Parameters
egoIRIthe ego IRI atom.

Definition at line 85 of file knowrob.h.

85 { egoIRI_ = egoIRI; }
static IRIAtomPtr egoIRI()
Definition: knowrob.h:79

◆ setEgoIRI() [2/2]

static void knowrob::GlobalSettings::setEgoIRI ( const IRIAtomPtr egoIRI)
inlinestatic

Set the egoIRI atom.

Parameters
egoIRIthe ego IRI atom.

Definition at line 85 of file knowrob.h.

85 { egoIRI_ = egoIRI; }

Member Data Documentation

◆ batchSize_

uint32_t knowrob::GlobalSettings::batchSize_ = 500u
staticprotected

Definition at line 88 of file knowrob.h.

◆ egoIRI_

knowrob::IRIAtomPtr knowrob::GlobalSettings::egoIRI_
staticprotected
Initial value:
=
IRIAtom::Tabled("http://knowrob.org/kb/knowrob.owl#Self")
static std::shared_ptr< IRIAtom > Tabled(std::string_view stringForm)
Definition: IRIAtom.cpp:25

Definition at line 89 of file knowrob.h.


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