FPrintAPI Class Reference

#include <FPrintAgent.h>

List of all members.

Public Member Functions

int acquire (int, string)
void finalize ()

Static Public Member Functions

static FPrintAPIinstance ()
static void catch_sigterm (int)

Public Attributes

int test_int
struct fp_print_data * data

Private Member Functions

 FPrintAPI ()
virtual ~FPrintAPI ()


Detailed Description

The real interface to fprint library

Constructor & Destructor Documentation

FPrintAPI::FPrintAPI (  )  [private]

References data.

FPrintAPI::~FPrintAPI (  )  [private, virtual]


Member Function Documentation

FPrintAPI & FPrintAPI::instance (  )  [static]

void FPrintAPI::catch_sigterm ( int  sig_num  )  [static]

References finalize(), and instance().

Referenced by acquire().

int FPrintAPI::acquire ( int  write_fd,
string  dir_path 
)

wrapper for fp_enroll_finger function;

  • we need to take care of the errors and signals
    Parameters:
    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 (  ) 

References data, and instance().

Referenced by acquire(), and catch_sigterm().


Member Data Documentation

struct fp_print_data* FPrintAPI::data [read]

Referenced by acquire(), finalize(), and FPrintAPI().


The documentation for this class was generated from the following files:

Generated on Wed Dec 3 17:40:32 2008 for yast2-fingerprint-reader by  doxygen 1.5.6