51Degrees Device Detection C/C++  4.1

A device detection library that is used natively or by 51Degrees products

FiftyoneDegrees::Examples::Hash::ExampleBase::ThreadState Class Reference

Detailed Description

State for a single thread carrying out processing in order to store a hash of the results.

Collaboration diagram for FiftyoneDegrees::Examples::Hash::ExampleBase::ThreadState:

[legend]

Public Member Functions

 ThreadState (EngineHash *engine)
Construct a new thread state instance. More...

Data Fields

EngineHash *  engine
Pointer to the engine.
int  hashCode
Running hash code for the processing being carried out. More...

Constructor & Destructor Documentation

◆ ThreadState()

FiftyoneDegrees::Examples::Hash::ExampleBase::ThreadState::ThreadState ( EngineHash *   engine )

Construct a new thread state instance.

Parameters
engine - pointer to the engine the thread should use

Field Documentation

◆ hashCode

int FiftyoneDegrees::Examples::Hash::ExampleBase::ThreadState::hashCode

Running hash code for the processing being carried out.

This is used to verify the work carried out


The documentation for this class was generated from the following file:
  • /home/vsts/work/1/s/apis/device-detection-cxx/examples/CPP/Hash/ExampleBase.hpp