#include <ThinkFingerAgent.h>
Public Member Functions | |
| int | acquire (int, string) |
| void | finalize () |
Static Public Member Functions | |
| static ThinkFingerAPI & | instance () |
| static void | catch_sigterm (int) |
Public Attributes | |
| int | test_int |
| libthinkfinger * | tf |
Private Member Functions | |
| ThinkFingerAPI () | |
| virtual | ~ThinkFingerAPI () |
| ThinkFingerAPI::ThinkFingerAPI | ( | ) | [private] |
References tf.
| ThinkFingerAPI::~ThinkFingerAPI | ( | ) | [private, virtual] |
| ThinkFingerAPI & ThinkFingerAPI::instance | ( | ) | [static] |
Referenced by acquire(), catch_sigterm(), ThinkFingerAgent::Execute(), and finalize().
| void ThinkFingerAPI::catch_sigterm | ( | int | sig_num | ) | [static] |
| int ThinkFingerAPI::acquire | ( | int | write_fd, | |
| string | bir_path | |||
| ) |
wrapper for libthinkfinger_acquire function;
| 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 | ( | ) |
| libthinkfinger* ThinkFingerAPI::tf |
Referenced by acquire(), finalize(), and ThinkFingerAPI().
1.5.5