node¶
[SCDDS - Simulink Control Development & Deployment Suite] Copyright SPC-EPFL Lausanne 2022. Distributed under the terms of the GNU Lesser General Public License, LGPL-3.0-only.
Class hierarchy: component¶
- class SCDDSclass_node¶
Bases:
SCDDSclass_componentnode class containing wrappers or algos
- Constructor Summary
- SCDDSclass_node(nodenr)¶
constructor
- Property Summary
- active¶
not active by default
- buildable¶
- buildcfg¶
- cpuactive¶
- cputype¶
- hasadc¶
has adc source
- hasextsource¶
has external source (from other nodes)
- haswavegen¶
has wavegen source
- ncpu¶
number of CPUs
- nodenr¶
- type¶
- wrappers¶
info about thread wrappers contained in this node
- Method Summary
- addwrapper(wrapperObj, cpunr, varalgo, isactive)¶
add wrapper to a node at a given cpunumber varalgo is the variant subsystem number used to select this wrapper isactive (true by default) sets whether the addition of the wrapper also sets the cpu to be active;
- build(cpunr)¶
- getbuildcfgset(cpunr)¶
- getcpuactive()¶
- getncpu()¶
- getwrapper(icpu)¶
- printinfo()¶
print wrapper and algo info
- setactive(value)¶
set the node to be active
- updatetemplatetp()¶
update wrapper algos