/* | |
* This is a generic physical model containing one single thread, | |
* which runs in mixed execution mode (event dispatch + polling) | |
*/ | |
PhysicalModel GenericPhysicalModel { | |
PhysicalSystem PhysSys1 { | |
NodeRef nodeRef1 : NodeClass1 | |
} | |
NodeClass NodeClass1 { | |
runtime = RuntimeClass1 | |
priomin = -10 | |
priomax = 10 | |
DefaultThread PhysicalThread1 { | |
execmode = mixed | |
interval = 100ms | |
prio = 0 | |
stacksize = 1024 | |
msgblocksize = 64 | |
msgpoolsize = 100 | |
} | |
} | |
RuntimeClass RuntimeClass1 { | |
model = multiThreaded | |
} | |
} |