|
||
class TIpcArgs;
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 TIpcArgs::Set(TInt,TNothing)
overloaded functions can be used to set argument values into specific slots within this array.
Defined in TIpcArgs
:
ENothing
An enum value that can be used to indicate an empty or unused argument to a serv...Set(TInt,RHandleBase)
Sets an argument value of RHandleBase type.Set(TInt,TDes16 *)
Sets an argument value of TDes16* type.Set(TInt,TDes8 *)
Sets an argument value of TDes8* type.Set(TInt,TInt)
Sets an argument value of TInt type.Set(TInt,TNothing)
Sets an argument to default value and type. Set(TInt,const TAny *)
Sets an argument value of TAny* type.Set(TInt,const TDesC16 *)
Sets an argument value of TDesC16* type.Set(TInt,const TDesC8 *)
Sets an argument value TDesC8* type.TIpcArgs()
Default constructor.TIpcArgs(T0)
A templated constructor that constructs the argument package; it takes 1 argumen...TIpcArgs(T0,T1)
A templated constructor that constructs the argument package; it takes 2 argumen...TIpcArgs(T0,T1,T2)
A templated constructor that constructs the argument package; it takes 3 argumen...TIpcArgs(T0,T1,T2,T3)
A templated constructor that constructs the argument package; it takes 4 argumen...TNothing
Indicates a Null argument.iArgs
The location where the message arguments are stored.iFlags
The location where the flag bits describing the argument types are stored.inline TIpcArgs();
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 TIpcArgs::Set(TInt,TNothing)
member functions.
inline TIpcArgs(T0 a0);
A templated constructor that constructs the argument package; it takes 1 argument.
|
inline TIpcArgs(T0 a0, T1 a1);
A templated constructor that constructs the argument package; it takes 2 arguments.
|
inline TIpcArgs(T0 a0, T1 a1, T2 a2);
A templated constructor that constructs the argument package; it takes 3 arguments.
|
inline TIpcArgs(T0 a0, T1 a1, T2 a2, T3 a3);
A templated constructor that constructs the argument package; it takes 4 arguments.
|
inline void Set(TInt aIndex, TNothing);
Sets an argument to default value and type.
|
inline void Set(TInt aIndex, TInt aValue);
Sets an argument value of TInt type.
|
inline void Set(TInt aIndex, const TAny *aValue);
Sets an argument value of TAny* type.
|
inline void Set(TInt aIndex, RHandleBase aValue);
Sets an argument value of RHandleBase
type.
|
inline void Set(TInt aIndex, const TDesC8 *aValue);
Sets an argument value TDesC8* type.
|
inline void Set(TInt aIndex, const TDesC16 *aValue);
Sets an argument value of TDesC16* type.
|
inline void Set(TInt aIndex, TDes8 *aValue);
Sets an argument value of TDes8* type.
|
inline void Set(TInt aIndex, TDes16 *aValue);
Sets an argument value of TDes16* type.
|
TNothing
Indicates a Null argument.
|
TInt iArgs[KMaxMessageArguments];
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.