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::DataWriterListener

eprosima::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::OStreamConsumer


FileConsumer()
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 深入理解,吐血整理

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

Spark MLlib简介与机器学习流程

在大数据领域&#xff0c;机器学习是一个关键的应用领域&#xff0c;可以用于从海量数据中提取有价值的信息和模式。Apache Spark MLlib是一个强大的机器学习库&#xff0c;可以在分布式大数据处理环境中进行机器学习任务。本文将深入介绍Spark MLlib的基本概念、机器学习流程以…

集合-及其各种特征详解

集合 概念&#xff1a;是提供一种存储空间 可变 的存储模型&#xff0c;存储的数据容量可以发生改变。&#xff08;也就是集合容量不固定&#xff09; 集合关系图 绿色的代表接口&#xff0c;蓝色的代表接口的实现类 单列集合 Collection(接口) 概述&#xff1a;单列集合的…

SSH 密钥身份验证和管理

安全外壳协议&#xff08;Security Shell Protocol&#xff09;是一种应用于计算机网络的安全通信协议&#xff0c;其提供的服务可用于保护网络上的连接和数据传输安全性&#xff0c;其核心思想是为网络上的两台计算机之间搭建一个安全的外壳&#xff0c;以保护数据传输的安全性…

企业微信开发:自建应用:接收消息(企业内部服务器)/回调配置

概述 在企业微信的自建应用中&#xff0c;用户触发了某些行为&#xff08;发送消息、进行菜单操作或者外部联系人变更等&#xff09;&#xff0c;要发送相关信息给企业内部服务器。 备注&#xff1a;接收消息 和 回调&#xff0c;在本文中指代相同的行为&#xff0c;即企业微信…

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

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

【管理篇 / 恢复】❀ 08. 文件权限对macOS下用命令刷新固件的影响 ❀ FortiGate 防火墙

【简介】虽然上篇文章中成功的在macOS下刷新了固件&#xff0c;但是很多小伙伴在实际操作中碰到了无法成功的状况&#xff0c;我们来看看最常见的一种。 在/private/tftpboot目录拷贝另一个版本的固件文件&#xff0c;具体拷贝过程不再详述。 打开终端&#xff0c;输入命令 sud…

Java内存泄漏问题分析

内存泄漏也是一个老八股文了&#xff0c;下面来看看实际项目中内存泄漏的场景分析 时间回到9月某一天 分析阶段一 现象&#xff1a;在当时各种请求在那段时间响应很慢&#xff0c;特别是 kafka异步消费线程 不足点&#xff1a;当时主业务基本不可用&#xff0c;有点急&#…

线性代数 --- 为什么LU分解中L矩阵的行列式一定等于(+-)1?

以下是关于下三角矩阵L的行列式一定等于-1的一些说明 证明&#xff1a;在LU分解中&#xff0c;下三角矩阵L的行列式一定是. 在证明之前&#xff0c;我这里先补充几条关于行列式的性质&#xff1a; 性质1&#xff1a;对于三角矩阵而言&#xff0c;不论是上三角矩阵还是下三角矩…

分布式之任务调度学习一

1 任务调度 1.1 什么时候需要任务调度&#xff1f; 1.1.1 任务调度的背景 在业务系统中有很多这样的场景&#xff1a; 1、账单日或者还款日上午 10 点&#xff0c;给每个信用卡客户发送账单通知&#xff0c;还款通知。如何判断客户的账单日、还款日&#xff0c;完成通知的发…

【数据库系统概论】数据库并发控制机制——并发操作带来的数据不一致性问题有哪些

系统文章目录 数据库的四个基本概念&#xff1a;数据、数据库、数据库管理系统和数据库系统 数据库系统的三级模式和二级映射 数据库系统外部的体系结构 数据模型 关系数据库中的关系操作 SQL是什么&#xff1f;它有什么特点&#xff1f; 数据定义之基本表的定义/创建、修改和…

扩展 apiserver 连接认证 ip, apiserver证书更新

