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

◆ get_last_input()

std::optional< Core::InputValue > MayaFlux::Nodes::Input::InputNode::get_last_input ( ) const

Get the most recent raw InputValue.

Definition at line 63 of file InputNode.cpp.

64{
65 auto history = m_input_history.snapshot();
66 if (history.empty())
67 return std::nullopt;
68 return history.back();
69}
Memory::LockFreeQueue< Core::InputValue, 64 > m_input_history

References m_input_history.