py_canoe.core.capl.Capl
The CAPL object allows to compile all nodes (CAPL, .NET, XML) in the configuration. Additionally it represents the CAPL functions available in the CAPL programs. Please note that only user-defined CAPL functions can be accessed.
Source code in src\py_canoe\core\capl.py
16 17 18 | |
compile_result
property
Return the result of the last CAPL compilation as a CompileResult object.
call_capl_function(name, *arguments)
Call a CAPL function by name with the provided arguments. Returns True if the function was called successfully, False otherwise.
Source code in src\py_canoe\core\capl.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
compile(wait_time=5)
Compile all CAPL nodes in the configuration and return the result as a CompileResult object. Optionally, specify a wait time (in seconds) for the compilation to complete.
Source code in src\py_canoe\core\capl.py
25 26 27 28 29 30 31 32 33 34 35 | |
get_function(name)
Get CAPL function object by name. Returns a CaplFunction object if found, or None if not found.
Source code in src\py_canoe\core\capl.py
37 38 39 40 41 42 43 | |