kpilot
RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer > Class Template Reference
#include <recordConduit.h>
Public Member Functions | |
virtual SyncProgress | cleanup () |
virtual SyncProgress | loadPC () |
virtual SyncProgress | palmRecToPC () |
virtual SyncProgress | pcRecToPalm () |
RecordConduit (KPilotDeviceLink *o, const char *n, const QStringList a=QStringList()) | |
virtual | ~RecordConduit () |
Detailed Description
template<class PCEntry, class PCContainer, class HHEntry, class HHAppInfo, class Syncer>
class RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >
Definition at line 143 of file recordConduit.h.
Constructor & Destructor Documentation
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 147 of file recordConduit.h.
virtual RecordConduit< PCEntry, PCContainer, HHEntry, HHAppInfo, Syncer >::~RecordConduit | ( | ) | [inline, virtual] |
Definition at line 154 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:
- Done when the cleanup is complete.
- See also:
- process()
Implements RecordConduitBase.
Definition at line 173 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 158 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:
- Dome when there are no more modified records on the Palm
- See also:
- process()
Implements RecordConduitBase.
Definition at line 163 of file recordConduit.h.
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 168 of file recordConduit.h.
The documentation for this class was generated from the following file: