Main object for configuration. More...
#include <boonconfig.h>
Public Member Functions | |
| bool | AddFeature (CFeatureConfig &FC, uint16_t NumInstances=1) |
| Add feature config to overall config. | |
| bool | AddFeature (float MinVal, float MaxVal, uint16_t Weight, const char *Label=nullptr, uint16_t NumInstances=1) |
| Add feature values to overall config. | |
| CNanoConfigParameters (const CNanoConfigParameters &SourceNCP) | |
| Initialize using parameters from given object. | |
| void | CopyFrom (const CNanoConfigParameters &Other) |
| Copy parameters from given object. | |
| void | Display () |
| Print string of the config parameters. | |
| char * | GetErrorMessage () |
| Get last error message. | |
| const CFeatureConfig & | GetFeature (size_t Index) |
| Return feature config at given index. | |
| void | GetFeature (size_t Index, CFeatureConfig &FC) |
| Get feature config at given index. | |
| float | GetNanoClippingPercentage (float *Pattern) |
| Calculate range clipping percentage for the given pattern. | |
| uint64_t | GetNumOfBytesFromNumOfPatterns (uint64_t NumPatterns) const |
| uint64_t | GetNumOfBytesFromNumOfSensorFusionVectors (uint64_t NumVectors) const |
| uint64_t | GetNumOfBytesFromNumOfValues (uint64_t NumValues) const |
| uint16_t | GetNumOfFeatures () const |
| Gets the number of features configured. | |
| uint64_t | GetNumOfPatternsFromNumOfBytes (uint64_t ByteCount) const |
| uint64_t | GetNumOfPatternsFromNumOfSensorFusionVectors (uint64_t SampleCount) const |
| uint64_t | GetNumOfPatternsFromNumOfValues (uint64_t ValueCount) const |
| uint64_t | GetNumOfSensorFusionVectorsFromNumOfBytes (uint64_t ByteCount) const |
| uint64_t | GetNumOfValuesFromNumOfBytes (uint64_t ByteCount) const |
| uint16_t | GetPatternSizeInBytes () const |
| Byte size of complete pattern. | |
| uint16_t | GetPatternSizeInValues () const |
| Length of pattern. | |
| uint64_t | GetPatternStartByteFromPatternIndex (uint64_t PatternIndex) const |
| Pattern index -> pattern start byte. | |
| uint16_t | GetSensorFusionVectorSizeInBytes () const |
| Byte size of one row of data. | |
| std::string | GetStatusString (int CurrentIndent=0, int AdditionalIndent=4) const |
| Print string of object. | |
| uint16_t | GetValueSizeInBytes () const |
| Byte size of a value. | |
| bool | IterateFeatures (uint16_t PatternLength) |
| Loop through features. | |
| void | Reset () |
| Clears object parameters. | |
| bool | Serialize (const char *VarPath, const char *ThisVarName, struct archive *Archive, bool IsLoading) |
| bool | SetParameters (uint16_t NumericFormat, float PercentVariation, uint16_t StreamingWindowSize) |
| Initialize base config values. | |
Public Attributes | |
| std::vector< CFeatureConfig > | m_FeatureConfigArray |
| Array of config objects for each feature. | |
| uint16_t | m_NumericFormat |
| Data type is one of uint16, int16, float32. | |
| float | m_PercentVariation |
| Variation allowed within a cluster. | |
| uint16_t | m_StreamingWindowSize |
| Number of fusion vectors to use in one pattern. | |