|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
API-facing snapshot of the currently published process image and its runtime health. More...
#include <device_manager.h>
Public Attributes | |
| bool | configured = false |
| Whether an image is currently published for exchange. | |
| uint32_t | outputBytes = 0 |
| Size of the output image (master→slave). | |
| uint32_t | inputBytes = 0 |
| Size of the input image (slave→master). | |
| int | expectedWkc = 0 |
| Working counter expected from the devices currently exchanging. | |
| int | lastWkc = 0 |
| Working counter from the most recent exchange (0 before any). | |
| bool | healthy = false |
| Whether the last working counter meets the expected value. | |
| std::size_t | generations = 0 |
| Number of process images retained since the last reset(). | |
| std::vector< ProcessImageObjectInfo > | outputs |
| Output-mapped objects in image order. | |
| std::vector< ProcessImageObjectInfo > | inputs |
| Input-mapped objects in image order. | |
API-facing snapshot of the currently published process image and its runtime health.
Built on the calling (non-RT) thread by DeviceManager::processImageInfo. When an image is live (configured true) the layout describes it. When no image is published (configured false) but generations have been mapped since the last reset(), the byte sizes and object lists describe the most recent retained generation — the last-known layout — so a bus that has dropped out of SAFE-OP/OP remains inspectable; lastWkc then holds the final exchange value while expectedWkc reflects the now-idle bus. The lists are empty only before any image has ever been mapped.
| bool mm::node::ProcessImageInfo::configured = false |
Whether an image is currently published for exchange.
| int mm::node::ProcessImageInfo::expectedWkc = 0 |
Working counter expected from the devices currently exchanging.
| std::size_t mm::node::ProcessImageInfo::generations = 0 |
Number of process images retained since the last reset().
| bool mm::node::ProcessImageInfo::healthy = false |
Whether the last working counter meets the expected value.
| uint32_t mm::node::ProcessImageInfo::inputBytes = 0 |
Size of the input image (slave→master).
| std::vector<ProcessImageObjectInfo> mm::node::ProcessImageInfo::inputs |
Input-mapped objects in image order.
| int mm::node::ProcessImageInfo::lastWkc = 0 |
Working counter from the most recent exchange (0 before any).
| uint32_t mm::node::ProcessImageInfo::outputBytes = 0 |
Size of the output image (master→slave).
| std::vector<ProcessImageObjectInfo> mm::node::ProcessImageInfo::outputs |
Output-mapped objects in image order.