plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::st::ConfigurationRuntime类 参考

#include <configuration_runtime.h>

Public 成员函数

 ConfigurationRuntime ()=default
 ~ConfigurationRuntime ()
 ConfigurationRuntime (const ConfigurationRuntime &)=delete
ConfigurationRuntime & operator= (const ConfigurationRuntime &)=delete
rt::ErrorCode load (const Program &program, const char *configuration_name, unsigned char *buffer, std::size_t buffer_bytes, std::int64_t base_tick_ns)
void unload () noexcept
rt::ErrorCode boundary (std::uint64_t tick, const EventSample *events=nullptr, std::size_t event_count=0)
rt::ErrorCode run (std::int64_t slice)
rt::ErrorCode task_status (const char *resource_name, const char *task_name, TaskStatus &status) const
std::string_view artifact_pou_name (std::uint32_t index) const noexcept
std::string_view artifact_sfc_name (std::uint32_t pou_index, std::uint32_t sfc_index) const noexcept
std::string_view artifact_sfc_action_name (std::uint32_t pou_index, std::uint32_t sfc_index, std::uint32_t action_index) const noexcept
rt::ErrorCode resource_status (const char *resource_name, ResourceStatus &status) const
rt::ErrorCode value_i64 (const char *resource_name, const char *instance_name, const char *name, std::int64_t &value) const
rt::ErrorCode output_snapshot (const char *resource_name, unsigned char *bytes, std::size_t capacity, std::size_t &written, std::uint64_t &version) const
rt::ErrorCode memory_snapshot (const char *resource_name, unsigned char *bytes, std::size_t capacity, std::size_t &written, std::uint64_t &version) const
rt::ErrorCode submit_input (const char *resource_name, const unsigned char *bytes, std::size_t size, std::uint64_t version)
rt::ErrorCode report_wallclock_exceeded (const char *resource_name, const char *task_name)
std::uint64_t force_queue_version (const char *resource_name) const
rt::ErrorCode reset_task (const char *resource_name, const char *task_name)
rt::ErrorCode restart_task (const char *resource_name, const char *task_name)
rt::ErrorCode report_resource_fault (const char *resource_name, ResourceFault fault)

友元

class DebugSession

详细描述

在文件 configuration_runtime.h 第 19 行定义.

构造及析构函数说明

◆ ConfigurationRuntime() [1/2]

plcopen::core::st::ConfigurationRuntime::ConfigurationRuntime ( )
default

◆ ~ConfigurationRuntime()

plcopen::core::st::ConfigurationRuntime::~ConfigurationRuntime ( )
inline

在文件 configuration_runtime.h 第 24 行定义.

◆ ConfigurationRuntime() [2/2]

plcopen::core::st::ConfigurationRuntime::ConfigurationRuntime ( const ConfigurationRuntime & )
delete

成员函数说明

◆ artifact_pou_name()

std::string_view plcopen::core::st::ConfigurationRuntime::artifact_pou_name ( std::uint32_t index) const
inlinenoexcept

在文件 configuration_runtime.h 第 343 行定义.

◆ artifact_sfc_action_name()

std::string_view plcopen::core::st::ConfigurationRuntime::artifact_sfc_action_name ( std::uint32_t pou_index,
std::uint32_t sfc_index,
std::uint32_t action_index ) const
inlinenoexcept

在文件 configuration_runtime.h 第 357 行定义.

◆ artifact_sfc_name()

std::string_view plcopen::core::st::ConfigurationRuntime::artifact_sfc_name ( std::uint32_t pou_index,
std::uint32_t sfc_index ) const
inlinenoexcept

在文件 configuration_runtime.h 第 349 行定义.

◆ boundary()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::boundary ( std::uint64_t tick,
const EventSample * events = nullptr,
std::size_t event_count = 0 )
inline

在文件 configuration_runtime.h 第 200 行定义.

◆ force_queue_version()

std::uint64_t plcopen::core::st::ConfigurationRuntime::force_queue_version ( const char * resource_name) const
inline

在文件 configuration_runtime.h 第 445 行定义.

◆ load()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::load ( const Program & program,
const char * configuration_name,
unsigned char * buffer,
std::size_t buffer_bytes,
std::int64_t base_tick_ns )
inline

在文件 configuration_runtime.h 第 28 行定义.

◆ memory_snapshot()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::memory_snapshot ( const char * resource_name,
unsigned char * bytes,
std::size_t capacity,
std::size_t & written,
std::uint64_t & version ) const
inline

在文件 configuration_runtime.h 第 410 行定义.

◆ operator=()

ConfigurationRuntime & plcopen::core::st::ConfigurationRuntime::operator= ( const ConfigurationRuntime & )
delete

◆ output_snapshot()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::output_snapshot ( const char * resource_name,
unsigned char * bytes,
std::size_t capacity,
std::size_t & written,
std::uint64_t & version ) const
inline

在文件 configuration_runtime.h 第 397 行定义.

◆ report_resource_fault()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::report_resource_fault ( const char * resource_name,
ResourceFault fault )
inline

在文件 configuration_runtime.h 第 462 行定义.

◆ report_wallclock_exceeded()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::report_wallclock_exceeded ( const char * resource_name,
const char * task_name )
inline

在文件 configuration_runtime.h 第 433 行定义.

◆ reset_task()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::reset_task ( const char * resource_name,
const char * task_name )
inline

在文件 configuration_runtime.h 第 451 行定义.

◆ resource_status()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::resource_status ( const char * resource_name,
ResourceStatus & status ) const
inline

在文件 configuration_runtime.h 第 367 行定义.

◆ restart_task()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::restart_task ( const char * resource_name,
const char * task_name )
inline

在文件 configuration_runtime.h 第 456 行定义.

◆ run()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::run ( std::int64_t slice)
inline

在文件 configuration_runtime.h 第 235 行定义.

◆ submit_input()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::submit_input ( const char * resource_name,
const unsigned char * bytes,
std::size_t size,
std::uint64_t version )
inline

在文件 configuration_runtime.h 第 423 行定义.

◆ task_status()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::task_status ( const char * resource_name,
const char * task_name,
TaskStatus & status ) const
inline

在文件 configuration_runtime.h 第 331 行定义.

◆ unload()

void plcopen::core::st::ConfigurationRuntime::unload ( )
inlinenoexcept

在文件 configuration_runtime.h 第 186 行定义.

◆ value_i64()

rt::ErrorCode plcopen::core::st::ConfigurationRuntime::value_i64 ( const char * resource_name,
const char * instance_name,
const char * name,
std::int64_t & value ) const
inline

在文件 configuration_runtime.h 第 376 行定义.

◆ DebugSession

friend class DebugSession
friend

在文件 configuration_runtime.h 第 21 行定义.


该类的文档由以下文件生成: