ILS_RP_GLOBAL_FUNCTION
 
ILS_RP_GLOBAL_FUNCTION
Category 
Dynamic view-related macros
Description 
These macros declare global functions of the component as being usable in callbacks invoked from a dynamic view server (see class IlsMvEndPoint).
These macros MUST NOT be enclosed between the following pairs of macros:
*ILS_OBJECT_BEGIN/ILS_OBJECT_END
*ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END
or their derivatives.
Header File 
#include <ilserver/rpmoditp.h>
Synopsis 
ILS_RP_GLOBAL_FUNCTION0(resType,funNm)
ILS_RP_GLOBAL_FUNCTION1(resType,funNm,param1Type)
ILS_RP_GLOBAL_FUNCTION2(resType,funNm,param1Type,param2Type)
ILS_RP_GLOBAL_FUNCTION3
(resType,funNm,param1Type,param2Type,param3Type)
ILS_RP_GLOBAL_FUNCTION4
(resType,funNm,param1Type,param2Type,param3Type,param4Type)
ILS_RP_GLOBAL_FUNCTION5
(resType,funNm,param1Type,param2Type,param3Type,
param4Type,param5Type)
ILS_RP_GLOBAL_FUNCTION6
(resType,funNm,param1Type,param2Type,
param3Type,param4Type,param5Type,param6Type)
Arguments 
These macros take the following arguments, in this order:
*the type of the value returned by the function,
*the function name
*the types of the function parameters.
All the global runtime functions must have a unique name. The result and parameters of a global function can be of the following types:
*char
*char*
*IlsString
*IlsBoolean
*short
*int
*long
*float
*double
*any type derived from IlsMvUserType.
Such functions cannot have a result of type void.
See Also 
IlsMvEndPoint, ILS_OBJECT_BEGIN/ILS_OBJECT_END, ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.