new WrapperCC(url)
- Description:
Implements a wrapper to C/C++ implemented functions on the server side.
-
This is the client side of a simple client/server C/C++ wrapping mechanism.
-
The interface is used in HTML page, using a construct of the form:
<script type='text/javascript' src='.../aideweb.js'></script> <script type='text/javascript'> var ccWrapper = New WrapperCC("http://localhost:8080/_ccwrapper"); let result = ccWrapper.call(query);
-
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The service URL. |
Methods
call(query, callback)
- Description:
Calls a C/C++ implemented function.
Parameters:
Name | Type | Description |
---|---|---|
query |
string | The function query, a string of the form |
callback |
callback | The callback that handles the returned value.
|