RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.Service Class Reference

Identifies the Connext DDS Service that created an Entity, if any. More...

Inherits IEquatable< Service >.

Public Member Functions

 Service (ServiceKind kind)
 Creates a new Service More...
 
Service With (Action< ServiceBuilder > build)
 Creates a new Service with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (Service other)
 Compares for equality More...
 

Properties

ServiceKind Kind [get]
 The kind of service. More...
 
static Service Default [get]
 Singleton containing the default value of a Service More...
 

Detailed Description

Identifies the Connext DDS Service that created an Entity, if any.

Constructor & Destructor Documentation

◆ Service()

Rti.Dds.Core.Policy.Service.Service ( ServiceKind  kind)

Creates a new Service

Parameters
kindThe value for Kind

Member Function Documentation

◆ With()

Service Rti.Dds.Core.Policy.Service.With ( Action< ServiceBuilder build)
inline

Creates a new Service with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this Service.
Returns
A new Service with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.Service.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.Service.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.Service.Equals ( Service  other)
inline

Compares for equality

Property Documentation

◆ Kind

ServiceKind Rti.Dds.Core.Policy.Service.Kind
get

The kind of service.

The full documentation is available in the C API: DDS_ServiceQosPolicy_kind

◆ Default

Service Rti.Dds.Core.Policy.Service.Default
staticget

Singleton containing the default value of a Service