A set of functions that simplifies testing of Connext applications.
More...
A set of functions that simplifies testing of Connext applications.
◆ DDSCTestContext_getCurrentAliveWriterCount()
| DDS_Long DDSCTestContext_getCurrentAliveWriterCount |
( |
DDS_DataReader * |
reader | ) |
|
Get the current count of alive writers matched with the given reader.
- Parameters
-
| reader | The reader whose alive writer count we need |
- Returns
- The count of alive writers
◆ DDSCTestContext_waitForReaders()
| DDS_ReturnCode_t DDSCTestContext_waitForReaders |
( |
int |
numReaders, |
|
|
DDS_DataWriter * |
writer, |
|
|
int |
timeoutSecs |
|
) |
| |
Does an active wait until numReaders readers are discovered by writer, or during timeoutSecs until failure.
- Parameters
-
| numReaders | In. The number of readers we expect to discover. |
| writer | In. The DataWriter to monitor. |
| timeoutSecs | In. Time to wait until numReaders readers are discovered, in seconds. |
- Returns
- DDS_RETCODE_OK if numReaders readers are discovered, another return code if something goes wrong or the timeout is reached before all expected readers are discovered.
◆ DDSCTestContext_waitForWriters()
| DDS_ReturnCode_t DDSCTestContext_waitForWriters |
( |
int |
numWriters, |
|
|
DDS_DataReader * |
reader, |
|
|
int |
timeoutSecs |
|
) |
| |
Does an active wait until numWriters writers are discovered by reader, or during timeoutSecs until failure.
- Parameters
-
| numWriters | In. The number of writers we expect to discover. |
| reader | In. The DataReader to monitor. |
| timeoutSecs | In. Time to wait until numWriter writers are discovered, in seconds. |
- Returns
- DDS_RETCODE_OK if numWriters writers are discovered, another return code if something goes wrong or the timeout is reached before all expected writers are discovered.
◆ DDSCTestHelper_detectInterferingParticipants()
| RTIBool DDSCTestHelper_detectInterferingParticipants |
( |
int |
domainId | ) |
|
Creates a participant in an scenario where no participants are expected to detect interferences.
- Parameters
-
| domainId | /b In. The domain ID to be monitored. |