|
Enrollment 28.2.0
|
IndexedModalitiesGallery configuration. More...
#include <IndexedModalitiesGallery.h>
Public Member Functions | |
| void | SetThreadsCount (unsigned int value) |
| Set number of threads used by gallery. | |
| unsigned int | GetThreadCount () const |
| Get number of processing threads. | |
| void | SetGalleryType (IndexedModalitiesGalleryType value) |
| Set type of Modalities Gallery. | |
| IndexedModalitiesGalleryType | GetGalleryType () const |
| Get type of Modalities Gallery. | |
| void | WriteTo (Writer &writer) const final |
| Function serializes configuration via provided Writer. | |
| IndexedModalitiesGalleryConfig ()=default | |
| Default configuration is. | |
IndexedModalitiesGallery configuration.
|
default |
Default configuration is.
References PRINT_ICS_TEMPLATE.
|
inlinenodiscard |
Get type of Modalities Gallery.
Default type is PRINT_ICS_TEMPLATE.
|
inlinenodiscard |
Get number of processing threads.
|
inline |
Set type of Modalities Gallery.
Default type is PRINT_ICS_TEMPLATE.
| value | from the enum IndexedModalitiesGalleryType |
| EnrollmentInvalidArgumentException | when value is not in range of the enum IndexedModalitiesGalleryType |
References PRINT_EMBEDDING, and PRINT_ICS_TEMPLATE.
Referenced by ModalitiesGalleryConfig::ToIndexedModalitiesGalleryConfig().
|
inline |
Set number of threads used by gallery.
| value | it MUST be greater as 0 |
| EnrollmentInvalidArgumentException | when value is 0 |
Referenced by ModalitiesGalleryConfig::ToIndexedModalitiesGalleryConfig().
|
inlinefinalvirtual |
Function serializes configuration via provided Writer.
| writer | used to serialize Config. |
Implements Serializable.