Tango.Tango3DReconstruction.SendEventIfAvailable C# (CSharp) Method

SendEventIfAvailable() private method

Raise ITango3DReconstruction events if there is new data.
private SendEventIfAvailable ( ) : void
return void
        internal void SendEventIfAvailable()
        {
            lock (m_lockObject)
            {
                if (m_updatedIndices.Count != 0)
                {
                    if (m_onGridIndicesDirty != null)
                    {
                        m_onGridIndicesDirty(m_updatedIndices);
                    }

                    m_updatedIndices.Clear();
                }
            }
        }