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

◆ should_mock_process()

bool MayaFlux::Nodes::Generator::Generator::should_mock_process ( ) const
virtual

Checks if the generator should mock process.

Returns
True if the generator should mock process, false otherwise

Definition at line 16 of file Generator.cpp.

17{
18 return m_state.load() & NodeState::MOCK_PROCESS;
19}
std::atomic< NodeState > m_state
Atomic state flag tracking the node's processing status.
Definition Node.hpp:494
@ MOCK_PROCESS
Node should be processed but output ignored.
Definition NodeSpec.hpp:48

References MayaFlux::Nodes::Node::m_state, and MayaFlux::Nodes::MOCK_PROCESS.