载入中...
搜索中...
未找到
SensingQueryCodec.cpp 文件参考
#include "sensing/SensingQueryCodec.h"
#include <cmath>
#include <stdexcept>
#include "common/Json.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::sensing
 

函数

Result< SensingQueryRequest > eve::sensing::decodeSensingQuery (std::string_view json)
 Decodes eve.sensing.query v1; rejects malformed known fields, ignores unknown fields. @cost Linear in input bytes per admission; retain typed requests for repeated C++ queries. @thread Caller thread; no callbacks or retained input storage.
 
Result< EnvironmentRequest > eve::sensing::decodeEnvironmentRequest (std::string_view json)
 Decodes eve.sensing.environmentRequest v1; locations retain explicit coordinate tags. @cost Linear in contexts and items per execution; no references to input are retained. @thread Caller thread; no callbacks.
 
Result< EnvironmentQueryDefinition > eve::sensing::decodeEnvironmentDefinition (std::string_view json)
 Decodes eve.sensing.environmentDefinition v1 into an owning definition. @cost Linear in input bytes per definition revision; compile and retain the resulting plan. @thread Caller thread; custom native metrics are supplied through the typed C++ API.