RTI Connext Modern C++ API  Version 7.0.0
rti::core::ThreadSettingsKindMask Class Reference

<<extension>> A collection of flags used to configure threads of execution More...

#include <rti/core/ThreadSettings.hpp>

Inherits bitset< 4 >.

Public Types

typedef std::bitset< 4 > MaskType
 The base type, a std::bitset. More...
 

Public Member Functions

 ThreadSettingsKindMask ()
 The dfault thread settings mask. More...
 
 ThreadSettingsKindMask (uint64_t mask)
 Create from the bits in an integer. More...
 
 ThreadSettingsKindMask (const MaskType &mask)
 Create from a std::bitset. More...
 

Static Public Member Functions

static const ThreadSettingsKindMask floating_point ()
 Code executed within the thread may perform floating point operations. More...
 
static const ThreadSettingsKindMask stdio ()
 Code executed within the thread may access standard I/O. More...
 
static const ThreadSettingsKindMask realtime_priority ()
 The thread will be scheduled on a FIFO basis. More...
 
static const ThreadSettingsKindMask priority_enforce ()
 Strictly enforce this thread's priority. More...
 
static const ThreadSettingsKindMask cancel_asynchronous ()
 Allows the thread to be cancelled without first reaching a cancellable state or cancellation point. More...
 

Detailed Description

<<extension>> A collection of flags used to configure threads of execution

Not all of these options may be relevant for all operating systems. Consult Platform Notes for additional details.

Member Typedef Documentation

◆ MaskType

The base type, a std::bitset.

Constructor & Destructor Documentation

◆ ThreadSettingsKindMask() [1/3]

rti::core::ThreadSettingsKindMask::ThreadSettingsKindMask ( )
inline

The dfault thread settings mask.

◆ ThreadSettingsKindMask() [2/3]

rti::core::ThreadSettingsKindMask::ThreadSettingsKindMask ( uint64_t  mask)
inlineexplicit

Create from the bits in an integer.

◆ ThreadSettingsKindMask() [3/3]

rti::core::ThreadSettingsKindMask::ThreadSettingsKindMask ( const MaskType mask)
inline

Create from a std::bitset.

Member Function Documentation

◆ floating_point()

static const ThreadSettingsKindMask rti::core::ThreadSettingsKindMask::floating_point ( )
inlinestatic

Code executed within the thread may perform floating point operations.

Currently applicable only for VxWorks platforms, where user callbacks use floating-point operations.

◆ stdio()

static const ThreadSettingsKindMask rti::core::ThreadSettingsKindMask::stdio ( )
inlinestatic

Code executed within the thread may access standard I/O.

Currently applicable only for VxWorks platforms, where user callbacks do standard I/O operations.

◆ realtime_priority()

static const ThreadSettingsKindMask rti::core::ThreadSettingsKindMask::realtime_priority ( )
inlinestatic

The thread will be scheduled on a FIFO basis.

◆ priority_enforce()

static const ThreadSettingsKindMask rti::core::ThreadSettingsKindMask::priority_enforce ( )
inlinestatic

Strictly enforce this thread's priority.

◆ cancel_asynchronous()

static const ThreadSettingsKindMask rti::core::ThreadSettingsKindMask::cancel_asynchronous ( )
inlinestatic

Allows the thread to be cancelled without first reaching a cancellable state or cancellation point.