本文来自我的博客地址 文章目录 问题场景:问题分析:问题解决:查看 apiserver 证书支持的 ip 或 host使用 openssl 生成证书:再次查看 apiserver 证书支持的 ip 或 host 再次尝试将 master 加点加入参考 问题场景: k8s 1.28.1 集群后期新增 vip apiserver 证书不支持 vip 引入…

[NSSRound#3 Team]This1sMysql

[NSSRound#3 Team]This1sMysql 源码 <?php show_source(__FILE__); include("class.php"); $conn new mysqli();if(isset($_POST[config]) && is_array($_POST[config])){foreach($_POST[config] as $key > $val){$value is_numeric($var)?(int)$…

Vary: Scaling up the Vision Vocabulary for Large Vision-Language Models

ABSTRACT 现代大规模视觉-语言模型&#xff08;LVLMs&#xff09;采用了相同的视觉词汇-CLIP&#xff0c;可以涵盖大多数常见的视觉任务。然而&#xff0c;对于一些需要密集和细粒度视觉感知的特殊视觉任务&#xff0c;例如文档级OCR或图表理解&#xff0c;尤其是在非英语环境…

PHP运行环境之宝塔软件安装及Web站点部署流程

PHP运行环境之宝塔软件安装及Web站点部署流程 1.1安装宝塔软件 官网&#xff1a;https://www.bt.cn/new/index.html 自行注册账号&#xff0c;稍后有用 下载安装页面&#xff1a;宝塔面板下载&#xff0c;免费全能的服务器运维软件 1.1.1Linux 安装 如图所示&#xff0c;宝…

ubuntu18.04+realsenseD455制作TUM数据集

教程目录 一、本机环境二、安装RealSense SDK三、录制rosbag四、制作数据集四、安装ROS-RealSense五、测试数据集一、本机环境 Ubuntu系统ROS系统RealSense18.04melodicD455二、安装RealSense SDK 1、首先注册服务器的公钥 sudo apt-key adv --keyserver keyserver.ubuntu.co…

Protobuf 安装与使用

Protobuf 安装与使用 1 环境2 安装 [apt安装]2 安装 [源码安装]1 依赖2 下载 protobuf3 解压4 编译安装5 配置环境 2 命令查看版本卸载 3 使用书写 .proto 文件编译 .proto 文件生成 cpp 文件编写 cpp 文件编译运行 参考 1 环境 ubuntn 20.04 protobuf v3.6.1 2 安装 [apt安装…

使用STM32的定时器和PWM实现LCD1602的背光控制

使用STM32的定时器和PWM功能来控制LCD1602的背光是一种常见的方法&#xff0c;它可以实现背光的亮度调节和闪烁效果。在本文中&#xff0c;我们将讨论如何利用STM32的定时器和PWM来实现LCD1602的背光控制&#xff0c;并提供相应的代码示例。 1. 硬件连接和初始化 首先&#x…

Jupyter Lab | 在指定文件夹的 jupyter 中使用 conda 虚拟环境

Hi&#xff0c;大家好&#xff0c;我是源于花海。本文主要了解如何在指定文件夹的 jupyter 中使用 conda 虚拟环境&#xff0c;即在 conda 里面创建虚拟环境、将虚拟环境添加至 jupyter lab/notebook、安装软件包。 目录 一、创建虚拟环境 二、激活并进入虚拟环境 三、安装 …

C语言编译器(C语言编程软件)完全攻略(第二十九部分:Linux GCC简明教程(使用GCC编写C语言程序))

介绍常用C语言编译器的安装、配置和使用。 二十九、Linux GCC简明教程&#xff08;使用GCC编写C语言程序&#xff09; 市面上常见的 Linux 都是发行版本&#xff0c;典型的 Linux 发行版包含了 Linux 内核、桌面环境&#xff08;例如 GNOME、KDE、Unity 等&#xff09;和各种…

关于“Python”的核心知识点整理大全61

目录 注意 20.1.4 使用 jumbotron 设置主页的样式 index.html 20.1.5 设置登录页面的样式 login.html 20.1.6 设置 new_topic 页面的样式 new_topic.html 20.1.7 设置 topics 页面的样式 topics.html 元素&#xff0c;让它们在页面上显得大些&#xff08;见2&#xf…