kpilot/lib
RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer > Class Template Reference
Inheritance diagram for RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >:

Detailed Description
template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
class RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >
Definition at line 134 of file recordConduit.h.
Public Member Functions | |
RecordConduit (const QString &name, KPilotDeviceLink *o, const char *n, const QStringList a=QStringList()) | |
virtual | ~RecordConduit () |
virtual SyncProgress | loadPC () |
virtual SyncProgress | palmRecToPC () |
virtual SyncProgress | cleanup () |
virtual bool | getAppInfo (unsigned char *buffer, int appLen) |
Protected Attributes | |
HHAppInfo * | fAppInfo |
PCContainer * | fContainer |
Constructor & Destructor Documentation
RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::RecordConduit | ( | const QString & | name, | |
KPilotDeviceLink * | o, | |||
const char * | n, | |||
const QStringList | a = QStringList() | |||
) | [inline] |
Construct a record conduit on a given device link.
- Parameters:
-
name Name presented to user o Connection to HH n Name for QObject a Flags
Definition at line 138 of file recordConduit.h.
Member Function Documentation
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:
- true if the cleanup succeeds.
- See also:
- process
Implements RecordConduitBase.
Definition at line 211 of file recordConduit.h.
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 150 of file recordConduit.h.
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:
- true when there are no more modified records on the Palm
- See also:
- process
Implements RecordConduitBase.
Definition at line 165 of file recordConduit.h.
The documentation for this class was generated from the following file: