NDDSUtility Class Reference
[Unsupported Utilities]

Unsupported utility APIs. More...

List of all members.

Static Public Member Functions

static void sleep (const struct DDS_Duration_t &durationIn)
 Block the calling thread for the specified duration.

Detailed Description

Unsupported utility APIs.

Unsupported APIs used in example code. The static methods supplied by this class are used by the example code distributed with RTI Connext and generated by nddsgen. These methods are not supported by RTI.

Member Function Documentation

static void NDDSUtility::sleep ( const struct DDS_Duration_t durationIn  )  [static]

Block the calling thread for the specified duration.

Note that the achievable resolution of sleep is OS-dependent. That is, do not assume that you can sleep for 1 nanosecond just because you can specify a 1-nanosecond sleep duration via the API. The sleep resolution on most operating systems is usually 10 ms or greater.

durationIn <<in>> Sleep duration.
MT Safety:
HelloWorld_publisher.cxx, and HelloWorld_subscriber.cxx.

RTI Connext C++ API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc