diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-552530EB-1287-542D-AED3-125387B485C1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-552530EB-1287-542D-AED3-125387B485C1.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,59 @@ + + + + + +ArchitectureDescribes the architecture of the Digitizer Driver. +

The architecture has two layers:

+ + + + +

A platform-independent layer that:

+
    +
  • processes digitiser +samples

  • +
  • issues pen movement +events to the kernel

  • +
  • maintains a buffer of +digitiser readings

  • +

This layer implements behaviour that can be expected to be the same +across all platforms.

Symbian provides this.

+
+ +

A platform specific layer that is responsible for:

+
    +
  • the conversion between +screen and digitiser coordinates

  • +
  • the implementation of +low level calibration

  • +
  • the gathering of raw +digitiser data samples

  • +
  • power management.

  • +

This layer implements behaviour that can vary between platforms and +therefore needs to be implemented by the port.

The bulk of the effort +here is the definition and implementation of a class derived from the Symbian +defined DDigitiser class; the derived class implements +the pure virtual functions defined by DDigitiser.

You +provide this.

+
+ + +
+

The template port provides a framework for implementing the platform specific +part of the digitiser. The diagram below shows the overall relationship:

+ + + +

The standard Symbian platform ports all follow the same general pattern, +including the H2. However, the H2 board implementation has two levels in its +platform specific layer (an ASSP and a variant layer) and uses different source +file names (e.g. digitizer.cpp), but, nevertheless, the +same general pattern applies.

+
\ No newline at end of file