|
Enrollment 28.2.0
|
ModalitiesGallery configuration. More...
#include <ModalitiesGallery.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 (ModalitiesGalleryType value) |
| Set type of Modalities Gallery. | |
| ModalitiesGalleryType | GetGalleryType () const |
| Get type of Modalities Gallery. | |
| void | WriteTo (Writer &writer) const final |
| Function serializes configuration via provided Writer. | |
| IndexedModalitiesGalleryConfig | ToIndexedModalitiesGalleryConfig () const |
| Function converts configuration to IndexedModalitiesGalleryConfig. | |
| ModalitiesGalleryConfig ()=default | |
| Default configuration is. | |
ModalitiesGallery 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 ModalitiesGalleryType |
| EnrollmentInvalidArgumentException | when value is not in range of the enum ModalitiesGalleryType |
References PRINT_EMBEDDING, and PRINT_ICS_TEMPLATE.
Referenced by ModalitiesGallery::Create().
|
inline |
Set number of threads used by gallery.
| value | it MUST be greater as 0 |
| EnrollmentInvalidArgumentException | when value is 0 |
|
inlinenodiscard |
Function converts configuration to IndexedModalitiesGalleryConfig.
References PRINT_EMBEDDING, PRINT_ICS_TEMPLATE, IndexedModalitiesGalleryConfig::SetGalleryType(), and IndexedModalitiesGalleryConfig::SetThreadsCount().
Referenced by ModalitiesGallery::Create().
|
inlinefinalvirtual |
Function serializes configuration via provided Writer.
| writer | used to serialize Config. |
Implements Serializable.