Skip to content

Commit 19e9786

Browse files
committed
fix examples
1 parent 6248dcf commit 19e9786

File tree

183 files changed

+11774
-689
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+11774
-689
lines changed

Examples/Calculator/Calculator.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
</errors>
2929

3030
<class name="Base">
31+
<method name="ClassTypeId" description="Get Class Type Id">
32+
<param name="ClassTypeId" type="uint64" pass="return"
33+
description="Class type as a 64 bits integer" />
34+
</method>
3135
</class>
3236

3337
<class name="Variable" parent="Base" description="A variable number">
@@ -61,7 +65,7 @@
6165
</method>
6266
</class>
6367

64-
<global baseclassname="Base" releasemethod="ReleaseInstance" acquiremethod="AcquireInstance" versionmethod="GetVersion" errormethod="GetLastError">
68+
<global baseclassname="Base" releasemethod="ReleaseInstance" acquiremethod="AcquireInstance" versionmethod="GetVersion" errormethod="GetLastError" classtypeidmethod="ClassTypeId">
6569

6670
<method name="GetVersion" description = "retrieves the binary version of this library.">
6771
<param name="Major" type="uint32" pass="out" description="returns the major version of this library" />

Examples/Calculator/Calculator_component/Bindings/CppDynamic/calculator_dynamic.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright (C) 2019 Calculator developers
44
55
All rights reserved.
66
7-
This file has been generated by the Automatic Component Toolkit (ACT) version 1.6.0.
7+
This file has been generated by the Automatic Component Toolkit (ACT) version 1.8.0-develop.
88
99
Abstract: This is an autogenerated C++-Header file in order to allow an easy
1010
use of Calculator library
@@ -24,6 +24,15 @@ Interface version: 1.0.0
2424
Class definition for Base
2525
**************************************************************************************************************************/
2626

27+
/**
28+
* Get Class Type Id
29+
*
30+
* @param[in] pBase - Base instance.
31+
* @param[out] pClassTypeId - Class type as a 64 bits integer
32+
* @return error code or 0 (success)
33+
*/
34+
typedef CalculatorResult (*PCalculatorBase_ClassTypeIdPtr) (Calculator_Base pBase, Calculator_uint64 * pClassTypeId);
35+
2736
/*************************************************************************************************************************
2837
Class definition for Variable
2938
**************************************************************************************************************************/
@@ -160,6 +169,7 @@ typedef CalculatorResult (*PCalculatorCreateCalculatorPtr) (Calculator_Calculato
160169

161170
typedef struct {
162171
void * m_LibraryHandle;
172+
PCalculatorBase_ClassTypeIdPtr m_Base_ClassTypeId;
163173
PCalculatorVariable_GetValuePtr m_Variable_GetValue;
164174
PCalculatorVariable_SetValuePtr m_Variable_SetValue;
165175
PCalculatorCalculator_EnlistVariablePtr m_Calculator_EnlistVariable;

0 commit comments

Comments
 (0)