|
NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
|
Enumerations | |
| enum class | DescriptorType { Read , Write , Error } |
| Possible types of IO descriptors. More... | |
Functions | |
| fd_set | fileDescriptorSet (int fd) |
| Create a set of a single file descriptor to use with select(2). More... | |
| struct timeval * | createTimeout (struct timeval &timeout, int32_t numSeconds=0) |
| Initialize a struct timeval. More... | |
| bool | dataAvailable (int fd, int32_t numSeconds, DescriptorType type=DescriptorType::Read) |
| Obrain whether or not a file descriptor has data available. More... | |
| uint32_t | getClientID (const Memory::uint8Array &message) |
| Obtain Client ID from a transmitted message. More... | |
| Memory::uint8Array | setClientID (uint32_t clientID, Memory::uint8Array &message) |
| Encode client ID into a message. More... | |
| Memory::uint8Array | setClientID (uint32_t clientID, const Memory::uint8Array &message) |
| Encode client ID into a message. More... | |
| Memory::uint8Array | getMessage (const Memory::uint8Array &message) |
| Obtain message portion of transmitted message. More... | |
|
strong |
Possible types of IO descriptors.
| Enumerator | |
|---|---|
| Read | Read file descriptors. |
| Write | Write file descriptors. |
| Error | Error file descriptors. |
Definition at line 59 of file be_process_mcutility.h.
| fd_set BiometricEvaluation::Process::MessageCenterUtility::fileDescriptorSet | ( | int | fd | ) |
Create a set of a single file descriptor to use with select(2).
| fd | File descriptor to add to the set. |
| struct timeval * BiometricEvaluation::Process::MessageCenterUtility::createTimeout | ( | struct timeval & | timeout, |
| int32_t | numSeconds = 0 |
||
| ) |
Initialize a struct timeval.
| timeout | Reference to a struct timeval to populate. |
| numSeconds | Number of seconds before the timeout expires, or < 0 to block indefinitely. |
| bool BiometricEvaluation::Process::MessageCenterUtility::dataAvailable | ( | int | fd, |
| int32_t | numSeconds, | ||
| DescriptorType | type = DescriptorType::Read |
||
| ) |
Obrain whether or not a file descriptor has data available.
| fd | File descriptor to check. |
| numSeconds | Number of seconds to wait, or < 0 to block indefinitely. |
| type | The type of IO to check for. |
| Error::ObjectDoesNotExist | Bad file descriptor (connection closed). |
| Error::StrategyError | Unrecoverable error. |
| uint32_t BiometricEvaluation::Process::MessageCenterUtility::getClientID | ( | const Memory::uint8Array & | message | ) |
Obtain Client ID from a transmitted message.
| message | Transmitted message. |
| Memory::uint8Array BiometricEvaluation::Process::MessageCenterUtility::setClientID | ( | uint32_t | clientID, |
| Memory::uint8Array & | message | ||
| ) |
Encode client ID into a message.
| clientID | Client ID to encode. |
| [in/out] | message Message to send. |
| Memory::uint8Array BiometricEvaluation::Process::MessageCenterUtility::setClientID | ( | uint32_t | clientID, |
| const Memory::uint8Array & | message | ||
| ) |
Encode client ID into a message.
| clientID | Client ID to encode. | |
| [in] | message | Message to send. |
| Memory::uint8Array BiometricEvaluation::Process::MessageCenterUtility::getMessage | ( | const Memory::uint8Array & | message | ) |
Obtain message portion of transmitted message.
| message | Transmitted message. |