ldas-tools-al  2.6.5
Public Member Functions | Public Attributes | List of all members
ObjectRegistry< T >::StateInfo Struct Reference

State information for registered object. More...

Public Member Functions

 StateInfo ()
 Constructor (Default) More...
 
 StateInfo ()
 Constructor (Default) More...
 
 StateInfo ()
 Constructor (Default) More...
 

Public Attributes

INT_2U m_reference_count
 Counter of active tasks referencing the object. More...
 
bool m_delete_object
 State of object deletion. More...
 
bool m_remove_object
 State of object in registry. More...
 

Detailed Description

template<class T>
struct ObjectRegistry< T >::StateInfo

State information for registered object.

Keep track of requests that have been made concearning a resource.

Constructor & Destructor Documentation

◆ StateInfo() [1/3]

template<class T>
ObjectRegistry< T >::StateInfo::StateInfo ( )
inline

Constructor (Default)

Explicately initializes member of the structure.

◆ StateInfo() [2/3]

template<class T>
ObjectRegistry< T >::StateInfo::StateInfo ( )
inline

Constructor (Default)

Explicately initializes member of the structure.

◆ StateInfo() [3/3]

template<class T>
ObjectRegistry< T >::StateInfo::StateInfo ( )
inline

Constructor (Default)

Explicately initializes member of the structure.

Member Data Documentation

◆ m_delete_object

template<class T>
bool ObjectRegistry< T >::StateInfo::m_delete_object

State of object deletion.

If m_delete_object is true, then the object has been requested to be deleted once m_reference_count is 0; false otherwise.

◆ m_reference_count

template<class T>
INT_2U ObjectRegistry< T >::StateInfo::m_reference_count

Counter of active tasks referencing the object.

In the usual situation, there is zero or one task using the object. The object is considered to be in use when a function call is either reading or writing the contents of the object.

◆ m_remove_object

template<class T>
bool ObjectRegistry< T >::StateInfo::m_remove_object

State of object in registry.

If m_remove_object is true, then the object has been requested to be removed once m_reference_count is 0; false otherwise.


The documentation for this struct was generated from the following file: