Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
mm::comm::DriveLock Struct Reference

The bus lock held shared, the lock of one drive, and a frame slot. More...

#include <control_plane_locks.h>

Collaboration diagram for mm::comm::DriveLock:
[legend]

Public Attributes

std::shared_lock< BusLock > bus
 
std::unique_lock< std::mutex > drive
 
FrameSlot frame
 

Detailed Description

The bus lock held shared, the lock of one drive, and a frame slot.

The members release in reverse order, so the frame slot goes first and the bus lock last.

Member Data Documentation

◆ bus

std::shared_lock<BusLock> mm::comm::DriveLock::bus

◆ drive

std::unique_lock<std::mutex> mm::comm::DriveLock::drive

◆ frame

FrameSlot mm::comm::DriveLock::frame

The documentation for this struct was generated from the following file: