#include <FPrintAgent.h>
Public Member Functions | |
| int | acquire (int, string) |
| void | finalize () |
Static Public Member Functions | |
| static FPrintAPI & | instance () |
| static void | catch_sigterm (int) |
Public Attributes | |
| int | test_int |
| struct fp_print_data * | data |
Private Member Functions | |
| FPrintAPI () | |
| virtual | ~FPrintAPI () |
| FPrintAPI::FPrintAPI | ( | ) | [private] |
References data.
| FPrintAPI::~FPrintAPI | ( | ) | [private, virtual] |
| FPrintAPI & FPrintAPI::instance | ( | ) | [static] |
Referenced by acquire(), catch_sigterm(), FPrintAgent::Execute(), and finalize().
| void FPrintAPI::catch_sigterm | ( | int | sig_num | ) | [static] |
| int FPrintAPI::acquire | ( | int | write_fd, | |
| string | dir_path | |||
| ) |
wrapper for fp_enroll_finger function;
| file | descriptor of the pipe | |
| path | to the temporary directory for storing fingerprints |
References catch_sigterm(), data, DEVICE_OPEN_FAILED, ENROLL_FAILURE, finalize(), INIT_FAILED, instance(), NO_DEVICES, y2debug, y2error, and y2milestone.
Referenced by FPrintAgent::Execute().
| void FPrintAPI::finalize | ( | ) |
struct fp_print_data* FPrintAPI::data [read] |
Referenced by acquire(), finalize(), and FPrintAPI().
1.5.6