PropertyTest
class PropertyTest : public karabo::core::Device
@brief The PropertyTest device includes all types Karabo knows about in it's expected parameter section. It is a test device to assure changes to the framework do not result in broken types.
Functions
| Name | Description |
|---|---|
| orderTest_slotStart | The order test started with this slot works as follows: - 'stringProperty' defines the 'other' PropertyTest device supposed to send messages to us - 'int32Property' defines how many messages it should send - the number of messages and our own id are transferred to the other device - we connect our 'slotCount' to the other's 'signalCount' - we call the other's 'slotStartCount' which will trigger sending messages to us, alternating between direct calls to our 'slotCount' and emitting 'signalCount' with count arguments starting from 0 - we keep track of all counts received and their order (so do not run with billions of counts!) - end of messaging is signaled to us via a call with count = -1 - we publish the number of received messages and those counts (well, up to 1000 only) that are not in order as "orderTest.receivedCounts" and "orderTest.nonConsecutiveCounts", respectively. |
Function Details
orderTest_slotStart
void orderTest_slotStart()
The order test started with this slot works as follows: - 'stringProperty' defines the 'other' PropertyTest device supposed to send messages to us - 'int32Property' defines how many messages it should send - the number of messages and our own id are transferred to the other device - we connect our 'slotCount' to the other's 'signalCount' - we call the other's 'slotStartCount' which will trigger sending messages to us, alternating between direct calls to our 'slotCount' and emitting 'signalCount' with count arguments starting from 0 - we keep track of all counts received and their order (so do not run with billions of counts!) - end of messaging is signaled to us via a call with count = -1 - we publish the number of received messages and those counts (well, up to 1000 only) that are not in order as "orderTest.receivedCounts" and "orderTest.nonConsecutiveCounts", respectively.