MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_pending()

bool MayaFlux::Core::SerialDevice::is_pending ( const std::shared_ptr< Pending > & request) const
nodiscardprivate

Definition at line 232 of file SerialDevice.cpp.

233{
234 const auto held = m_pending.read();
235 return held && *held == request;
236}
Memory::SnapshotCell< std::shared_ptr< Pending > > m_pending
bool request(std::span< const uint8_t > command, ReplyMatcher matcher, std::chrono::milliseconds timeout, ReplyCallback done)
Send a command and wait for its reply.

References is_pending(), m_pending, and request().

Referenced by is_pending().

Here is the call graph for this function:
Here is the caller graph for this function: