kpilot/lib

RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer > Class Template Reference

Inheritance diagram for RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >:

RecordConduitBase ConduitAction SyncAction List of all members.

Detailed Description

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
class RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >

Definition at line 141 of file recordConduit.h.


Public Member Functions

 RecordConduit (KPilotDeviceLink *o, const char *n, const QStringList a=QStringList())
virtual ~RecordConduit ()
virtual SyncProgress loadPC ()
virtual SyncProgress palmRecToPC ()
virtual SyncProgress pcRecToPalm ()
virtual SyncProgress cleanup ()

Constructor & Destructor Documentation

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::RecordConduit ( KPilotDeviceLink o,
const char *  n,
const QStringList  a = QStringList() 
) [inline]

Construct a record conduit on a given device link.

Parameters:
o  Connection to HH
n  Name for QObject
a  Flags

Definition at line 145 of file recordConduit.h.


Member Function Documentation

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
virtual SyncProgress RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::loadPC (  )  [inline, virtual]

Function called at the beginning of a sync to load data from the PC.

Returns:
Done when the load has finished.
See also:
process

Implements RecordConduitBase.

Definition at line 156 of file recordConduit.h.

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
virtual SyncProgress RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::palmRecToPC (  )  [inline, virtual]

Function called repeatedly to fetch the next modified entry from the Palm and sync it with the PC by looking up the record, and calling the syncer for it.

Returns:
Dome when there are no more modified records on the Palm
See also:
process()

Implements RecordConduitBase.

Definition at line 161 of file recordConduit.h.

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
virtual SyncProgress RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::pcRecToPalm (  )  [inline, virtual]

Function called repeatedly to fetch the next modified entry from the PC and sync it with the Palm by looking up the record and calling the syncer for it.

Returns:
Done when there are no more modified records on the PC
See also:
process()

Implements RecordConduitBase.

Definition at line 166 of file recordConduit.h.

template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
virtual SyncProgress RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::cleanup (  )  [inline, virtual]

Function called at the end of this conduit's sync, which should reset DB flags and write changed config data out to disk.

Returns:
Done when the cleanup is complete.
See also:
process()

Implements RecordConduitBase.

Definition at line 171 of file recordConduit.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys