HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ConcurrentClassifier Class Reference

#include <UT_ConcurrentClassifier.h>

Public Member Functions

 UT_ConcurrentClassifier (int32 size=0)
 
uint32 makeClass (uint32 num_classes=1)
 
uint32 classRoot (uint32 id) const
 
bool areInSameClass (uint32 id1, uint32 id2) const
 
uint32 unionClasses (uint32 id1, uint32 id2)
 
bool try_lock (uint32 &id)
 
void unlock (uint32 id)
 
uint32 unite_index_locked (uint32 id1, uint32 id2) const
 
uint32 unite_unlock (uint32 id1, uint32 id2)
 
uint32 size () const
 
uint32 entries () const
 
uint32 numClasses ()
 

Detailed Description

Definition at line 40 of file UT_ConcurrentClassifier.h.

Constructor & Destructor Documentation

UT_ConcurrentClassifier::UT_ConcurrentClassifier ( int32  size = 0)
inline

Definition at line 43 of file UT_ConcurrentClassifier.h.

Member Function Documentation

bool UT_ConcurrentClassifier::areInSameClass ( uint32  id1,
uint32  id2 
) const
inline

Definition at line 71 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::classRoot ( uint32  id) const
inline

Definition at line 55 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::entries ( ) const
inline

Definition at line 177 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::makeClass ( uint32  num_classes = 1)
inline

Definition at line 46 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::numClasses ( )
inline

Definition at line 179 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::size ( void  ) const
inline

Definition at line 176 of file UT_ConcurrentClassifier.h.

bool UT_ConcurrentClassifier::try_lock ( uint32 id)
inline

Definition at line 124 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::unionClasses ( uint32  id1,
uint32  id2 
)
inline

Definition at line 84 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::unite_index_locked ( uint32  id1,
uint32  id2 
) const
inline

Definition at line 151 of file UT_ConcurrentClassifier.h.

uint32 UT_ConcurrentClassifier::unite_unlock ( uint32  id1,
uint32  id2 
)
inline

Definition at line 160 of file UT_ConcurrentClassifier.h.

void UT_ConcurrentClassifier::unlock ( uint32  id)
inline

Definition at line 142 of file UT_ConcurrentClassifier.h.


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