ThinkFingerAgent Class Reference

An interface class between YaST2 and ThinkFinger Agent. More...

#include <ThinkFingerAgent.h>

Inheritance diagram for ThinkFingerAgent:

SCRAgent

List of all members.

Public Member Functions

 ThinkFingerAgent ()
virtual ~ThinkFingerAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &val, const YCPValue &arg=YCPNull())
virtual YCPValue Execute (const YCPPath &path, const YCPValue &val=YCPNull(), const YCPValue &arg=YCPNull())
virtual YCPList Dir (const YCPPath &path)
virtual YCPValue otherCommand (const YCPTerm &term)

Public Attributes

int data_pipe [2]
pid_t child_pid


Detailed Description

An interface class between YaST2 and ThinkFinger Agent.

Constructor & Destructor Documentation

ThinkFingerAgent::ThinkFingerAgent (  ) 

Default constructor.

Constructor

ThinkFingerAgent::~ThinkFingerAgent (  )  [virtual]

Destructor.

Destructor


Member Function Documentation

YCPValue ThinkFingerAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue opt = YCPNull() 
) [virtual]

Provides SCR Read ().

Parameters:
path Path that should be read.
arg Additional parameter.
Read

Implements SCRAgent.

YCPBoolean ThinkFingerAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
) [virtual]

Provides SCR Write ().

Write - nothing to do

Implements SCRAgent.

YCPValue ThinkFingerAgent::Execute ( const YCPPath path,
const YCPValue val = YCPNull(),
const YCPValue arg = YCPNull() 
) [virtual]

Provides SCR Execute ().

Execute(.thinkfinger.add-user) is action to acquire fingerprint

parameter is whole path to target bir file, e.g. /tmp/YaST-123-456/hh.bir

Reimplemented from SCRAgent.

YCPList ThinkFingerAgent::Dir ( const YCPPath path  )  [virtual]

Provides SCR Dir ().

Dir

Implements SCRAgent.

YCPValue ThinkFingerAgent::otherCommand ( const YCPTerm term  )  [virtual]

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.


Member Data Documentation

int ThinkFingerAgent::data_pipe[2]

array with pipe file descriptors

pid_t ThinkFingerAgent::child_pid

pid of the child process after fork


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 20:48:06 2007 for yast2-fingerprint-reader by  doxygen 1.5.3