| class RProperty : public RHandleBase | 
User side interface to Publish & Subscribe.
The class defines a handle to a property, a single data value representing an item of state information. Threads can publish (change) a property value through this handle. Threads can also subscribe (request notification of changes) to a property value through this handle; they can also retrieve the current property value.
| Public Member Functions | |
|---|---|
| IMPORT_C TInt | Attach(TUid, TUint, TOwnerType) | 
| IMPORT_C void | Cancel() | 
| IMPORT_C TInt | Define(TUid, TUint, TInt, TInt) | 
| IMPORT_C TInt | Define(TUid, TUint, TInt, const TSecurityPolicy &, const TSecurityPolicy &, TInt) | 
| IMPORT_C TInt | Define(TUint, TInt, const TSecurityPolicy &, const TSecurityPolicy &, TInt) | 
| IMPORT_C TInt | Delete(TUid, TUint) | 
| IMPORT_C TInt | Delete(TUint) | 
| IMPORT_C TInt | Get(TUid, TUint, TInt &) | 
| IMPORT_C TInt | Get(TUid, TUint, TDes8 &) | 
| IMPORT_C TInt | Get(TUid, TUint, TDes16 &) | 
| IMPORT_C TInt | Get(TInt &) | 
| IMPORT_C TInt | Get(TDes8 &) | 
| IMPORT_C TInt | Get(TDes16 &) | 
| IMPORT_C TInt | Set(TUid, TUint, TInt) | 
| IMPORT_C TInt | Set(TUid, TUint, const TDesC8 &) | 
| IMPORT_C TInt | Set(TUid, TUint, const TDesC16 &) | 
| IMPORT_C TInt | Set(TInt) | 
| IMPORT_C TInt | Set(const TDesC8 &) | 
| IMPORT_C TInt | Set(const TDesC16 &) | 
| IMPORT_C void | Subscribe(TRequestStatus &) | 
| Public Member Enumerations | |
|---|---|
| enum | TType {  EInt, EByteArray, EText = EByteArray, ELargeByteArray, ELargeText = ELargeByteArray, ETypeLimit, ETypeMask = 0xff }  | 
| Inherited Enumerations | |
|---|---|
| RHandleBase:TAttributes | |
| Inherited Attributes | |
|---|---|
| RHandleBase::iHandle | |
| IMPORT_C TInt | Attach | ( | TUid | aCategory, | 
| TUint | aKey, | |||
| TOwnerType | aType = EOwnerProcess | |||
| ) | ||||
| TUid aCategory | |
| TUint aKey | |
| TOwnerType aType = EOwnerProcess | 
| IMPORT_C TInt | Define | ( | TUid | aCategory, | 
| TUint | aKey, | |||
| TInt | aAttr, | |||
| TInt | aPreallocate = 0 | |||
| ) | [static] | |||
| IMPORT_C TInt | Define | ( | TUid | aCategory, | 
| TUint | aKey, | |||
| TInt | aAttr, | |||
| const TSecurityPolicy & | aReadPolicy, | |||
| const TSecurityPolicy & | aWritePolicy, | |||
| TInt | aPreallocated = 0 | |||
| ) | [static] | |||
| TUid aCategory | |
| TUint aKey | |
| TInt aAttr | |
| const TSecurityPolicy & aReadPolicy | |
| const TSecurityPolicy & aWritePolicy | |
| TInt aPreallocated = 0 | 
| IMPORT_C TInt | Define | ( | TUint | aKey, | 
| TInt | aAttr, | |||
| const TSecurityPolicy & | aReadPolicy, | |||
| const TSecurityPolicy & | aWritePolicy, | |||
| TInt | aPreallocated = 0 | |||
| ) | [static] | |||
| TUint aKey | |
| TInt aAttr | |
| const TSecurityPolicy & aReadPolicy | |
| const TSecurityPolicy & aWritePolicy | |
| TInt aPreallocated = 0 | 
| IMPORT_C TInt | Set | ( | TUid | aCategory, | 
| TUint | aKey, | |||
| const TDesC8 & | aValue | |||
| ) | [static] | |||
| IMPORT_C TInt | Set | ( | TUid | aCategory, | 
| TUint | aKey, | |||
| const TDesC16 & | aValue | |||
| ) | [static] | |||
| IMPORT_C void | Subscribe | ( | TRequestStatus & | aRequest | ) | 
| TRequestStatus & aRequest | 
Property type attribute.
| EInt | 
							 Integral property type.  | 
| EByteArray | 
							 Byte-array (binary data) property type. This type provides real-time guarantees but is limited to a maximum size of 512 bytes.  | 
| EText = EByteArray | 
							 Text property type. This is just a programmer friendly view of a byte-array property, and is implemented in the same way as EByteArray.  | 
| ELargeByteArray | 
							 Large byte-array (binary data) property type. This type provides no real-time guarantees but supports properties of up to 65536 bytes.  | 
| ELargeText = ELargeByteArray | 
							 Large text property type. This is just a programmer friendly view of a byte-array property, and is implemented in the same way as EByteArray.  | 
| ETypeLimit | 
							 Upper limit for TType values. It is the maximal legal TType value plus 1.  | 
| ETypeMask = 0xff | 
							 Bitmask for TType values coded within TInt attributes.  |