Fast DDS 官方--C++ API Reference

Fast DDS 官方--C++ API Reference

  • 1 介绍
  • 2 接口
    • 2.1 DDS DCPS PIM
      • 2.1.1 Core
        • 2.1.1.1 Entity 【基类】
        • 2.1.1.2 DomainEntity
        • 2.1.1.3 Policy 【枚举】
          • 2.1.1.3.1 DataRepresentationId
          • 2.1.1.3.2 DataRepresentationQosPolicy
          • 2.1.1.3.3 DataSharingQosPolicy
          • 2.1.1.3.4 DataSharingKind
          • 2.1.1.3.5 DeadlineQosPolicy
          • 2.1.1.3.6 DestinationOrderQosPolicy
          • 2.1.1.3.7 DestinationOrderQosPolicyKind
          • 2.1.1.3.8 DisablePositiveACKsQosPolicy
          • 2.1.1.3.9 DurabilityQosPolicy
          • 2.1.1.3.10 DurabilityQosPolicyKind
          • 2.1.1.3.11 DurabilityServiceQosPolicy
          • 2.1.1.3.12 EntityFactoryQosPolicy
          • 2.1.1.3.13 GenericDataQosPolicy
          • 2.1.1.3.14 GroupDataQosPolicy
          • 2.1.1.3.15 HistoryQosPolicy
          • 2.1.1.3.16 HistoryQosPolicyKind
          • 2.1.1.3.17 LatencyBudgetQosPolicy
          • 2.1.1.3.18 LifespanQosPolicy
          • 2.1.1.3.19 LivelinessQosPolicy
          • 2.1.1.3.20 LivelinessQosPolicyKind
          • 2.1.1.3.21 OwnershipQosPolicy
          • 2.1.1.3.22 OwnershipQosPolicyKind
          • 2.1.1.3.23 OwnershipStrengthQosPolicy
          • 2.1.1.3.24 ParticipantResourceLimitsQos
          • 2.1.1.3.25 Partition_t
          • 2.1.1.3.26 PartitionQosPolicy
          • 2.1.1.3.27 PresentationQosPolicy
          • 2.1.1.3.28 PresentationQosPolicyAccessScopeKind
          • 2.1.1.3.29 PropertyPolicyQos
          • 2.1.1.3.30 PublishModeQosPolicy
          • 2.1.1.3.31 PublishModeQosPolicyKind
          • 2.1.1.3.32 QosPolicy
          • 2.1.1.3.33 QosPolicyId_t
          • 2.1.1.3.34 ReaderDataLifecycleQosPolicy
          • 2.1.1.3.35 ReliabilityQosPolicy
          • 2.1.1.3.36 ReliabilityQosPolicyKind
          • 2.1.1.3.37 ResourceLimitsQosPolicy
          • 2.1.1.3.38 RTPSEndpointQos
          • 2.1.1.3.39 TimeBasedFilterQosPolicy
          • 2.1.1.3.40 TopicDataQosPolicy
          • 2.1.1.3.41 TransportConfigQos
          • 2.1.1.3.42 TransportPriorityQosPolicy
          • 2.1.1.3.43 TypeConsistencyEnforcementQosPolicy
          • 2.1.1.3.44 TypeConsistencyKind
          • 2.1.1.3.45 UserDataQosPolicy
          • 2.1.1.3.46 WireProtocolConfigQos
          • 2.1.1.3.47 WriterDataLifecycleQosPolicy
          • 2.1.1.3.48 WriterResourceLimitsQos
        • 2.1.1.4 Status 【状态】
          • 2.1.1.4.1 BaseStatus
          • 2.1.1.4.2 DeadlineMissedStatus
          • 2.1.1.4.3 IncompatibleQosStatus
          • 2.1.1.4.4 InconsistentTopicStatus
          • 2.1.1.4.5 LivelinessChangedStatus
          • 2.1.1.4.6 MatchedStatus
          • 2.1.1.4.7 OfferedDeadlineMissedStatus
          • 2.1.1.4.8 OfferedIncompatibleQosStatus
          • 2.1.1.4.9 PublicationMatchedStatus
          • 2.1.1.4.10 QosPolicyCount
          • 2.1.1.4.11 QosPolicyCountSeq
          • 2.1.1.4.12 RequestedDeadlineMissedStatus
          • 2.1.1.4.13 RequestedIncompatibleQosStatus
          • 2.1.1.4.14 LivelinessLostStatus
          • 2.1.1.4.15 SampleLostStatus
          • 2.1.1.4.16 SampleRejectedStatus
          • 2.1.1.4.17 SampleRejectedStatusKind
          • 2.1.1.4.18 StatusMask
          • 2.1.1.4.19 SubscriptionMatchedStatus
        • 2.1.1.5 Condition
          • 2.1.1.5.1 Condition
          • 2.1.1.5.2 ConditionSeq
          • 2.1.1.5.3 GuardCondition
          • 2.1.1.5.4 StatusCondition
          • 2.1.1.5.5 Wait-set
        • 2.1.1.6 LoanableArray
        • 2.1.1.7 LoanableCollection
        • 2.1.1.8 LoanableSequence
        • 2.1.1.9 StackAllocatedSequence
      • 2.1.2 Domain
        • 2.1.2.1 DomainParticipant【域参与者】
        • 2.1.2.2 DomainParticipantFactory
        • 2.1.2.3 DomainParticipantFactoryQos 【配置 Qos 策略】
        • 2.1.2.4 DomainParticipantListener
        • 2.1.2.5 DomainParticipantQos
      • 2.1.3 Publisher
        • 2.1.3.1 DataWriter 【发布数据】
        • 2.1.3.2 DataWriterListener 【监听】
        • 2.1.3.3 DataWriterQos 【DataWriter的Qos策略】
        • 2.1.3.4 Publisher 【给订阅者发布数据】
        • 2.1.3.5 PublisherListener
        • 2.1.3.6 PublisherQos
        • 2.1.3.7 RTPSReliableWriterQos
      • 2.1.4 Subscriber
        • 2.1.4.1 DataReader【订阅数据】
        • 2.1.4.2 DataReaderListener【监听】
        • 2.1.4.3 DataReaderQos 【DataReader的Qos策略】
        • 2.1.4.4 InstanceStateKind
        • 2.1.4.5 ReadCondition
        • 2.1.4.6 ReaderResourceLimitsQos
        • 2.1.4.7 RTPSReliableReaderQos
        • 2.1.4.8 SampleInfo
        • 2.1.4.9 SampleStateKind
        • 2.1.4.10 Subscriber
        • 2.1.4.11 SubscriberListener
        • 2.1.4.12 SubscriberQos
        • 2.1.4.13 TypeConsistencyQos
        • 2.1.4.14 ViewStateKind
      • 2.1.5 Topic
        • 2.1.5.1 TopicDataType
        • 2.1.5.2 TypeSupport
        • 2.1.5.3 TopicDescription
        • 2.1.5.4 Topic
        • 2.1.5.5 ContentFilteredTopic
        • 2.1.5.6 IContentFilter
        • 2.1.5.7 IContentFilterFactory
        • 2.1.5.8 TopicListener
        • 2.1.5.9 TopicQos
        • 2.1.5.10 TypeIdV1
        • 2.1.5.11 TypeInformation
        • 2.1.5.12 TypeObjectV1
    • 2.2 RTPS
      • 2.2.1 Attributes
        • 2.2.1.1 BuiltinAttributes
        • 2.2.1.2 c_default_RTPSParticipantAllocationAttributes
        • 2.2.1.3 DiscoveryProtocol
        • 2.2.1.4 DiscoverySettings
        • 2.2.1.5 EndpointAttributes
        • 2.2.1.6 ExternalLocators
        • 2.2.1.7 HistoryAttributes
        • 2.2.1.8 InitialAnnouncementConfig
        • 2.2.1.9 ParticipantFilteringFlags
        • 2.2.1.10 PropertyPolicy
        • 2.2.1.11 PropertyPolicyHelper
        • 2.2.1.12 ReaderAttributes
        • 2.2.1.13 ReaderTimes
        • 2.2.1.14 RemoteLocatorsAllocationAttributes
        • 2.2.1.15 RemoteServerAttributes
        • 2.2.1.16 RemoteServerList_t
        • 2.2.1.17 RTPSParticipantAllocationAttributes
        • 2.2.1.18 RTPSParticipantAttributes
        • 2.2.1.19 RTPSWriterPublishMode
        • 2.2.1.20 SendBuffersAllocationAttributes
        • 2.2.1.21 SimpleEDPAttributes
        • 2.2.1.22 TypeLookupSettings
        • 2.2.1.23 VariableLengthDataLimits
        • 2.2.1.24 WriterAttributes
        • 2.2.1.25 WriterTimes
        • 2.2.2 Builtin data
        • 2.2.2.1 ContentFilterProperty
      • 2.2.3 Common
        • 2.2.3.1 BinaryProperty
          • 2.2.3.1.1 BinaryProperty
          • 2.2.3.1.2 BinaryPropertyHelper
          • 2.2.3.1.3 BinaryPropertySeq
        • 2.2.3.2 CacheChange
          • 2.2.3.2.1 CacheChange_t
          • 2.2.3.2.2 ChangeForReader_t
          • 2.2.3.2.3 ChangeForReaderCmp
          • 2.2.3.2.4 ChangeForReaderStatus_t
          • 2.2.3.2.5 ChangeKind_t
        • 2.2.3.3 CDRMessage
          • 2.2.3.3.1 CDRMessage_t
          • 2.2.3.3.2 Macro definitions (#define)
        • 2.2.3.4 EntityId
          • 2.2.3.4.1 Const values
          • 2.2.3.4.2 Macro definitions (#define)
          • 2.2.3.4.3 EntityId_t
          • 2.2.3.4.4 EntityId_t Operators
        • 2.2.3.5 FragmentNumber
          • 2.2.3.5.1 FragmentNumber_t
          • 2.2.3.5.2 FragmentNumberSet_t
        • 2.2.3.6 Guid
          • 2.2.3.6.1 c_Guid_Unknown
          • 2.2.3.6.2 GUID_t
          • 2.2.3.6.3 GUID_t Operators
        • 2.2.3.7 GuidPrefix
          • 2.2.3.7.1 c_GuidPrefix_Unknown
          • 2.2.3.7.2 GuidPrefix_t
          • 2.2.3.7.3 GuidPrefix_t Operators
        • 2.2.3.8 InstanceHandle
          • 2.2.3.8.1 c_InstanceHandle_Unknown
          • 2.2.3.8.2 InstanceHandle_t
          • 2.2.3.8.3 InstanceHandle_t Operators
        • 2.2.3.9 Locator
          • 2.2.3.9.1 Macro definitions (#define)
          • 2.2.3.9.2 IsAddressDefined
          • 2.2.3.9.3 IsLocatorValid
          • 2.2.3.9.4 Locator_t
          • 2.2.3.9.5 LocatorList
          • 2.2.3.9.6 LocatorListConstIterator
          • 2.2.3.9.7 LocatorListIterator
          • 2.2.3.9.8 LocatorsIterator
          • 2.2.3.9.9 Locators
          • 2.2.3.9.10 Locator Operators
        • 2.2.3.10 LocatorSelectorEntry
        • 2.2.3.11 LocatorSelector
        • 2.2.3.12 LocatorWithMask
        • 2.2.3.13 MatchingInfo
          • 2.2.3.13.1 MatchingInfo
          • 2.2.3.13.2 MatchingStatus
        • 2.2.3.14 PortParameters
        • 2.2.3.15 Property
          • 2.2.3.15.1 Property
          • 2.2.3.15.2 PropertyHelper
          • 2.2.3.15.3 PropertySeq
        • 2.2.3.16 RemoteLocators
          • 2.2.3.16.1 RemoteLocators Operators
          • 2.2.3.16.2 RemoteLocatorList
        • 2.2.3.17 SampleIdentity
        • 2.2.3.18 SequenceNumber
          • 2.2.3.18.1 c_SequenceNumber_Unknown
          • 2.2.3.18.2 SequenceNumber_t Operators
          • 2.2.3.18.3 SequenceNumber_t
          • 2.2.3.18.4 SequenceNumberDiff
          • 2.2.3.18.5 SequenceNumberHash
          • 2.2.3.18.6 SequenceNumberSet_t
          • 2.2.3.18.7 sort_seqNum
        • 2.2.3.19 SerializedPayload
          • 2.2.3.19.1 Macro definitions (#define)
          • 2.2.3.19.2 SerializedPayload_t
        • 2.2.3.20 Time_t
          • 2.2.3.20.1 Const values
          • 2.2.3.20.2 Macro definitions (#define)
          • 2.2.3.20.3 eprosima::fastrtps::Duration_t
          • 2.2.3.20.4 eprosima::fastrtps::Time_t
          • 2.2.3.20.5 Time_t Operators
          • 2.2.3.20.6 Time_t
        • 2.2.3.21 Token
          • 2.2.3.21.1 AuthenticatedPeerCredentialToken
          • 2.2.3.21.2 DataHolder
          • 2.2.3.21.3 DataHolderHelper
          • 2.2.3.21.4 DataHolderSeq
          • 2.2.3.21.5 IdentityStatusToken
          • 2.2.3.21.6 IdentityToken
          • 2.2.3.21.7 PermissionsCredentialToken
          • 2.2.3.21.8 PermissionsToken
          • 2.2.3.21.9 Token
        • 2.2.3.22 Types
          • 2.2.3.22.1 BuiltinEndpointSet_t
          • 2.2.3.22.2 Const values
          • 2.2.3.22.3 Count_t
          • 2.2.3.22.4 Macro definitions (#define)
          • 2.2.3.22.5 DurabilityKind_t
          • 2.2.3.22.6 Endianness_t
          • 2.2.3.22.7 EndpointKind_t
          • 2.2.3.22.8 octet
          • 2.2.3.22.9 ProtocolVersion_t
          • 2.2.3.22.10 ReliabilityKind_t
          • 2.2.3.22.11 SubmessageFlag
          • 2.2.3.22.12 TopicKind_t
          • 2.2.3.22.13 VendorId_t
        • 2.2.3.23 WriteParams
      • 2.2.4 Endpoint
      • 2.2.5 Exceptions
        • 2.2.5.1 Exception
      • 2.2.6 Flow control
        • 2.2.6.1 FlowControllerDescriptor
        • 2.2.6.2 FlowControllerSchedulerPolicy
      • 2.2.7 History
        • 2.2.7.1 History
        • 2.2.7.2 IChangePool
        • 2.2.7.3 IPayloadPool
        • 2.2.7.4 ReaderHistory
        • 2.2.7.5 WriterHistory
      • 2.2.8 RTPSParticipant
        • 2.2.8.1 ParticipantDiscoveryInfo
          • 2.2.8.1.1 ParticipantAuthenticationInfo
          • 2.2.8.1.2 ParticipantDiscoveryInfo
          • 2.2.8.1.3 ParticipantProxyData
          • 2.2.8.1.4 ReaderDiscoveryInfo
          • 2.2.8.1.5 ReaderProxyData
          • 2.2.8.1.6 WriterDiscoveryInfo
          • 2.2.8.1.7 WriterProxyData
        • 2.2.8.2 RTPSParticipant
        • 2.2.8.3 RTPSParticipantListener
      • 2.2.9 RTPSReader
        • 2.2.9.1 ReaderListener
        • 2.2.9.2 RTPSReader
      • 2.2.10 Resources
        • 2.2.10.1 MemoryManagementPolicy
      • 2.2.11 RTPSDomain
      • 2.2.12 RTPSWriter
        • 2.2.12.1 LivelinessData
        • 2.2.12.2 RTPSWriter
        • 2.2.12.3 WriterListener
    • 2.3 Transport
      • 2.3.1 Transport Generic Interfaces
        • 2.3.1.1 TransportDescriptorInterface
        • 2.3.1.2 TransportInterface
        • 2.3.1.3 TransportReceiverInterface
        • 2.3.1.4 SocketTransportDescriptor
        • 2.3.2 Chaining of transports
        • 2.3.2.1 ChainingTransportDescriptor
        • 2.3.2.2 ChainingTransport
        • 2.3.3 UDP Transport
        • 2.3.3.1 UDPTransportDescriptor
        • 2.3.3.2 UDPv4TransportDescriptor
        • 2.3.3.3 UDPv6TransportDescriptor
        • 2.3.3.4 test_UDPv4TransportDescriptor
        • 2.3.4 TCP Transport
        • 2.3.4.1 TCPTransportDescriptor
        • 2.3.4.2 TCPv4TransportDescriptor
        • 2.3.4.3 TCPv6TransportDescriptor
        • 2.3.5 Shared Memory Transport
        • 2.3.5.1 SharedMemTransportDescriptor
    • 2.4 LOG
      • 2.4.1 Colors
        • 2.4.1.1 Color Blue
        • 2.4.1.2 Color Bright
        • 2.4.1.3 Color Bright Blue
        • 2.4.1.4 Color Bright Cyan
        • 2.4.1.5 Color Bright Green
        • 2.4.1.6 Color Bright Magenta
        • 2.4.1.7 Color Bright Red
        • 2.4.1.8 Color Bright White
        • 2.4.1.9 Color Bright Yellow
        • 2.4.1.10 Color Cyan
        • 2.4.1.11 Color Def
        • 2.4.1.12 Color Green
        • 2.4.1.13 Color Magenta
        • 2.4.1.14 Color Red
        • 2.4.1.15 Color White
        • 2.4.1.16 Color Yellow
      • 2.4.2 FileConsumer
      • 2.4.3 Log
      • 2.4.4 LogConsumer
      • 2.4.5 EPROSIMA_LOG_ERROR
      • 2.4.6 EPROSIMA_LOG_INFO
      • 2.4.7 EPROSIMA_LOG_WARNING
      • 2.4.8 OStreamConsumer
      • 2.4.9 StdoutConsumer
      • 2.4.10 StdoutErrConsumer
    • 2.5 Statistics
      • 2.5.1 DomainParticipant
      • 2.5.2 DataWriterQos
      • 2.5.3 DataReaderQos
      • 2.5.4 Topic names
  • 参考

1 介绍

数据分发服务DDS(DataDistributionService)是OMG对象管理组织在HLA及CORBA等标准的基础上制定的新一代分布式实时通信中间件技术规范,DDS采用发布/订阅体系架构,强调以数据为中心,提供丰富的QoS服务质量策略,能保障数据进行实时、高效、灵活地分发,可满足各种分布式实时通信应用需求。
在这里插入图片描述

2 接口

2.1 DDS DCPS PIM

2.1.1 Core

2.1.1.1 Entity 【基类】
class eprosima::fastdds::dds::Entity

The Entity class is the abstract base class for all the objects that support QoS policies, a listener and a status condition.

Subclassed by eprosima::fastdds::dds::DomainEntity, eprosima::fastdds::dds::DomainParticipant

eprosima::fastdds::dds::DomainEntity
eprosima::fastdds::dds::DomainParticipant
2.1.1.2 DomainEntity
class eprosima::fastdds::dds::DomainEntity : public eprosima::fastdds::dds::Entity

The DomainEntity class is a subclass of Entity created in order to differentiate between DomainParticipants and the rest of Entities.

Subclassed by eprosima::fastdds::dds::DataReader, eprosima::fastdds::dds::DataWriter, eprosima::fastdds::dds::Publisher, eprosima::fastdds::dds::Subscriber, eprosima::fastdds::dds::Topic

eprosima::fastdds::dds::DataReader
eprosima::fastdds::dds::DataWriter
eprosima::fastdds::dds::Publisher
eprosima::fastdds::dds::Subscriber
eprosima::fastdds::dds::Topic
2.1.1.3 Policy 【枚举】
2.1.1.3.1 DataRepresentationId
enum eprosima::fastdds::dds::DataRepresentationId
2.1.1.3.2 DataRepresentationQosPolicy
2.1.1.3.3 DataSharingQosPolicy
2.1.1.3.4 DataSharingKind
2.1.1.3.5 DeadlineQosPolicy
2.1.1.3.6 DestinationOrderQosPolicy
2.1.1.3.7 DestinationOrderQosPolicyKind
2.1.1.3.8 DisablePositiveACKsQosPolicy
2.1.1.3.9 DurabilityQosPolicy
2.1.1.3.10 DurabilityQosPolicyKind
2.1.1.3.11 DurabilityServiceQosPolicy
2.1.1.3.12 EntityFactoryQosPolicy
2.1.1.3.13 GenericDataQosPolicy
2.1.1.3.14 GroupDataQosPolicy
2.1.1.3.15 HistoryQosPolicy
2.1.1.3.16 HistoryQosPolicyKind
2.1.1.3.17 LatencyBudgetQosPolicy
2.1.1.3.18 LifespanQosPolicy
2.1.1.3.19 LivelinessQosPolicy
2.1.1.3.20 LivelinessQosPolicyKind
2.1.1.3.21 OwnershipQosPolicy
2.1.1.3.22 OwnershipQosPolicyKind
2.1.1.3.23 OwnershipStrengthQosPolicy
2.1.1.3.24 ParticipantResourceLimitsQos
2.1.1.3.25 Partition_t
2.1.1.3.26 PartitionQosPolicy
2.1.1.3.27 PresentationQosPolicy
2.1.1.3.28 PresentationQosPolicyAccessScopeKind
2.1.1.3.29 PropertyPolicyQos
2.1.1.3.30 PublishModeQosPolicy
2.1.1.3.31 PublishModeQosPolicyKind
2.1.1.3.32 QosPolicy
2.1.1.3.33 QosPolicyId_t
2.1.1.3.34 ReaderDataLifecycleQosPolicy
2.1.1.3.35 ReliabilityQosPolicy
2.1.1.3.36 ReliabilityQosPolicyKind
2.1.1.3.37 ResourceLimitsQosPolicy
2.1.1.3.38 RTPSEndpointQos
2.1.1.3.39 TimeBasedFilterQosPolicy
2.1.1.3.40 TopicDataQosPolicy
2.1.1.3.41 TransportConfigQos
2.1.1.3.42 TransportPriorityQosPolicy
2.1.1.3.43 TypeConsistencyEnforcementQosPolicy
2.1.1.3.44 TypeConsistencyKind
2.1.1.3.45 UserDataQosPolicy
2.1.1.3.46 WireProtocolConfigQos
2.1.1.3.47 WriterDataLifecycleQosPolicy
2.1.1.3.48 WriterResourceLimitsQos
2.1.1.4 Status 【状态】
2.1.1.4.1 BaseStatus
struct eprosima::fastdds::dds::BaseStatus
2.1.1.4.2 DeadlineMissedStatus
2.1.1.4.3 IncompatibleQosStatus
2.1.1.4.4 InconsistentTopicStatus
2.1.1.4.5 LivelinessChangedStatus
2.1.1.4.6 MatchedStatus
2.1.1.4.7 OfferedDeadlineMissedStatus
2.1.1.4.8 OfferedIncompatibleQosStatus
2.1.1.4.9 PublicationMatchedStatus
2.1.1.4.10 QosPolicyCount
2.1.1.4.11 QosPolicyCountSeq
2.1.1.4.12 RequestedDeadlineMissedStatus
2.1.1.4.13 RequestedIncompatibleQosStatus
2.1.1.4.14 LivelinessLostStatus
2.1.1.4.15 SampleLostStatus
2.1.1.4.16 SampleRejectedStatus
2.1.1.4.17 SampleRejectedStatusKind
2.1.1.4.18 StatusMask
2.1.1.4.19 SubscriptionMatchedStatus
2.1.1.5 Condition
2.1.1.5.1 Condition
class eprosima::fastdds::dds::Condition

The Condition class is the root base class for all the conditions that may be attached to a WaitSet.

Subclassed by eprosima::fastdds::dds::GuardCondition, eprosima::fastdds::dds::ReadCondition, eprosima::fastdds::dds::StatusCondition

eprosima::fastdds::dds::GuardCondition
eprosima::fastdds::dds::ReadCondition
eprosima::fastdds::dds::StatusCondition
2.1.1.5.2 ConditionSeq
2.1.1.5.3 GuardCondition
2.1.1.5.4 StatusCondition
2.1.1.5.5 Wait-set
2.1.1.6 LoanableArray
template<typename T, std::size_t num_items>
struct eprosima::fastdds::dds::LoanableArray : public std::array<T, num_items>

A type-safe, ordered collection of elements allocated on the stack, which can be loaned to a LoanableCollection.

2.1.1.7 LoanableCollection
class eprosima::fastdds::dds::LoanableCollection

A collection of generic opaque pointers that can receive the buffer from outside (loan).

This is an abstract class. See LoanableSequence for details.

2.1.1.8 LoanableSequence
2.1.1.9 StackAllocatedSequence

2.1.2 Domain

2.1.2.1 DomainParticipant【域参与者】
class eprosima::fastdds::dds::DomainParticipant : public eprosima::fastdds::dds::Entity

Class DomainParticipant used to group Publishers and Subscribers into a single working unit.

Subclassed by eprosima::fastdds::statistics::dds::DomainParticipant

2.1.2.2 DomainParticipantFactory
class eprosima::fastdds::dds::DomainParticipantFactory
create_participant()
delete_participant()
...
2.1.2.3 DomainParticipantFactoryQos 【配置 Qos 策略】
class eprosima::fastdds::dds::DomainParticipantFactoryQos

Class DomainParticipantFactoryQos, contains all the possible Qos that can be set for a determined participant. Please consult each of them to check for implementation details and default values.

2.1.2.4 DomainParticipantListener
class eprosima::fastdds::dds::DomainParticipantListener : public eprosima::fastdds::dds::PublisherListener, public eprosima::fastdds::dds::SubscriberListener, public eprosima::fastdds::dds::TopicListener

Class DomainParticipantListener, overrides behaviour towards certain events.

2.1.2.5 DomainParticipantQos
class eprosima::fastdds::dds::DomainParticipantQos

Class DomainParticipantQos, contains all the possible Qos that can be set for a determined participant. Please consult each of them to check for implementation details and default values.

2.1.3 Publisher

2.1.3.1 DataWriter 【发布数据】
class eprosima::fastdds::dds::DataWriter : public eprosima::fastdds::dds::DomainEntity

Class DataWriter, contains the actual implementation of the behaviour of the DataWriter.

2.1.3.2 DataWriterListener 【监听】
class eprosima::fastdds::dds::DataWriterListener

Class DataWriterListener, allows the end user to implement callbacks triggered by certain events.

Subclassed by eprosima::fastdds::dds::PublisherListener

eprosima::fastdds::dds::PublisherListener
# 端点匹配回调此函数
inline virtual void on_publication_matched(DataWriter *writer, const PublicationMatchedStatus &info)
This method is called when the Publisher is matched (or unmatched) against an endpoint.# 错过截止日期时回调此函数
inline virtual void on_offered_deadline_missed(DataWriter *writer, const OfferedDeadlineMissedStatus &status)
A method called when a deadline is missed# Qos不兼容回调此函数
inline virtual void on_offered_incompatible_qos(DataWriter *writer, const OfferedIncompatibleQosStatus &status)
A method called when an incompatible QoS is offered# 发布者不活跃时回调此函数
inline virtual void on_liveliness_lost(DataWriter *writer, const LivelinessLostStatus &status)
Method called when the liveliness of a publisher is lost.
2.1.3.3 DataWriterQos 【DataWriter的Qos策略】
class eprosima::fastdds::dds::DataWriterQos

Class DataWriterQos, containing all the possible Qos that can be set for a determined DataWriter. Although these values can be and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

2.1.3.4 Publisher 【给订阅者发布数据】
class eprosima::fastdds::dds::Publisher : public eprosima::fastdds::dds::DomainEntity

Class Publisher, used to send data to associated subscribers.

2.1.3.5 PublisherListener
class eprosima::fastdds::dds::PublisherListener : public eprosima::fastdds::dds::DataWriterListenereprosima::fastdds::dds::DomainParticipantListener

Subclassed by eprosima::fastdds::dds::DomainParticipantListener

Class PublisherListener, allows the end user to implement callbacks triggered by certain events. It inherits all the DataWriterListener callbacks.

2.1.3.6 PublisherQos
class eprosima::fastdds::dds::PublisherQos

Class PublisherQos, containing all the possible Qos that can be set for a determined Publisher. Although these values can be set and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

2.1.3.7 RTPSReliableWriterQos
class eprosima::fastdds::dds::RTPSReliableWriterQos

2.1.4 Subscriber

2.1.4.1 DataReader【订阅数据】
class eprosima::fastdds::dds::DataReader : public eprosima::fastdds::dds::DomainEntity

Class DataReader, contains the actual implementation of the behaviour of the Subscriber.

2.1.4.2 DataReaderListener【监听】
class eprosima::fastdds::dds::DataReaderListener

Class DataReaderListener, it should be used by the end user to implement specific callbacks to certain actions.

Subclassed by eprosima::fastdds::dds::SubscriberListener
# 收到消息回调此函数
inline virtual void on_data_available(DataReader *reader)
Virtual function to be implemented by the user containing the actions to be performed when new Data Messages are received.# 端点匹配回调此函数
inline virtual void on_subscription_matched(DataReader *reader, const fastdds::dds::SubscriptionMatchedStatus &info)
Virtual method to be called when the subscriber is matched with a new Writer (or unmatched); i.e., when a writer publishing in the same topic is discovered.# 错过截止日期时回调此函数
inline virtual void on_requested_deadline_missed(DataReader *reader, const fastrtps::RequestedDeadlineMissedStatus &status)
Virtual method to be called when a topic misses the deadline period# 订阅者状态改变时回调此函数
inline virtual void on_liveliness_changed(DataReader *reader, const fastrtps::LivelinessChangedStatus &status)
Method called when the liveliness status associated to a subscriber changes.# 接收到的数据样本被拒绝时回调此函数
inline virtual void on_sample_rejected(DataReader *reader, const fastrtps::SampleRejectedStatus &status)
Method called when a sample was rejected.# Qos不兼容回调此函数
inline virtual void on_requested_incompatible_qos(DataReader *reader, const RequestedIncompatibleQosStatus &status)
Method called an incompatible QoS was requested.# 数据样本丢失时回调此函数
inline virtual void on_sample_lost(DataReader *reader, const SampleLostStatus &status)
Method called when a sample was lost.
2.1.4.3 DataReaderQos 【DataReader的Qos策略】
class eprosima::fastdds::dds::DataReaderQos

Class DataReaderQos, containing all the possible Qos that can be set for a determined DataReader. Although these values can be set and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

Subclassed by eprosima::fastdds::statistics::dds::DataReaderQos

2.1.4.4 InstanceStateKind
enum eprosima::fastdds::dds::InstanceStateKind

Indicates if the samples are from an alive DataWriter or not.

2.1.4.5 ReadCondition
class eprosima::fastdds::dds::ReadCondition : public eprosima::fastdds::dds::Condition

A Condition specifically dedicated to read operations and attached to one DataReader.

2.1.4.6 ReaderResourceLimitsQos
class eprosima::fastdds::dds::ReaderResourceLimitsQos

Qos Policy to configure the limit of the reader resources.

2.1.4.7 RTPSReliableReaderQos
class eprosima::fastdds::dds::RTPSReliableReaderQos

Qos Policy to configure the DisablePositiveACKsQos and the reader attributes.

2.1.4.8 SampleInfo
struct eprosima::fastdds::dds::SampleInfo

SampleInfo is the information that accompanies each sample that is ‘read’ or ‘taken.

2.1.4.9 SampleStateKind
enum eprosima::fastdds::dds::SampleStateKind

Indicates whether or not a sample has ever been read.

2.1.4.10 Subscriber
class eprosima::fastdds::dds::Subscriber : public eprosima::fastdds::dds::DomainEntity

Class Subscriber, contains the public API that allows the user to control the reception of messages. This class should not be instantiated directly. DomainRTPSParticipant class should be used to correctly create this element.

2.1.4.11 SubscriberListener
class eprosima::fastdds::dds::SubscriberListener : public eprosima::fastdds::dds::DataReaderListener

Class SubscriberListener, it should be used by the end user to implement specific callbacks to certain actions. It also inherits all DataReaderListener callbacks.

Subclassed by eprosima::fastdds::dds::DomainParticipantListener

2.1.4.12 SubscriberQos
class eprosima::fastdds::dds::SubscriberQos

Class SubscriberQos, contains all the possible Qos that can be set for a determined Subscriber. Although these values can be set and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

2.1.4.13 TypeConsistencyQos
class eprosima::fastdds::dds::TypeConsistencyQos : public eprosima::fastdds::dds::QosPolicy

Qos Policy to configure the XTypes Qos associated to the DataReader.

2.1.4.14 ViewStateKind
enum eprosima::fastdds::dds::ViewStateKind

Indicates whether or not an instance is new.

2.1.5 Topic

2.1.5.1 TopicDataType
class eprosima::fastdds::dds::TopicDataType

Class TopicDataType used to provide the DomainRTPSParticipant with the methods to serialize, deserialize and get the key of a specific data type. The user should created a class that inherits from this one, where Serialize and deserialize methods MUST be implemented. ,

Subclassed by eprosima::fastdds::dds::builtin::TypeLookup_ReplyPubSubType, eprosima::fastdds::dds::builtin::TypeLookup_RequestPubSubType

2.1.5.2 TypeSupport
class eprosima::fastdds::dds::TypeSupport : public std::shared_ptr<fastdds::dds::TopicDataType>

Class TypeSupport used to provide the DomainRTPSParticipant with the methods to serialize, deserialize and get the key of a specific data type. The user should created a class that inherits from this one, where Serialize and deserialize methods MUST be implemented.

2.1.5.3 TopicDescription
class eprosima::fastdds::dds::TopicDescription

Class TopicDescription, represents the fact that both publications and subscriptions are tied to a single data-type

Subclassed by eprosima::fastdds::dds::ContentFilteredTopic, eprosima::fastdds::dds::Topic

2.1.5.4 Topic
class eprosima::fastdds::dds::Topic : public eprosima::fastdds::dds::DomainEntity, public eprosima::fastdds::dds::TopicDescription

Class Topic, represents the fact that both publications and subscriptions are tied to a single data-type

2.1.5.5 ContentFilteredTopic
class eprosima::fastdds::dds::ContentFilteredTopic : public eprosima::fastdds::dds::TopicDescription

Specialization of TopicDescription that allows for content-based subscriptions.

2.1.5.6 IContentFilter
struct eprosima::fastdds::dds::IContentFilter

The interface that content filter objects should implement.

2.1.5.7 IContentFilterFactory
struct eprosima::fastdds::dds::IContentFilterFactory

The interface that a factory of IContentFilter objects should implement.

2.1.5.8 TopicListener
class eprosima::fastdds::dds::TopicListener

Class TopicListener, it should be used by the end user to implement specific callbacks to certain actions.

Subclassed by eprosima::fastdds::dds::DomainParticipantListener

2.1.5.9 TopicQos
class eprosima::fastdds::dds::TopicQos

Class TopicQos, containing all the possible Qos that can be set for a determined Topic. Although these values can be set and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

2.1.5.10 TypeIdV1
class eprosima::fastdds::dds::TypeIdV1 : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy
2.1.5.11 TypeInformation
class eprosima::fastdds::dds::xtypes::TypeInformation : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy
2.1.5.12 TypeObjectV1
class eprosima::fastdds::dds::TypeObjectV1 : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy

2.2 RTPS

2.2.1 Attributes

2.2.1.1 BuiltinAttributes
class eprosima::fastrtps::rtps::BuiltinAttributes

Class BuiltinAttributes, to define the behavior of the RTPSParticipant builtin protocols.

2.2.1.2 c_default_RTPSParticipantAllocationAttributes
2.2.1.3 DiscoveryProtocol
2.2.1.4 DiscoverySettings
2.2.1.5 EndpointAttributes
2.2.1.6 ExternalLocators
2.2.1.7 HistoryAttributes
2.2.1.8 InitialAnnouncementConfig
2.2.1.9 ParticipantFilteringFlags
2.2.1.10 PropertyPolicy
2.2.1.11 PropertyPolicyHelper
2.2.1.12 ReaderAttributes
2.2.1.13 ReaderTimes
2.2.1.14 RemoteLocatorsAllocationAttributes
2.2.1.15 RemoteServerAttributes
2.2.1.16 RemoteServerList_t
2.2.1.17 RTPSParticipantAllocationAttributes
2.2.1.18 RTPSParticipantAttributes
2.2.1.19 RTPSWriterPublishMode
2.2.1.20 SendBuffersAllocationAttributes
2.2.1.21 SimpleEDPAttributes
2.2.1.22 TypeLookupSettings
2.2.1.23 VariableLengthDataLimits
2.2.1.24 WriterAttributes
2.2.1.25 WriterTimes
2.2.2 Builtin data
2.2.2.1 ContentFilterProperty
class eprosima::fastdds::rtps::ContentFilterProperty

Information about the content filter being applied by a reader.

2.2.3 Common

2.2.3.1 BinaryProperty
2.2.3.1.1 BinaryProperty
2.2.3.1.2 BinaryPropertyHelper
2.2.3.1.3 BinaryPropertySeq
2.2.3.2 CacheChange
2.2.3.2.1 CacheChange_t
2.2.3.2.2 ChangeForReader_t
2.2.3.2.3 ChangeForReaderCmp
2.2.3.2.4 ChangeForReaderStatus_t
2.2.3.2.5 ChangeKind_t
2.2.3.3 CDRMessage
2.2.3.3.1 CDRMessage_t
2.2.3.3.2 Macro definitions (#define)
2.2.3.4 EntityId
2.2.3.4.1 Const values
2.2.3.4.2 Macro definitions (#define)
2.2.3.4.3 EntityId_t
2.2.3.4.4 EntityId_t Operators
2.2.3.5 FragmentNumber
2.2.3.5.1 FragmentNumber_t
2.2.3.5.2 FragmentNumberSet_t
2.2.3.6 Guid
2.2.3.6.1 c_Guid_Unknown
2.2.3.6.2 GUID_t
2.2.3.6.3 GUID_t Operators
2.2.3.7 GuidPrefix
2.2.3.7.1 c_GuidPrefix_Unknown
2.2.3.7.2 GuidPrefix_t
2.2.3.7.3 GuidPrefix_t Operators
2.2.3.8 InstanceHandle
2.2.3.8.1 c_InstanceHandle_Unknown
2.2.3.8.2 InstanceHandle_t
2.2.3.8.3 InstanceHandle_t Operators
2.2.3.9 Locator
2.2.3.9.1 Macro definitions (#define)
2.2.3.9.2 IsAddressDefined
2.2.3.9.3 IsLocatorValid
2.2.3.9.4 Locator_t
2.2.3.9.5 LocatorList
2.2.3.9.6 LocatorListConstIterator
2.2.3.9.7 LocatorListIterator
2.2.3.9.8 LocatorsIterator
2.2.3.9.9 Locators
2.2.3.9.10 Locator Operators
2.2.3.10 LocatorSelectorEntry
2.2.3.11 LocatorSelector
2.2.3.12 LocatorWithMask
2.2.3.13 MatchingInfo
2.2.3.13.1 MatchingInfo
2.2.3.13.2 MatchingStatus
2.2.3.14 PortParameters
2.2.3.15 Property
2.2.3.15.1 Property
2.2.3.15.2 PropertyHelper
2.2.3.15.3 PropertySeq
2.2.3.16 RemoteLocators
2.2.3.16.1 RemoteLocators Operators
2.2.3.16.2 RemoteLocatorList
2.2.3.17 SampleIdentity
2.2.3.18 SequenceNumber
2.2.3.18.1 c_SequenceNumber_Unknown
2.2.3.18.2 SequenceNumber_t Operators
2.2.3.18.3 SequenceNumber_t
2.2.3.18.4 SequenceNumberDiff
2.2.3.18.5 SequenceNumberHash
2.2.3.18.6 SequenceNumberSet_t
2.2.3.18.7 sort_seqNum
2.2.3.19 SerializedPayload
2.2.3.19.1 Macro definitions (#define)
2.2.3.19.2 SerializedPayload_t
2.2.3.20 Time_t
2.2.3.20.1 Const values
2.2.3.20.2 Macro definitions (#define)
2.2.3.20.3 eprosima::fastrtps::Duration_t
2.2.3.20.4 eprosima::fastrtps::Time_t
2.2.3.20.5 Time_t Operators
2.2.3.20.6 Time_t
2.2.3.21 Token
2.2.3.21.1 AuthenticatedPeerCredentialToken
2.2.3.21.2 DataHolder
2.2.3.21.3 DataHolderHelper
2.2.3.21.4 DataHolderSeq
2.2.3.21.5 IdentityStatusToken
2.2.3.21.6 IdentityToken
2.2.3.21.7 PermissionsCredentialToken
2.2.3.21.8 PermissionsToken
2.2.3.21.9 Token
2.2.3.22 Types
2.2.3.22.1 BuiltinEndpointSet_t
2.2.3.22.2 Const values
2.2.3.22.3 Count_t
2.2.3.22.4 Macro definitions (#define)
2.2.3.22.5 DurabilityKind_t
2.2.3.22.6 Endianness_t
2.2.3.22.7 EndpointKind_t
2.2.3.22.8 octet
2.2.3.22.9 ProtocolVersion_t
2.2.3.22.10 ReliabilityKind_t
2.2.3.22.11 SubmessageFlag
2.2.3.22.12 TopicKind_t
2.2.3.22.13 VendorId_t
2.2.3.23 WriteParams

2.2.4 Endpoint

class eprosima::fastrtps::rtps::Endpoint

Class Endpoint, all entities of the RTPS network derive from this class. Although the RTPSParticipant is also defined as an endpoint in the RTPS specification, in this implementation the RTPSParticipant class does not inherit from the endpoint class. Each Endpoint object owns a pointer to the RTPSParticipant it belongs to.

Subclassed by eprosima::fastrtps::rtps::RTPSReader, eprosima::fastrtps::rtps::RTPSWriter

2.2.5 Exceptions

2.2.5.1 Exception
class eprosima::fastrtps::rtps::Exception : public exception

This abstract class is used to create exceptions.

Subclassed by eprosima::fastrtps::rtps::security::SecurityException

2.2.6 Flow control

2.2.6.1 FlowControllerDescriptor
struct eprosima::fastdds::rtps::FlowControllerDescriptor

Configuration values for creating flow controllers.

This descriptor is used to define the configuration applied in the creation of a flow controller.

Since 2.4.0

2.2.6.2 FlowControllerSchedulerPolicy

2.2.7 History

2.2.7.1 History
class eprosima::fastrtps::rtps::History

Class History, container of the different CacheChanges and the methods to access them.

Subclassed by eprosima::fastrtps::rtps::ReaderHistory, eprosima::fastrtps::rtps::WriterHistory

2.2.7.2 IChangePool
2.2.7.3 IPayloadPool
2.2.7.4 ReaderHistory
2.2.7.5 WriterHistory

2.2.8 RTPSParticipant

2.2.8.1 ParticipantDiscoveryInfo
2.2.8.1.1 ParticipantAuthenticationInfo
2.2.8.1.2 ParticipantDiscoveryInfo
2.2.8.1.3 ParticipantProxyData
2.2.8.1.4 ReaderDiscoveryInfo
2.2.8.1.5 ReaderProxyData
2.2.8.1.6 WriterDiscoveryInfo
2.2.8.1.7 WriterProxyData
2.2.8.2 RTPSParticipant
2.2.8.3 RTPSParticipantListener

2.2.9 RTPSReader

2.2.9.1 ReaderListener
2.2.9.2 RTPSReader

2.2.10 Resources

2.2.10.1 MemoryManagementPolicy
enum eprosima::fastrtps::rtps::MemoryManagementPolicy

Enum MemoryuManagementPolicy_t, indicated the way memory is managed in terms of dealing with CacheChanges

2.2.11 RTPSDomain

class eprosima::fastrtps::rtps::RTPSDomain

Class RTPSDomain,it manages the creation and destruction of RTPSParticipant RTPSWriter and RTPSReader. It stores a list of all created RTPSParticipant. It has only static methods.

2.2.12 RTPSWriter

2.2.12.1 LivelinessData
struct eprosima::fastrtps::rtps::LivelinessData

A struct keeping relevant liveliness information of a writer.

2.2.12.2 RTPSWriter
2.2.12.3 WriterListener

2.3 Transport

2.3.1 Transport Generic Interfaces

2.3.1.1 TransportDescriptorInterface
struct eprosima::fastdds::rtps::TransportDescriptorInterface
2.3.1.2 TransportInterface
2.3.1.3 TransportReceiverInterface
2.3.1.4 SocketTransportDescriptor
2.3.2 Chaining of transports
2.3.2.1 ChainingTransportDescriptor
2.3.2.2 ChainingTransport
2.3.3 UDP Transport
2.3.3.1 UDPTransportDescriptor
2.3.3.2 UDPv4TransportDescriptor
2.3.3.3 UDPv6TransportDescriptor
2.3.3.4 test_UDPv4TransportDescriptor
2.3.4 TCP Transport
2.3.4.1 TCPTransportDescriptor
2.3.4.2 TCPv4TransportDescriptor
2.3.4.3 TCPv6TransportDescriptor
2.3.5 Shared Memory Transport
2.3.5.1 SharedMemTransportDescriptor

2.4 LOG

2.4.1 Colors

A collection of macros for ease the stream coloring.

2.4.1.1 Color Blue
C_BLUE"\033[34m"
2.4.1.2 Color Bright
C_BRIGHT"\033[1m"
2.4.1.3 Color Bright Blue
C_B_BLUE"\033[34;1m"
2.4.1.4 Color Bright Cyan
C_B_CYAN"\033[36;1m"
2.4.1.5 Color Bright Green
C_B_GREEN"\033[32;1m"
2.4.1.6 Color Bright Magenta
C_B_MAGENTA"\033[35;1m"
2.4.1.7 Color Bright Red
C_B_RED"\033[31;1m"
2.4.1.8 Color Bright White
C_B_WHITE"\033[37;1m"
2.4.1.9 Color Bright Yellow
C_B_YELLOW"\033[33;1m"
2.4.1.10 Color Cyan
C_CYAN"\033[36m"
2.4.1.11 Color Def
C_DEF"\033[m"
2.4.1.12 Color Green
C_GREEN"\033[32m"
2.4.1.13 Color Magenta
C_MAGENTA"\033[35m"
2.4.1.14 Color Red
C_RED"\033[31m"
2.4.1.15 Color White
C_WHITE"\033[37m"
2.4.1.16 Color Yellow
C_YELLOW"\033[33m"

2.4.2 FileConsumer

class eprosima::fastdds::dds::FileConsumer : public eprosima::fastdds::dds::OStreamConsumerFileConsumer()
Default constructor: filename = “output.log”, append = false.FileConsumer(const std::string &filename, bool append = false)
Constructor with parameters.Parameters:
* filename – path of the output file where the log will be wrote.
* append – indicates if the consumer must append the content in the filename.

2.4.3 Log

class eprosima::fastdds::dds::Log

Logging utilities. Logging is accessed through the three macros above, and configuration on the log output can be achieved through static methods on the class. Logging at various levels can be disabled dynamically (through the Verbosity level) or statically (through the LOG_NO_[VERB] macros) for maximum performance.

2.4.4 LogConsumer

class LogConsumer
Consumes a log entry to output it somewhere.Subclassed by eprosima::fastdds::dds::OStreamConsumer

2.4.5 EPROSIMA_LOG_ERROR

2.4.6 EPROSIMA_LOG_INFO

2.4.7 EPROSIMA_LOG_WARNING

2.4.8 OStreamConsumer

2.4.9 StdoutConsumer

2.4.10 StdoutErrConsumer

2.5 Statistics

2.5.1 DomainParticipant

class eprosima::fastdds::statistics::dds::DomainParticipant : public eprosima::fastdds::dds::DomainParticipant

Class DomainParticipant: extends standard DDS DomainParticipant class to include specific methods for the Statistics module

2.5.2 DataWriterQos

class eprosima::fastdds::statistics::dds::DataWriterQos : public eprosima::fastdds::dds::DataWriterQos

Class DataWriterQos: extends standard DDS DataWriterQos class to include specific default constructor for the recommended DataWriterQos profile.

2.5.3 DataReaderQos

class eprosima::fastdds::statistics::dds::DataReaderQos : public eprosima::fastdds::dds::DataReaderQos

Class DataReaderQos: extends standard DDS DataReaderQos class to include specific default constructor for the recommended DataReaderQos profile.

2.5.4 Topic names

参考

1、Fast DDS 官方–C++ API Reference
2、Fast DDS 深入理解,吐血整理

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/600351.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

nginx连接数和性能优化

目录 一&#xff1a;介绍 二&#xff1a;优化配置 三&#xff1a;其他优化策略 一&#xff1a;介绍 Nginx是一个高性能的HTTP和反向代理服务器&#xff0c;具有许多用于优化连接数和性能的配置选项。以下是一些关键的配置和优化建议&#xff1a; 1&#xff1a;worker_proc…

Spark概述

Spark概述 Spark是什么 Apache Spark是一个快速的&#xff0c;多用途的集群计算系统&#xff0c;相对于Hadoop MapReduce将中间结果保存在磁盘中&#xff0c;Spark使用了内存保存中间结果&#xff0c;能在数据尚未写入硬盘时在内存中进行运算Spark只是一个计算框架&#xff0c;…

Mac Install Parallels Desktop 19.1.0

资料准备 ParallelsDesktop-19.1.0-54729.dmg Parallels Desktop Activation Tool 4.0.0 [MacKed].dmg链接: https://pan.baidu.com/s/1kxUKreiKdJXQIPXAJ8LJsA?pwd6666 提取码: 6666 –来自百度网盘超级会员v7的分享 双击 ParallelsDesktop-19.1.0-54729.dmg 点击打开 …

Apple 移动设备管理常见问题解答

什么是 Apple 移动设备管理 (MDM)&#xff1f; Apple 在企业中的扩张带来了生产力更高的员工队伍以及员工真正在任何地方工作的能力。 但更多的自由、不断扩大的边界和新的操作系统也会带来挑战。 任何规模的组织都必须让每个人的设备保持最佳运行状态&#xff0c;确保硬件和网…

Android studio环境配置

1.搜索android studio下载 Android Studio - Download 2.安装 3.配置环境 配置gradle&#xff0c;gradle参考网络配置。最后根据项目需求选择不同的jdk。

flutter 五:MaterialApp

MaterialApp const MaterialApp({super.key,this.navigatorKey, //导航键this.scaffoldMessengerKey, //scaffold管理this.home, //首页Map<String, WidgetBuilder> this.routes const <String, WidgetBuilder>{}, //路由this.initialRoute, //初始路由th…

Oracle START WITH 递归语句的使用方法及示例

Oracle数据库中的START WITH语句经常与CONNECT BY子句一起使用&#xff0c;以实现对层次型数据的查询。这种查询模式非常适用于处理具有父子关系的数据&#xff0c;如组织结构、分类信息等。 理解START WITH和CONNECT BY 在层次型查询中&#xff0c;START WITH定义了层次结构…

【SpringMVC】常用注解

什么是MVC&#xff1f; MVC是一种程序分层开发模式&#xff0c;分别是Model&#xff08;模型&#xff09;&#xff0c;View&#xff08;视图&#xff09;以及Controller&#xff08;控制器&#xff09;。这样做可以将程序的用户界面和业务逻辑分离&#xff0c;使得代码具有良好…

Leetcode2966. 划分数组并满足最大差限制

Every day a Leetcode 题目来源&#xff1a;2966. 划分数组并满足最大差限制 解法1&#xff1a;排序 将数组 nums 从小到大排序&#xff0c;每三个一组插入答案&#xff0c;如果有 nums[i 2] - nums[i] > k&#xff0c;则不满足要求&#xff0c;返回空数组。 代码&…

专业实习day3、4(路由器做内网访问公网)

专业实习 代码 display ip interface brief 显示当前设备下所有接口IP undo IP地址支持覆盖&#xff0c;但是正常的命令不能覆盖必须undo&#xff08;删除&#xff09;掉 un in en 在做配置的过程中&#xff0c;设备系统一般都会出现一些提示或者告警之类的东西&#xff0c;从…

matplotlib 虚战1

EDA 入门 visualization.py import matplotlib matplotlib.use("TkAgg")import pandas as pd from matplotlib import pyplot as plt import warningswarnings.filterwarnings(ignore)df pd.read_csv("diabetes.csv")# look at the first 5 rows of the…

字节填充与0比特填充以及数据链路的基本问题

目录 字节填充&#xff1a; 比特填充&#xff1a; 数据链路有三个基本问题 1.封装成帧 2.透明传输 3.差错检测 首先介绍一下PPP的帧结构&#xff1a; 首部的第一个字段和尾部的第二个字段都是标志字段F(Flag)&#xff0c;规定为0x7E (符号“0x”表示它后面的字符是用十六…

AntV-G6 -- 将G6图表应用到项目中

1. 效果图 2. 安装依赖 npm install --save antv/g6 3. 代码 import { useEffect } from alipay/bigfish/react; import G6 from antv/g6;const data {id: root,label: 利息收入,subLabel: 3,283.456,ratio: 3,children: [{id: child-a,label: 平均利息,subLabel: 9%,ratio:…

MySQL-约束

约束是作用在表中字段的规则&#xff0c;用于限制存储在表中的数据。 约束是作用于表中的字段上的&#xff0c;我们可以在创建表/修改表的时候添加约束。 目的&#xff1a;保证数据库中数据的正确&#xff0c;有效性和完整性。 常见约束&#xff1a; 举个例子&#xff1a;假…

Wrk压测发送Post请求的正确姿势

一、Wrk简介 wrk 是一个能够在单个多核 CPU 上产生显著负载的现代 HTTP 基准测试工具。它采用了多线程设计&#xff0c;并使用了像 epoll 和 kqueue 这样的可扩展事件通知机制。此外&#xff0c;用户可以指定 LuaJIT 脚本来完成 HTTP 请求生成、响应处理和自定义报告等功能。 …

多内层神经网络具有先天的不可解释性

多层神经网络的不可解释性是指其内部的决策过程很难被人类理解和解释。这主要是因为多层神经网络具有大量的神经元和多个层次的连接&#xff0c;使得网络的决策过程变得非常复杂。 具体而言&#xff0c;多层神经网络中每一层的神经元会根据输入的特征进行加权组合和非线性变换&…

数据结构学习 jz60 n个骰子的点数

关键词&#xff1a;动态规划 滚动数组优化 这道题还是不难的&#xff0c;就是特别纠结要怎么优化这个存储空间以及动态规划的方法&#xff0c;因为我觉得这个方法好原始&#xff0c;最后决定不优化了。最后发现题解也是这个原始的样子&#xff0c;我就放心了。用时38min。 题…

uView NoticeBar 滚动通知

该组件用于滚动通告场景&#xff0c;有多种模式可供选择 #平台差异说明 App&#xff08;vue&#xff09;App&#xff08;nvue&#xff09;H5小程序√√√√ #基本使用 通过text参数设置需要滚动的内容 <template><view><u-notice-bar :text"text1&quo…

mysql函数和存储过程

在MySQL中&#xff0c;函数&#xff08;Function&#xff09;和存储过程&#xff08;Stored Procedure&#xff09;都是由SQL声明构成的编程构件&#xff0c;它们被存储在数据库中以便重复使用。下面将详细介绍两者的区别、使用场景&#xff0c;并提供代码示例。 区别 返回值&…