plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::rt 命名空间参考

命名空间

namespace  detail

类

class  CycleDuration
class  CycleTick
class  Result
struct  ErrorDiagnostic
struct  IpcWriteReservation
class  IpcSpscRing
class  IpcDoubleBuffer
class  SpscQueue
class  StaticVector
class  CycleConfig

枚举

enum class  ErrorCode {
  ok = 0 , invalid_argument , out_of_range , capacity_exceeded ,
  infeasible , precondition_failed , unsupported , bytecode_version_mismatch ,
  not_converged , singular_region , limit_infeasible
}
enum class  IpcStatus {
  ok , empty , full , busy ,
  invalid_owner
}

函数

constexpr ErrorDiagnostic diagnose (ErrorCode code)
constexpr const char * to_string (ErrorCode code)

枚举类型说明

◆ ErrorCode

enum class plcopen::core::rt::ErrorCode
strong
枚举值
ok 
invalid_argument 
out_of_range 
capacity_exceeded 
infeasible 
precondition_failed 
unsupported 
bytecode_version_mismatch 
not_converged 
singular_region 
limit_infeasible 

在文件 error.h 第 6 行定义.

◆ IpcStatus

enum class plcopen::core::rt::IpcStatus
strong
枚举值
ok 
empty 
full 
busy 
invalid_owner 

在文件 ipc_channel.h 第 13 行定义.

函数说明

◆ diagnose()

ErrorDiagnostic plcopen::core::rt::diagnose ( ErrorCode code)
constexpr

在文件 error_diag.h 第 17 行定义.

◆ to_string()

const char * plcopen::core::rt::to_string ( ErrorCode code)
constexpr

在文件 error_text.h 第 8 行定义.