|
plcopen 0.22.0
|
命名空间 | |
| namespace | binding_manifest_detail |
| namespace | binding_registry_detail |
| namespace | bytecode_detail |
| namespace | sfc_compile_detail |
| namespace | generated |
| namespace | binding_type |
| namespace | l2b_detail |
| namespace | language_detail |
| namespace | detail |
| namespace | sfc_detail |
| namespace | tasking_detail |
| namespace | builtin |
| namespace | type_desc_detail |
| namespace | wcet_detail |
类型定义 | |
| using | ExprIndex = std::int32_t |
| using | StmtIndex = std::int32_t |
| using | BindingPinId = std::uint16_t |
| using | BindingInitOp = void (*)(FbType, unsigned char *, std::int64_t) |
| using | BindingStoreOp |
| using | BindingStoreObjectOp |
| using | BindingLoadOp |
| using | BindingLoadObjectOp |
| using | BindingStoreSequenceOp |
| using | BindingLoadSequenceOp |
| using | BindingStoreTaggedReferenceOp |
| using | BindingLoadTaggedReferenceOp |
| using | BindingCycleOp = void (*)(FbType, unsigned char *, std::int64_t) |
| using | AxisTargetStorage |
| using | GroupTargetStorage |
| using | PathTableStorage = std::array<fb::PathTable *, kMaxTableBindings> |
| using | PathDescriptionStorage |
| using | CamSwitchTableStorage |
| using | CamSwitchOutputStorage |
| using | CamTrackOptionStorage |
| using | CamTableStorage |
| using | PositionProfileStorage |
| using | VelocityProfileStorage = PositionProfileStorage |
| using | AccelerationProfileStorage = PositionProfileStorage |
| using | KinTransformStorage |
| using | BreakpointId = std::uint32_t |
| using | TypeId = std::uint32_t |
| using | FbType = generated::StBindingFbType |
函数 | |
| void | fb_init (FbType type, unsigned char *storage, std::int64_t task_period_ns) |
| void | fb_destroy (FbType type, unsigned char *storage) noexcept |
| bool | fb_store_scalar (FbType type, unsigned char *storage, std::uint16_t pin, std::uint64_t bits) noexcept |
| bool | fb_load_scalar (FbType type, const unsigned char *storage, std::uint16_t pin, std::uint64_t &bits) noexcept |
| bool | fb_store_object (FbType type, unsigned char *storage, std::uint8_t pin, const unsigned char *bytes, TypeId type_id, std::uint32_t size) noexcept |
| bool | fb_load_object (FbType type, const unsigned char *storage, std::uint8_t pin, unsigned char *bytes, TypeId type_id, std::uint32_t size) noexcept |
| bool | fb_store_sequence (FbType type, unsigned char *storage, std::uint16_t pin, generated::StBindingNativeSequenceValue value) noexcept |
| bool | fb_load_sequence (FbType type, const unsigned char *storage, std::uint16_t pin, generated::StBindingNativeSequenceValue &value) noexcept |
| bool | fb_store_tagged_reference (FbType type, unsigned char *storage, std::uint16_t pin, TypeId type_id, generated::StBindingNativeTaggedReferenceValue value) noexcept |
| bool | fb_load_tagged_reference (FbType type, const unsigned char *storage, std::uint16_t pin, TypeId type_id, generated::StBindingNativeTaggedReferenceValue &value) noexcept |
| void | fb_cycle (FbType type, unsigned char *storage, std::int64_t task_period_ns=0) |
| const BindingManifest & | binding_manifest () |
| const BindingDispatcher * | binding_dispatcher (BindingFbId id) noexcept |
| bool | binding_pin_registered (BindingFbId fb_id, BindingPinId pin_id) noexcept |
| bool | binding_fb_registered (BindingFbId id) noexcept |
| constexpr BindingStorageKind | binding_storage_kind (Type type, TypeId type_id) |
| constexpr std::size_t | binding_storage_bytes (BindingStorageKind kind) |
| void | finalize_debug_symbols (Program &artifact) |
| void | finalize_debug_instruction_ids (Program &artifact) |
| CompileResult | compile_single_program_impl (std::string_view source, const CompileOptions &options, bool trusted_debug_provenance) |
| CompileResult | compile_single_program (std::string_view source, const CompileOptions &options=CompileOptions{}) |
| CompileResult | compile_without_sfc (std::string_view source, const CompileOptions &options=CompileOptions{}) |
| CompileResult | compile (std::string_view source, const CompileOptions &options=CompileOptions{}) |
| constexpr ConvKind | conv_kind (Type from, Type to) |
| constexpr const char * | to_string (ConvKind kind) |
| bool | resolve_conversion (std::string_view lower, ConvDesc &desc) |
| constexpr bool | operator== (SymbolId left, SymbolId right) noexcept |
| constexpr bool | operator!= (SymbolId left, SymbolId right) noexcept |
| SymbolId | stable_symbol_id (std::string_view qualified_name) noexcept |
| constexpr bool | operator== (const InstructionId &left, const InstructionId &right) noexcept |
| constexpr bool | operator!= (const InstructionId &left, const InstructionId &right) noexcept |
| constexpr const char * | to_string (DiagCode code) |
| TypeError | install_binding_types (TypeTable &types) |
| bool | operator== (const LanguagePosition &left, const LanguagePosition &right) |
| bool | operator!= (const LanguagePosition &left, const LanguagePosition &right) |
| char | language_ascii_lower (char value) |
| bool | language_ascii_iequals (std::string_view left, std::string_view right) |
| constexpr TypeId | pin_type_id (const PinDesc &pin) noexcept |
| constexpr bool | pin_accepts_input (const PinDesc &pin) noexcept |
| constexpr bool | pin_produces_output (const PinDesc &pin) noexcept |
| constexpr PinTable | pin_table (FbType type) noexcept |
| constexpr std::size_t | fb_size (FbType type) noexcept |
| constexpr std::size_t | fb_align (FbType type) noexcept |
| constexpr const auto & | standard_function_manifest () |
| std::string | standard_function_manifest_dump () |
| bool | resolve_standard_function (std::string_view lower, StandardFunction &function) |
| constexpr std::uint32_t | saturating_cost_add (std::uint32_t left, std::uint32_t right) |
| constexpr std::uint32_t | saturating_cost_mul (std::uint32_t left, std::uint32_t right) |
| constexpr std::uint32_t | standard_string_cost (StandardFunction function, const std::uint32_t *capacities, std::uint8_t count, std::uint32_t destination_capacity) |
| bool | is_reserved_standard_function (std::string_view lower) |
| constexpr bool | operator== (IntegerValue left, IntegerValue right) |
| constexpr bool | operator!= (IntegerValue left, IntegerValue right) |
| constexpr TypeId | type_id (Type type) |
| constexpr Type | type_from_id (TypeId id) |
| constexpr bool | is_signed_int (Type type) |
| constexpr bool | is_unsigned_int (Type type) |
| constexpr bool | is_integer (Type type) |
| constexpr bool | is_bitstring (Type type) |
| constexpr bool | is_real_family (Type type) |
| constexpr int | width_bits (Type type) |
| constexpr bool | widens_to (Type from, Type to) |
| constexpr const char * | to_string (Type type) |
| constexpr const char * | to_string (FbType type) |
| constexpr const char * | to_string (ScanError error) |
| constexpr WcetOpcodeCost | wcet_opcode_cost (Op op) noexcept |
| constexpr const char * | wcet_budget_rule_name (WcetBudgetRule rule) noexcept |
| constexpr const char * | wcet_timing_class_name (WcetTimingClass timing) noexcept |
| WcetReport | make_wcet_report (const Program &program) noexcept |
变量 | |
| constexpr ExprIndex | kNoExpr = -1 |
| constexpr std::uint16_t | kMaxAxisBindings = 64 |
| constexpr std::uint16_t | kMaxGroupBindings = 16 |
| constexpr std::uint16_t | kMaxFbInstances = 1024 |
| constexpr std::size_t | kMaxTableBindings = 32 |
| constexpr std::size_t | kMaxProfileSegments = 8 |
| constexpr std::uint32_t | kBytecodeFormatVersion = 6 |
| constexpr std::uint32_t | kCanonicalManifestVersion = 2 |
| constexpr Type | kConvTypes [] |
| constexpr int | kConvTypeCount = 15 |
| constexpr std::size_t | kMaxDebugStackFrames = 64 |
| constexpr std::size_t | kMaxDebugSfcSteps = 256 |
| constexpr std::size_t | kFbAlign = 8 |
| constexpr std::array< StandardFunctionManifestEntry, 51 > | kStandardFunctionManifest |
| constexpr std::uint32_t | invalid_artifact_index |
| constexpr TypeId | invalid_type_id = 0 |
| constexpr TypeId | first_load_type_id = 65536 |
| constexpr int | kTypeCount = 25 |
| constexpr int | kFbTypeCount = static_cast<int>(FbType::count) |
| constexpr std::uint32_t | kWcetReviewedBytecodeFormatVersion = 6 |
| constexpr std::size_t | kWcetReviewedOpcodeCount = 87 |
| constexpr std::size_t | kWcetTimingClassCount |
在文件 binding_storage.h 第 59 行定义.
在文件 binding_storage.h 第 41 行定义.
| using plcopen::core::st::BindingCycleOp = void (*)(FbType, unsigned char *, std::int64_t) |
在文件 binding_registry.h 第 36 行定义.
| using plcopen::core::st::BindingInitOp = void (*)(FbType, unsigned char *, std::int64_t) |
在文件 binding_registry.h 第 13 行定义.
在文件 binding_registry.h 第 21 行定义.
在文件 binding_registry.h 第 19 行定义.
在文件 binding_registry.h 第 27 行定义.
在文件 binding_registry.h 第 33 行定义.
| using plcopen::core::st::BindingPinId = std::uint16_t |
在文件 binding_manifest.h 第 66 行定义.
在文件 binding_registry.h 第 16 行定义.
在文件 binding_registry.h 第 14 行定义.
在文件 binding_registry.h 第 24 行定义.
在文件 binding_registry.h 第 30 行定义.
| using plcopen::core::st::BreakpointId = std::uint32_t |
在文件 debug_types.h 第 202 行定义.
在文件 binding_storage.h 第 50 行定义.
在文件 binding_storage.h 第 48 行定义.
在文件 binding_storage.h 第 54 行定义.
在文件 binding_storage.h 第 52 行定义.
| using plcopen::core::st::ExprIndex = std::int32_t |
在文件 binding_storage.h 第 43 行定义.
在文件 binding_storage.h 第 60 行定义.
在文件 binding_storage.h 第 46 行定义.
| using plcopen::core::st::PathTableStorage = std::array<fb::PathTable *, kMaxTableBindings> |
在文件 binding_storage.h 第 45 行定义.
在文件 binding_storage.h 第 56 行定义.
| using plcopen::core::st::StmtIndex = std::int32_t |
| using plcopen::core::st::TypeId = std::uint32_t |
在文件 type_desc.h 第 17 行定义.
在文件 binding_storage.h 第 58 行定义.
|
strong |
|
strong |
|
strong |
在文件 binding_manifest.h 第 20 行定义.
|
strong |
| 枚举值 | |
|---|---|
| iec_basic | |
| plcopen_part1_part2 | |
| plcopen_part4 | |
| plcopen_part5 | |
在文件 binding_manifest.h 第 51 行定义.
|
strong |
在文件 binding_storage.h 第 18 行定义.
|
strong |
|
strong |
|
strong |
| 枚举值 | |
|---|---|
| continue_ | |
| step_in | |
| step_over | |
| step_out | |
在文件 debug_types.h 第 226 行定义.
|
strong |
| 枚举值 | |
|---|---|
| ok | |
| snapshot_busy | |
| capacity_exceeded | |
| permission_denied | |
| task_faulted | |
| debugging_disabled | |
| invalid_source_location | |
| invalid_instruction | |
| invalid_symbol | |
| type_mismatch | |
| watch_plan_frozen | |
| invalid_argument | |
在文件 debug_types.h 第 22 行定义.
|
strong |
| 枚举值 | |
|---|---|
| scan | |
| task | |
| pou | |
| sfc | |
| fb | |
| fault | |
在文件 debug_types.h 第 85 行定义.
|
strong |
| 枚举值 | |
|---|---|
| disabled | |
| enabled | |
在文件 debug_types.h 第 16 行定义.
|
strong |
| 枚举值 | |
|---|---|
| base | |
| sfc_transition | |
| sfc_action | |
在文件 debug_types.h 第 95 行定义.
|
strong |
| 枚举值 | |
|---|---|
| none | |
| breakpoint | |
| step | |
| fault | |
在文件 debug_types.h 第 204 行定义.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| 枚举值 | |
|---|---|
| none | |
| signed_ | |
| unsigned_ | |
在文件 type_desc.h 第 81 行定义.
|
strong |
| 枚举值 | |
|---|---|
| variable | |
| parameter | |
| function_ | |
| function_block | |
| program | |
| type | |
| standard_function | |
| standard_function_block | |
| field | |
| keyword | |
在文件 language.h 第 48 行定义.
|
strong |
在文件 bytecode.h 第 32 行定义.
|
strong |
| 枚举值 | |
|---|---|
| input | |
| output | |
| in_out | |
在文件 binding_manifest.h 第 59 行定义.
|
strong |
| 枚举值 | |
|---|---|
| input | |
| output | |
| memory | |
在文件 bytecode.h 第 157 行定义.
|
strong |
|
strong |
|
strong |
| 枚举值 | |
|---|---|
| step_exit | |
| transition_fire | |
| step_enter | |
| qualifier_update | |
| action_execute | |
在文件 bytecode.h 第 218 行定义.
|
strong |
|
strong |
在文件 bytecode.h 第 344 行定义.
|
strong |
| 枚举值 | |
|---|---|
| ok | |
| invalid_argument | |
| capacity_exceeded | |
| malformed | |
| version_mismatch | |
| fingerprint_mismatch | |
在文件 process_image.h 第 24 行定义.
|
strong |
| 枚举值 | |
|---|---|
| retain | |
| persistent | |
在文件 process_image.h 第 18 行定义.
|
strong |
在文件 standard_functions.h 第 13 行定义.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
在文件 type_desc.h 第 63 行定义.
|
strong |
| 枚举值 | |
|---|---|
| elementary | |
| enum_ | |
| subrange | |
| array | |
| struct_ | |
| string | |
| wstring | |
| date | |
| tod | |
| dt | |
| ref | |
在文件 type_desc.h 第 48 行定义.
|
strong |
|
strong |
|
strong |
|
strong |
|
inlinenoexcept |
在文件 binding_registry.h 第 175 行定义.
|
inlinenoexcept |
在文件 binding_registry.h 第 214 行定义.
|
inline |
在文件 binding_manifest.h 第 309 行定义.
|
inlinenoexcept |
在文件 binding_registry.h 第 184 行定义.
|
constexpr |
在文件 binding_storage.h 第 98 行定义.
|
constexpr |
在文件 binding_storage.h 第 63 行定义.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
在文件 st_binding_types.h 第 420 行定义.
|
inline |
在文件 standard_names.h 第 11 行定义.
|
inline |
在文件 language.h 第 108 行定义.
|
inline |
在文件 language.h 第 103 行定义.
|
inlinenoexcept |
|
constexprnoexcept |
在文件 debug_types.h 第 120 行定义.
|
inline |
在文件 language.h 第 37 行定义.
|
constexpr |
在文件 type_desc.h 第 116 行定义.
在文件 debug_types.h 第 48 行定义.
|
constexprnoexcept |
在文件 debug_types.h 第 111 行定义.
|
inline |
在文件 language.h 第 32 行定义.
|
constexpr |
在文件 type_desc.h 第 109 行定义.
在文件 debug_types.h 第 43 行定义.
|
constexprnoexcept |
|
constexprnoexcept |
|
inline |
|
inline |
在文件 standard_functions.h 第 63 行定义.
|
inlineconstexpr |
在文件 standard_functions.h 第 83 行定义.
|
inlineconstexpr |
在文件 standard_functions.h 第 90 行定义.
|
inlinenoexcept |
在文件 debug_types.h 第 53 行定义.
|
inlineconstexpr |
在文件 standard_functions.h 第 47 行定义.
|
inline |
在文件 standard_functions.h 第 52 行定义.
|
inlineconstexpr |
在文件 standard_functions.h 第 98 行定义.
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
inlineconstexpr |
在文件 type_desc.h 第 20 行定义.
|
inlineconstexpr |
|
inlineconstexpr |
在文件 type_desc.h 第 19 行定义.
|
inlineconstexpr |
在文件 bytecode.h 第 25 行定义.
|
inlineconstexpr |
在文件 bytecode.h 第 26 行定义.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
在文件 debug_types.h 第 254 行定义.
|
inlineconstexpr |
在文件 debug_types.h 第 253 行定义.
|
inlineconstexpr |
在文件 standard_functions.h 第 30 行定义.
|
inlineconstexpr |
|
inlineconstexpr |