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

◆ m_snapshot_context_id

std::atomic<uint64_t> MayaFlux::Nodes::Node::m_snapshot_context_id { 0 }
private

Unique identifier for the current snapshot context.

This atomic variable holds the unique identifier of the current snapshot context that has claimed ownership of this node's state. It ensures that only one processing context can perform save/restore operations at a time, preventing nested snapshots and ensuring consistent state management.

Definition at line 610 of file Node.hpp.

610{ 0 };

Referenced by has_active_snapshot(), is_in_snapshot_context(), release_snapshot_context(), and try_claim_snapshot_context().