plcopen 0.22.0
载入中...
搜索中...
未找到
binding_storage.h
浏览该文件的文档.
1#pragma once
2
3#include <array>
4#include <cstddef>
5#include <cstdint>
6
7#include "axis/group.h"
8#include "axis/state.h"
9#include "exec/sync.h"
10#include "fb/io.h"
11#include "fb/path_table.h"
12#include "st/binding.h"
13#include "st/types.h"
14
15namespace plcopen::core::st
16{
17
34
36{
37 std::array<axis::ProfileSegment, kMaxProfileSegments> segments{};
38 std::size_t count = 0;
39};
40
42 std::array<axis::AxisModel *, kMaxAxisBindings>;
44 std::array<axis::AxisGroup *, kMaxGroupBindings>;
45using PathTableStorage = std::array<fb::PathTable *, kMaxTableBindings>;
47 std::array<fb::PathDescription, kMaxTableBindings>;
49 std::array<fb::CamSwitchTableView, kMaxTableBindings>;
51 std::array<fb::CamSwitchOutputsView, kMaxTableBindings>;
53 std::array<fb::CamTrackOptionsView, kMaxTableBindings>;
55 std::array<exec::CamTableView, kMaxTableBindings>;
57 std::array<BindingProfileSlot, kMaxTableBindings>;
61 std::array<axis::KinTransformRef, kMaxTableBindings>;
62
97
125
126} // namespace plcopen::core::st
std::array< exec::CamTableView, kMaxTableBindings > CamTableStorage
std::uint32_t TypeId
std::array< axis::AxisGroup *, kMaxGroupBindings > GroupTargetStorage
constexpr BindingStorageKind binding_storage_kind(Type type, TypeId type_id)
std::array< fb::PathDescription, kMaxTableBindings > PathDescriptionStorage
std::array< axis::AxisModel *, kMaxAxisBindings > AxisTargetStorage
std::array< fb::CamSwitchOutputsView, kMaxTableBindings > CamSwitchOutputStorage
PositionProfileStorage AccelerationProfileStorage
PositionProfileStorage VelocityProfileStorage
std::array< BindingProfileSlot, kMaxTableBindings > PositionProfileStorage
constexpr TypeId type_id(Type type)
定义 types.h:52
std::array< fb::PathTable *, kMaxTableBindings > PathTableStorage
std::array< axis::KinTransformRef, kMaxTableBindings > KinTransformStorage
constexpr std::size_t binding_storage_bytes(BindingStorageKind kind)
std::array< fb::CamTrackOptionsView, kMaxTableBindings > CamTrackOptionStorage
std::array< fb::CamSwitchTableView, kMaxTableBindings > CamSwitchTableStorage
std::array< axis::ProfileSegment, kMaxProfileSegments > segments