plcopen 0.22.0
载入中...
搜索中...
未找到
tasking.h 文件参考
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "st/diag.h"
#include "st/lexer.h"
tasking.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

类

struct  plcopen::core::st::ProgramMappingInfo
struct  plcopen::core::st::TaskInfo
struct  plcopen::core::st::ResourceInfo
struct  plcopen::core::st::ConfigurationInfo
struct  plcopen::core::st::TaskingReport
struct  plcopen::core::st::EventSample
struct  plcopen::core::st::TaskStatus
struct  plcopen::core::st::ResourceStatus
struct  plcopen::core::st::TaskRuntimeStorage
struct  plcopen::core::st::ResourceRuntimeStorage
struct  plcopen::core::st::tasking_detail::ParseLimits
class  plcopen::core::st::tasking_detail::DiagnosticSink
class  plcopen::core::st::tasking_detail::TokenCursor

命名空间

namespace  plcopen
namespace  plcopen::core
namespace  plcopen::core::st
namespace  plcopen::core::st::tasking_detail

枚举

enum class  plcopen::core::st::TaskKind : std::uint8_t { plcopen::core::st::periodic = 0 , plcopen::core::st::event }
enum class  plcopen::core::st::TaskState : std::uint8_t { plcopen::core::st::idle = 0 , plcopen::core::st::running , plcopen::core::st::paused , plcopen::core::st::faulted }
enum class  plcopen::core::st::TaskFault : std::uint8_t { plcopen::core::st::none = 0 , plcopen::core::st::task_budget_exceeded , plcopen::core::st::task_wallclock_exceeded , plcopen::core::st::task_runtime_fault }
enum class  plcopen::core::st::TaskFaultElementKind : std::uint8_t { plcopen::core::st::none = 0 , plcopen::core::st::transition , plcopen::core::st::action }
enum class  plcopen::core::st::ResourceFault : std::uint8_t { plcopen::core::st::none = 0 , plcopen::core::st::image_commit_failed }

函数

char plcopen::core::st::tasking_detail::lower_ascii (char value)
std::string plcopen::core::st::tasking_detail::lower_copy (std::string_view value)
bool plcopen::core::st::tasking_detail::same_name (std::string_view lower, const char *value)
bool plcopen::core::st::tasking_detail::token_is (const Token &token, std::string_view lower)
std::size_t plcopen::core::st::tasking_detail::token_offset (std::string_view source, const Token &token)
bool plcopen::core::st::tasking_detail::source_contains_token (std::string_view source, std::string_view lower)
bool plcopen::core::st::tasking_detail::source_contains_call (std::string_view source, std::string_view lower, std::size_t &offset)
bool plcopen::core::st::tasking_detail::has_program_declaration (std::string_view source)
std::string plcopen::core::st::tasking_detail::mask_configuration_blocks (std::string_view source)
Token plcopen::core::st::tasking_detail::source_token (std::string_view source, std::size_t offset)
void plcopen::core::st::tasking_detail::add_diagnostic (std::vector< Diagnostic > &diagnostics, std::size_t capacity, DiagCode code, std::string_view source, std::size_t offset)
bool plcopen::core::st::tasking_detail::identifier (const Token &token)
bool plcopen::core::st::tasking_detail::duplicate_name (const std::string &lower, const std::vector< TaskInfo > &values)
bool plcopen::core::st::tasking_detail::duplicate_name (const std::string &lower, const std::vector< ResourceInfo > &values)
bool plcopen::core::st::tasking_detail::duplicate_name (const std::string &lower, const std::vector< ProgramMappingInfo > &values)
int plcopen::core::st::tasking_detail::find_task (const ResourceInfo &resource, std::string_view lower)
bool plcopen::core::st::tasking_detail::expect (TokenCursor &cursor, std::string_view word, DiagnosticSink &sink)
bool plcopen::core::st::tasking_detail::read_name (TokenCursor &cursor, std::string &name, DiagnosticSink &sink)
bool plcopen::core::st::tasking_detail::read_signed_integer (TokenCursor &cursor, std::int64_t &value)
bool plcopen::core::st::tasking_detail::parse_task (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ResourceInfo &resource, DiagnosticSink &sink)
bool plcopen::core::st::tasking_detail::parse_mapping (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ResourceInfo &resource, DiagnosticSink &sink)
bool plcopen::core::st::tasking_detail::parse_resource (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ConfigurationInfo &configuration, DiagnosticSink &sink)
bool plcopen::core::st::tasking_detail::parse_configurations (std::string_view source, const ParseLimits &limits, std::vector< ConfigurationInfo > &result, std::vector< Diagnostic > &diagnostics)
std::uint64_t plcopen::core::st::tasking_detail::saturated_add (std::uint64_t left, std::uint64_t right) noexcept
std::uint64_t plcopen::core::st::tasking_detail::align_runtime (std::uint64_t value) noexcept

变量

constexpr std::uint32_t plcopen::core::st::invalid_artifact_index