ExampleBase.hpp
173 thread threads[THREAD_COUNT];
Encapsulates a value returned an instance of ResultsBase for a specified property.
Definition: Value.hpp:74
static const char * uachPlatform
Example UACH Platform value.
Definition: ExampleBase.hpp:107
State for a single thread carrying out processing in order to store a hash of the results.
Definition: ExampleBase.hpp:181
fiftyoneDegreesStatusCode
Status returned from the initialisation of a resource.
Definition: status.h:77
RequiredPropertiesConfig * properties
Properties to initialise the Engine with.
Definition: ExampleBase.hpp:230
static const char * uachPlatformVersion
Example UACH Platform Version value.
Definition: ExampleBase.hpp:110
T getValue()
Gets the value contained in the Value instance.
Definition: Value.hpp:129
int getAvailableProperties() const
Get the number of available properties contained in the Results instance.
Encapsulates the results of a Hash device detection engine's processing.
Definition: ResultsHash.hpp:64
Encapsulates the Hash engine class which implements EngineDeviceDetection.
Definition: EngineHash.hpp:94
Hash Device Detection specific classes.
Definition: ComponentMetaDataBuilderHash.hpp:35
static unsigned long getHashCode(DeviceDetection::Hash::ResultsHash *results)
Get the hash code for all the values stored in the results instance.
Definition: ExampleBase.hpp:201
static const char * desktopUserAgent
Example desktop User-Agent string.
Definition: ExampleBase.hpp:104
C++ class wrapper for the fiftyoneDegreesConfigHash configuration structure.
Definition: ConfigHash.hpp:72
Value< string > getValueAsString(const char *propertyName)
Get a string representation of the value associated with the required property name.
bool hasValue()
Indicates whether or not a valid value has been returned by the ResultsBase instance.
Definition: Value.hpp:100
C++ class wrapper for the fiftyoneDegreesPropertiesRequired structure.
Definition: RequiredPropertiesConfig.hpp:58
DeviceDetection::Hash::ConfigHash * config
Configuration for the Engine.
Definition: ExampleBase.hpp:228
static const char * mobileUserAgent
Example mobile User-Agent string.
Definition: ExampleBase.hpp:101
Base class extended by all Hash examples.
Definition: ExampleBase.hpp:58
static const char * mediaHubUserAgent
Example media hub User-Agent string.
Definition: ExampleBase.hpp:113
Device Detection specific classes.
Definition: ComponentMetaDataBuilderHash.hpp:34
EngineHash * engine
Hash Engine used for the example.
Definition: ExampleBase.hpp:232
int hashCode
Running hash code for the processing being carried out.
Definition: ExampleBase.hpp:190
EngineHash * engine
Pointer to the engine.
Definition: ExampleBase.hpp:189