RTC Toolkit 6.0.0
Loading...
Searching...
No Matches

MUDPI test publisher. More...

Files

file  main.cpp
 MUDPI Publisher.
 
file  rtms.h
 MUDPI Publisher.
 

Functions

int main (int argc, char **argv)
 Application entry-point.
 

Detailed Description

MUDPI test publisher.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Application entry-point.

Announce the amount of data we are sending

Either read sample values from a file or generate a ramp if no file is given

Fill in some fixed values for MUDPI constant fields

Create the shm seg where we coordinate instances

terminate on signal

If waiting for a trigger process, them wait, otherwise signal

If the rollingRamp flag is set then update the ramp for this sample_id if not coming from a file

Fill in some of the more interesting MUDPI fields

fill in this frame of data from the relevant part of the sample

move to the next sample and wrap around if needed