diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-772DFFA1-4BBC-516F-909D-47CB773760F5.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-772DFFA1-4BBC-516F-909D-47CB773760F5.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,31 @@ + + + + + +Packages +as type-safe descriptorsDescribes the package function to transfer data in correct structure. +

Descriptors are often used as the basis of data transfer within Symbian +platform. For example, inter-thread data transfer is specified in terms of +transferring data from a descriptor valid in the context of one thread, to +a descriptor valid in the context of another.

+

Data to be transferred almost always has a well defined structure and it +is important that the receiver of the data has some guarantee that the correct +structure has been passed. This is type safety.

+

A package is a descriptor and also acts as a wrapper around it. +It allows objects and data structures to be represented by descriptors in +a type safe way. Objects are either contained within a modifiable buffer descriptor +or are represented by pointer descriptors.

+

A package class is templated, the template parameter being the type of +the object represented. The use of a template provides the required type safety.

+
+ +Descriptor concepts + +
\ No newline at end of file