RTI Connext Modern C++ API  Version 6.1.1
rti::core::policy::Service Class Reference

<<extension>> Indicates if an Entity is associated with a service and if so, which one. More...

#include <rti/core/policy/CorePolicy.hpp>

Public Member Functions

 Service ()
 Creates the default policy (no service) More...
 
 Service (rti::core::policy::ServiceKind the_kind)
 Creates an instance with the specified service kind. More...
 
Servicekind (const rti::core::policy::ServiceKind the_kind)
 Sets the service kind. More...
 
rti::core::policy::ServiceKind kind () const
 Gets the service kind. More...
 

Static Public Member Functions

static Service NoService ()
 Returns a Service with ServiceKind::NO_SERVICE. More...
 
static Service PersistenceService ()
 Returns a Service with ServiceKind::PERSISTENCE. More...
 
static Service QueuingService ()
 Returns a Service with ServiceKind::QUEUING. More...
 
static Service RoutingService ()
 Returns a Service with ServiceKind::ROUTING. More...
 
static Service RecordingService ()
 Returns a Service with ServiceKind::RECORDING. More...
 
static Service ReplayService ()
 Returns a Service with ServiceKind::REPLAY. More...
 
static Service DatabaseIntegrationService ()
 Returns a Service with ServiceKind::DATABASE_INTEGRATION. More...
 
static Service WebIntegrationService ()
 Returns a Service with ServiceKind::WEB_INTEGRATION. More...
 

Detailed Description

<<extension>> Indicates if an Entity is associated with a service and if so, which one.

This QoS policy is intended to be used by RTI infrastructure services.

User applications should not modify its value.

Entity:
dds::domain::DomainParticipant, dds::sub::DataReader, dds::pub::DataWriter
Properties:
RxO = NO
Changeable = UNTIL ENABLE

Constructor & Destructor Documentation

◆ Service() [1/2]

rti::core::policy::Service::Service ( )
inline

Creates the default policy (no service)

◆ Service() [2/2]

rti::core::policy::Service::Service ( rti::core::policy::ServiceKind  the_kind)
inline

Creates an instance with the specified service kind.

Member Function Documentation

◆ NoService()

static Service rti::core::policy::Service::NoService ( )
inlinestatic

Returns a Service with ServiceKind::NO_SERVICE.

◆ PersistenceService()

static Service rti::core::policy::Service::PersistenceService ( )
inlinestatic

Returns a Service with ServiceKind::PERSISTENCE.

◆ QueuingService()

static Service rti::core::policy::Service::QueuingService ( )
inlinestatic

Returns a Service with ServiceKind::QUEUING.

◆ RoutingService()

static Service rti::core::policy::Service::RoutingService ( )
inlinestatic

Returns a Service with ServiceKind::ROUTING.

◆ RecordingService()

static Service rti::core::policy::Service::RecordingService ( )
inlinestatic

Returns a Service with ServiceKind::RECORDING.

◆ ReplayService()

static Service rti::core::policy::Service::ReplayService ( )
inlinestatic

Returns a Service with ServiceKind::REPLAY.

◆ DatabaseIntegrationService()

static Service rti::core::policy::Service::DatabaseIntegrationService ( )
inlinestatic

Returns a Service with ServiceKind::DATABASE_INTEGRATION.

◆ WebIntegrationService()

static Service rti::core::policy::Service::WebIntegrationService ( )
inlinestatic

Returns a Service with ServiceKind::WEB_INTEGRATION.

◆ kind() [1/2]

Service& rti::core::policy::Service::kind ( const rti::core::policy::ServiceKind  the_kind)

Sets the service kind.

◆ kind() [2/2]

rti::core::policy::ServiceKind rti::core::policy::Service::kind ( ) const

Gets the service kind.