read_next_sample take_next_sample SampleInfo

2 posts / 0 new
Last post
Offline
Last seen: 6 months 3 weeks ago
Joined: 10/23/2013
Posts: 43
Proper use of take_next_sample() and SampleInfo

I have an application that uses read_next_sample()/take_next_sample().   What is the proper way for the application to determine if a valid sample has been read/taken.  Does return value of DDS_RETURN_OK indicate a valid sample?  Or must SampleInfo.valid_data also be checked before using the sample data?

Organization:
Subscribe to RSS - read_next_sample take_next_sample SampleInfo