ThinkFingerAPI Class Reference

#include <ThinkFingerAgent.h>

List of all members.

Public Member Functions

int acquire (int, string)
void finalize ()

Static Public Member Functions

static ThinkFingerAPIinstance ()
static void catch_sigterm (int)

Public Attributes

int test_int
libthinkfinger * tf

Private Member Functions

 ThinkFingerAPI ()
virtual ~ThinkFingerAPI ()


Detailed Description

The real interface to thinkfinger library

Constructor & Destructor Documentation

ThinkFingerAPI::ThinkFingerAPI (  )  [private]

References tf.

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


Member Function Documentation

ThinkFingerAPI & ThinkFingerAPI::instance (  )  [static]

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

References finalize(), and instance().

Referenced by acquire().

int ThinkFingerAPI::acquire ( int  write_fd,
string  bir_path 
)

wrapper for libthinkfinger_acquire function;

  • we need to take care of the errors and signals
    Parameters:
    file descriptor of the pipe
    path to the target bir file

References callback(), catch_sigterm(), finalize(), INIT_FAILED, instance(), SET_CALLBACK_FAILED, SET_FILE_FAILED, tf, s_tfdata::write_fd, y2error, and y2milestone.

Referenced by ThinkFingerAgent::Execute().

void ThinkFingerAPI::finalize (  ) 

References instance(), and tf.

Referenced by acquire(), and catch_sigterm().


Member Data Documentation

libthinkfinger* ThinkFingerAPI::tf

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


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

Generated on Sat Jun 7 04:59:21 2008 for yast2-fingerprint-reader by  doxygen 1.5.5