#include <e32cmn.h>
class TIpcArgs |
Public Attributes | |
---|---|
TInt | iArgs |
TInt | iFlags |
Public Member Enumerations | |
---|---|
enum | anonymous { KBitsPerType, KPinArgShift, KPinArg0, KPinArg1, ..., KPinMask } |
enum | TArgType { EUnspecified, EHandle, EFlagDes, EFlagConst, ..., EDesC16 } |
enum | TNothing { ENothing } |
Public Member Functions | |
---|---|
TIpcArgs() | |
TIpcArgs(T0) | |
TIpcArgs(T0, T1) | |
TIpcArgs(T0, T1, T2) | |
TIpcArgs(T0, T1, T2, T3) | |
TIpcArgs & | PinArgs(TBool, TBool, TBool, TBool) |
void | Set(TInt, TNothing) |
void | Set(TInt, TInt) |
void | Set(TInt, const TAny *) |
void | Set(TInt, RHandleBase) |
void | Set(TInt, const TDesC8 *) |
void | Set(TInt, const TDesC16 *) |
void | Set(TInt, TDes8 *) |
void | Set(TInt, TDes16 *) |
A Version 2 client/server class that clients use to package the arguments to be sent to a server.
The object can package up to 4 arguments together with information about each argument's type, width and accessibility; it is also possible for the package to contain zero arguments. In addition to the default constructor, the class has four templated constructors, allowing an object of this type to be constructed for 0, 1, 2, 3 or 4 arguments.
Internally, the arguments are stored in a simple TInt array. Consecutive arguments in a constructor's parameter list are put into consecutive slots in the array. The Set() overloaded functions can be used to set argument values into specific slots within this array.
TInt | iArgs |
The location where the message arguments are stored.
There is no reason to access this data member directly and it should be considered as internal.
TInt | iFlags |
The location where the flag bits describing the argument types are stored.
The symbolic values describing the argument types are internal to Symbian, and there is therefore no reason to access this data member directly. It should be considered as internal.
Argument types; some of these may be ORed together to specify type, accessibility, and width.
TIpcArgs | ( | ) | [inline] |
Default constructor.
An argument package constructed using this constructor has no arguments; however, arguments can subsequently be set into this argument package object using the Set() member functions.
TIpcArgs | ( | T0 | a0 | ) | [inline, explicit] |
A templated constructor that constructs the argument package; it takes 1 argument.
Parameter | Description |
---|---|
a0 | An argument of general class type T0 to be contained by this object. |
TIpcArgs | ( | T0 | a0, |
T1 | a1 | ||
) | [inline] |
A templated constructor that constructs the argument package; it takes 2 arguments.
Parameter | Description |
---|---|
a0 | An argument of general class type T0 to be contained by this object. |
a1 | An argument of general class type T1 to be contained by this object. |
TIpcArgs | ( | T0 | a0, |
T1 | a1, | ||
T2 | a2 | ||
) | [inline] |
A templated constructor that constructs the argument package; it takes 3 arguments.
Parameter | Description |
---|---|
a0 | An argument of general class type T0 to be contained by this object. |
a1 | An argument of general class type T1 to be contained by this object. |
a2 | An argument of general class type T2 to be contained by this object. |
TIpcArgs | ( | T0 | a0, |
T1 | a1, | ||
T2 | a2, | ||
T3 | a3 | ||
) | [inline] |
A templated constructor that constructs the argument package; it takes 4 arguments.
Parameter | Description |
---|---|
a0 | An argument of general class type T0 to be contained by this object. |
a1 | An argument of general class type T1 to be contained by this object. |
a2 | An argument of general class type T2 to be contained by this object. |
a3 | An argument of general class type T3 to be contained by this object. |
TIpcArgs & | PinArgs | ( | TBool | aPinArg0 = ETrue, |
TBool | aPinArg1 = ETrue, | |||
TBool | aPinArg2 = ETrue, | |||
TBool | aPinArg3 = ETrue | |||
) | [inline] |
Allows the client to specify whether each argument of the TIpcArgs object will be pinned before being sent to the server.
To pin all the arguments in the TIpcArgs object pass no parameters to this method.
Returns: A reference to this TIpcArgs object that can be passed as a parameter to one of the overloads the DSession::Send() and DSession::SendReceive() methods.
void | Set | ( | TInt | aIndex, |
RHandleBase | aValue | |||
) | [inline] |
Sets an argument value of RHandleBase type.
Parameter | Description |
---|---|
aIndex | An index value that identifies the slot in the array of arguments into which the argument value is to be placed. This must be a value in the range 0 to 3. |
aValue | The argument value. |