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.hqwc.cn/news/325254.html

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

相关文章

使用HttpSession和过滤器实现一个简单的用户登录认证的功能

这篇文章分享一下怎么通过session结合过滤器来实现控制登录访问的功能&#xff0c;涉及的代码非常简单&#xff0c;通过session保存用户登录的信息&#xff0c;如果没有用户登录的话&#xff0c;会在过滤器中处理&#xff0c;重定向回登录页面。 创建一个springboot项目&#…

【Turtle库】海绵宝宝

在这个充满创意与想象力的时代&#xff0c;我们决定挑战一项富有意义且有趣的使命——使用Python编程语言绘制海绵宝宝。这个经典的角色&#xff0c;以其独特的魅力和无与伦比的搞笑天赋&#xff0c;已经成为了无数人心中的童年回忆。现在&#xff0c;我们希望通过Python的强大…

了解统计分析中的岭回归

一、介绍 在统计建模和机器学习领域&#xff0c;回归分析是用于理解变量之间关系的基本工具。在各种类型的回归技术中&#xff0c;岭回归是一种特别有用的方法&#xff0c;尤其是在处理多重共线性和过拟合时。本文深入探讨了岭回归的概念、其数学基础、应用、优点和局限性。 在…

【unity】Obi插件架构组成(参数详细解释)——解算器四面板设置、三种更新器、参与者介绍

文章目录 一、架构&#xff08;Architecture&#xff09;1.1 Obi解算器&#xff08;ObiSolver&#xff09;1.2 ObiUpdater1.3 ObiActorBlueprint1.4 Obi参与者&#xff08;ObiActor&#xff0c;如ObiRope等&#xff09; 二、Obi解算器&#xff08;ObiSolver&#xff09;2.1 解算…

机器视觉兄弟们,没有项目订单,机器视觉项目行业难题来了

产品没一个正形&#xff0c;光源像是打了几十年的光棍一样&#xff0c;偏偏配不上&#xff0c;n次“相亲”之后图像硬是“阴晴圆缺”&#xff0c;老板阴阳怪气你这打不出来&#xff0c;给客户看之后说&#xff0c;这都打不出来&#xff0c;你们不行啊。 我听了后真想&#xff…

基于单片机的农田灌溉系统(论文+源码)

1.系统设计 本系统主要实现如下目标&#xff1a; 1&#xff0e;可以实时监测土壤湿度&#xff1b; 2&#xff0e;土壤湿度太低时&#xff0c;进行浇水操作&#xff1b; 3&#xff0e;可以按键设置湿度的触发阈值&#xff1b; 4. 可以实现远程操控 5&#xff0e;可以实现手…

跟随chatgpt从零开始安装git(Windows系统)

为什么我们要安装Git&#xff1f;Git有什么用&#xff1f; 1. 版本控制&#xff1a;Git 可以追踪代码的所有变化&#xff0c;记录每个提交的差异&#xff0c;使您能够轻松地回溯到任何历史版本或比较不同版本之间的差异。 2. 分支管理&#xff1a;通过 Git 的分支功能&#xff…

​已解决java.lang.ArrayIndexOutOfBoundsException异常的正确解决方法,亲测有效!!!​

已解决java.lang.ArrayIndexOutOfBoundsException异常的正确解决方法&#xff0c;亲测有效&#xff01;&#xff01;&#xff01; 目录 报错问题 解决思路 解决方法 总结 Q1 - 报错问题 java.long.ArrayIndexOutOfBoundsException 是Java中的一个运行时异常​&#xff0c…

PHPStudy快速搭建网站并结合内网穿透远程访问本地站点

文章目录 [toc]使用工具1. 本地搭建web网站1.1 下载phpstudy后解压并安装1.2 打开默认站点&#xff0c;测试1.3 下载静态演示站点1.4 打开站点根目录1.5 复制演示站点到站网根目录1.6 在浏览器中&#xff0c;查看演示效果。 2. 将本地web网站发布到公网2.1 安装cpolar内网穿透2…

04set注入专题/简单类型/数组/List/Set/Map/空字符串/null/特殊符号

1.1注入外部Bean 在之前使用的案例就是注入外部Bean的方式。 <!-- class属性声明要管理哪个类中的对象 property标签的name是提示set方法名ref标签指明注入的bean的id--><bean id"userServiceBean" class"com.powernode.spring6.service.UserService…

磁盘损坏0x80070570

要修复的文件在E盘&#xff0c;那就输入&#xff1a;chkdsk e&#xff1a; /f 原文&#xff1a;https://www.haozhuangji.com/xtjc/111213592.html

WEB前端知识点整理(HTML+CSS+JAVASCRTPT)

1.HTML5、HTML和XHTML都是用于创建网页的标记语言&#xff0c;它们之间有一些关键的区别&#xff1a; &#xff08;1&#xff09;语法和规范&#xff1a; HTML5&#xff1a; HTML5是HTML标准的最新版本&#xff0c;引入了许多新的元素和API&#xff0c;以提供更丰富的功能和更…