Class SampleRejectedState
Defined in File State.hpp
Inheritance Relationships
Base Type
public std::bitset< OMG_DDS_STATE_BIT_COUNT >
Class Documentation
-
class SampleRejectedState : public std::bitset<OMG_DDS_STATE_BIT_COUNT>
Class to contain the statistics about samples that have been rejected.
See also
SampleInfo for more information
Public Types
-
typedef std::bitset<OMG_DDS_STATE_BIT_COUNT> MaskType
Convenience typedef for std::bitset<OMG_DDS_STATE_BIT_COUNT>.
Public Functions
-
inline SampleRejectedState()
Construct an empty SampleRejectedState.
-
inline SampleRejectedState(const SampleRejectedState &src)
Copy constructor.
Construct an SampleRejectedState with existing SampleRejectedState.
- Parameters:
src – the SampleRejectedState to copy from
-
inline SampleRejectedState(const MaskType &src)
Construct a SampleRejectedState with existing MaskType.
- Parameters:
src – the MaskType to copy from
Public Static Functions
-
static inline SampleRejectedState not_rejected()
Get the NOT_REJECTED.
not_rejected
No sample has been rejected yet.
- Returns:
the not_rejected SampleRejectedState
-
static inline SampleRejectedState rejected_by_samples_limit()
Get the REJECTED_BY_SAMPLES_LIMIT.
rejected_by_samples_limit
The sample was rejected because it would exceed the maximum number of samples set by the ResourceLimits QosPolicy.
- Returns:
the rejected_by_samples_limit SampleRejectedState
-
static inline SampleRejectedState rejected_by_instances_limit()
Get the REJECTED_BY_INSTANCES_LIMIT.
rejected_by_instances_limit
The sample was rejected because it would exceed the maximum number of instances set by the ResourceLimits QosPolicy.
- Returns:
the rejected_by_instances_limit SampleRejectedState
-
static inline SampleRejectedState rejected_by_samples_per_instance_limit()
Get the REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT.
rejected_by_samples_per_instance_limit
The sample was rejected because it would exceed the maximum number of samples per instance set by the ResourceLimits QosPolicy.
- Returns:
the rejected_by_samples_per_instance_limit SampleRejectedState
-
typedef std::bitset<OMG_DDS_STATE_BIT_COUNT> MaskType