|
Motion Master 6.0.0-alpha.111
Next-generation motion control software
|
One of a fixed number of slots for a frame on the wire. Released when destroyed. More...
#include <control_plane_locks.h>
Public Member Functions | |
| FrameSlot (std::counting_semaphore<> &slots) | |
| ~FrameSlot () | |
| FrameSlot (FrameSlot &&other) noexcept | |
| FrameSlot (const FrameSlot &)=delete | |
| FrameSlot & | operator= (const FrameSlot &)=delete |
| FrameSlot & | operator= (FrameSlot &&)=delete |
One of a fixed number of slots for a frame on the wire. Released when destroyed.
SOEM has a fixed number of frame indexes (EC_MAXBUF), shared by every thread that sends a frame. When none is free, ecx_getindex hands out one that is still in use, and two frames then share it. Each holder of a slot sends one frame at a time, so the slots bound how many frames the control plane has on the wire.
|
explicit |
| mm::comm::FrameSlot::~FrameSlot | ( | ) |
|
noexcept |
|
delete |