Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SbThreadStorage< bool > Class Reference

VSG extension Template class specialization for bool type instance thread Local Storage. More...

#include <Inventor/threads/SbThreadStorage.h>

+ Inheritance diagram for SbThreadStorage< bool >:

Public Member Functions

virtual ~SbThreadStorage ()
 Destructor.
 
SbThreadStorage< bool > & operator<<= (bool t)
 Override default <<= operator Set the specified value for the current thread.
 
SbThreadStorage< bool > & operator>>= (bool t)
 Override default >>= operator Set the specified value for all threads.
 
 operator bool () const
 Redefine operator bool to return the value itself.
 

Detailed Description

VSG extension Template class specialization for bool type instance thread Local Storage.

This class provides a way to declare a class member of type bool as a thread Specific variables.

Definition at line 177 of file SbThreadStorage.h.

Constructor & Destructor Documentation

◆ ~SbThreadStorage()

virtual SbThreadStorage< bool >::~SbThreadStorage ( )
inlinevirtual

Destructor.

Definition at line 167 of file SbThreadStorage.h.

Member Function Documentation

◆ operator bool()

SbThreadStorage< bool >::operator bool ( ) const
inline

Redefine operator bool to return the value itself.

Definition at line 210 of file SbThreadStorage.h.

◆ operator<<=()

SbThreadStorage< bool > & SbThreadStorage< bool >::operator<<= ( bool  t)
inline

Override default <<= operator Set the specified value for the current thread.

Definition at line 167 of file SbThreadStorage.h.

◆ operator>>=()

SbThreadStorage< bool > & SbThreadStorage< bool >::operator>>= ( bool  t)
inline

Override default >>= operator Set the specified value for all threads.

Definition at line 199 of file SbThreadStorage.h.


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