Functions | |
OPENDAQ_DECLARE_CLASS_FACTORY (LIBRARY_FACTORY, CallableInfo, IList *, argumentInfo, CoreType, returnType, Bool, constFlag) | |
Creates a CallableInfo object with the specified arguments and return type. More... | |
CallableInfoPtr | FunctionInfo (CoreType returnType, ListPtr< IArgumentInfo > arguments=nullptr, Bool isConst=false) |
Creates a CallableInfo object that describes a function-type callable with the specified arguments and return type. More... | |
CallableInfoPtr | ProcedureInfo (ListPtr< IArgumentInfo > arguments=nullptr, Bool isConst=false) |
Creates a CallableInfo object that describes a procedure-type callable with the specified arguments. More... | |
StructTypePtr | CallableInfoStructType () |
Creates the Struct type object that defines the Callable info struct. | |
|
inline |
Creates a CallableInfo object that describes a function-type callable with the specified arguments and return type.
returnType | The return type of the described function callable object. |
arguments | The list of IArgumentInfo type argument information. |
isConst | Flag indicating if the function is marked as const. A const function promises not to modify the state of the device or any other objects under the openDAQ instance. |
OPENDAQ_DECLARE_CLASS_FACTORY | ( | LIBRARY_FACTORY | , |
CallableInfo | , | ||
IList * | , | ||
argumentInfo | , | ||
CoreType | , | ||
returnType | , | ||
Bool | , | ||
constFlag | |||
) |
Creates a CallableInfo object with the specified arguments and return type.
argumentInfo | The list of ArgumentInfo type argument information. |
returnType | The return type of the described callable object. |
constFlag | A flag indicating if the function is marked as const or not. A const function promises not to modify the state of the device or any other objects under the openDAQ instance. |
|
inline |
Creates a CallableInfo object that describes a procedure-type callable with the specified arguments.
arguments | The list of IArgumentInfo type argument information. |
isConst | Flag indicating if the function is marked as const. A const function promises not to modify the state of the device or any other objects under the openDAQ instance. |