OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy > Class Template Referenceabstract
Inheritance diagram for org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >:
Collaboration graph

Public Member Functions

 EntityQosImpl (OsplServiceEnvironment environment, Collection< T > policies)
 
 EntityQosImpl (OsplServiceEnvironment environment, T... policies)
 
void clear ()
 
boolean containsKey (Object arg0)
 
boolean containsValue (Object arg0)
 
Set< java.util.Map.Entry< Class<? extends T >, T > > entrySet ()
 
get (Object arg0)
 
ServiceEnvironment getEnvironment ()
 
PolicyFactory getPolicyFactory ()
 Provides an instance of org.omg.dds.core.policy.PolicyFactory. More...
 
boolean isEmpty ()
 
Set< Class<? extends T > > keySet ()
 
put (Class<? extends T > arg0, T arg1)
 
void putAll (Map<? extends Class<? extends T >, ? extends T > arg0)
 
remove (Object arg0)
 
int size ()
 
Collection< T > values ()
 
EntityQos< P > withPolicies (P... policy)
 Copy this object and override the values of the given policies. More...
 
EntityQos< P > withPolicy (P policy)
 Copy this object and override the value of the given policy. More...
 

Protected Member Functions

Class<? extends T > getClassIdForPolicy (T policy)
 
abstract void setupMissingPolicies ()
 
void setupPolicies (Collection< T > policies)
 
void setupPolicies (T... policies)
 

Protected Attributes

final OsplServiceEnvironment environment
 
HashMap< Class<? extends T >, T > policies
 

Detailed Description

Definition at line 33 of file EntityQosImpl.java.

Constructor & Destructor Documentation

◆ EntityQosImpl() [1/2]

org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.EntityQosImpl ( OsplServiceEnvironment  environment,
Collection< T >  policies 
)

Definition at line 39 of file EntityQosImpl.java.

◆ EntityQosImpl() [2/2]

org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.EntityQosImpl ( OsplServiceEnvironment  environment,
T...  policies 
)

Definition at line 47 of file EntityQosImpl.java.

Member Function Documentation

◆ clear()

void org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.clear ( )

Definition at line 103 of file EntityQosImpl.java.

◆ containsKey()

boolean org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.containsKey ( Object  arg0)

Definition at line 111 of file EntityQosImpl.java.

◆ containsValue()

boolean org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.containsValue ( Object  arg0)

Definition at line 118 of file EntityQosImpl.java.

◆ entrySet()

Set<java.util.Map.Entry<Class<? extends T>, T> > org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.entrySet ( )

Definition at line 125 of file EntityQosImpl.java.

◆ get()

T org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.get ( Object  arg0)

Definition at line 132 of file EntityQosImpl.java.

◆ getClassIdForPolicy()

Class<? extends T> org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.getClassIdForPolicy ( policy)
protected

Definition at line 71 of file EntityQosImpl.java.

◆ getEnvironment()

Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 98 of file EntityQosImpl.java.

◆ getPolicyFactory()

◆ isEmpty()

boolean org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.isEmpty ( )

Definition at line 139 of file EntityQosImpl.java.

◆ keySet()

Set<Class<? extends T> > org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.keySet ( )

Definition at line 144 of file EntityQosImpl.java.

◆ put()

T org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.put ( Class<? extends T >  arg0,
arg1 
)

Definition at line 151 of file EntityQosImpl.java.

◆ putAll()

void org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.putAll ( Map<? extends Class<? extends T >, ? extends T >  arg0)

Definition at line 158 of file EntityQosImpl.java.

◆ remove()

T org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.remove ( Object  arg0)

Definition at line 165 of file EntityQosImpl.java.

◆ setupMissingPolicies()

abstract void org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.setupMissingPolicies ( )
abstractprotected

◆ setupPolicies() [1/2]

void org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.setupPolicies ( Collection< T >  policies)
protected

Definition at line 54 of file EntityQosImpl.java.

◆ setupPolicies() [2/2]

void org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.setupPolicies ( T...  policies)
protected

Definition at line 62 of file EntityQosImpl.java.

◆ size()

Definition at line 176 of file EntityQosImpl.java.

◆ values()

Collection<T> org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.values ( )

Definition at line 183 of file EntityQosImpl.java.

◆ withPolicies()

EntityQos<P> org.omg.dds.core.EntityQos< P extends QosPolicy >.withPolicies ( P...  policy)
inherited

Copy this object and override the values of the given policies.

Returns
a new object
Exceptions
IllegalArgumentExceptionif any given policy is not applicable to the concrete type of this EntityQos.
See also
#withPolicy(QosPolicy)

◆ withPolicy()

EntityQos<P> org.omg.dds.core.EntityQos< P extends QosPolicy >.withPolicy ( policy)
inherited

Copy this object and override the value of the given policy.

Returns
a new object
Exceptions
IllegalArgumentExceptionif the given policy is not applicable to the concrete type of this EntityQos.
See also
withPolicies(QosPolicy...)

Member Data Documentation

◆ environment

Definition at line 36 of file EntityQosImpl.java.

◆ policies

HashMap<Class<? extends T>, T> org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >.policies
protected

Definition at line 37 of file EntityQosImpl.java.


The documentation for this class was generated from the following file: