AffordanceLoader Class Reference

#include <RobotAPI/libraries/PriorKnowledge/util/AffordanceLoader/AffordanceLoader.h>

Public Member Functions

 AffordanceLoader ()=delete
 

Static Public Member Functions

static std::vector< StaticAffordanceLoadAffordances (const std::string &sourceId, const nlohmann::json &)
 
static std::vector< LocationAffordanceLoadLocationAffordances (const std::string &sourceId, const nlohmann::json &)
 

Static Public Attributes

static const constexpr auto DEFAULT_FILE_NAME = "affordances.json"
 
static const constexpr auto DEFAULT_LOCATION_FILE_NAME = "location_affordances.json"
 

Detailed Description

Definition at line 13 of file AffordanceLoader.h.

Constructor & Destructor Documentation

◆ AffordanceLoader()

AffordanceLoader ( )
delete

Member Function Documentation

◆ LoadAffordances()

std::vector< StaticAffordance > LoadAffordances ( const std::string &  sourceId,
const nlohmann::json &  js 
)
static

Definition at line 9 of file AffordanceLoader.cpp.

+ Here is the call graph for this function:

◆ LoadLocationAffordances()

std::vector< LocationAffordance > LoadLocationAffordances ( const std::string &  sourceId,
const nlohmann::json &  js 
)
static

Definition at line 28 of file AffordanceLoader.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ DEFAULT_FILE_NAME

const constexpr auto DEFAULT_FILE_NAME = "affordances.json"
staticconstexpr

Definition at line 16 of file AffordanceLoader.h.

◆ DEFAULT_LOCATION_FILE_NAME

const constexpr auto DEFAULT_LOCATION_FILE_NAME = "location_affordances.json"
staticconstexpr

Definition at line 17 of file AffordanceLoader.h.


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