All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.divpundir.mavlink.api.MavDialect.kt Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package com.divpundir.mavlink.api

public interface MavDialect {

    /**
     * The dialects that this dialect depends on.
     */
    public val dependencies: Set

    /**
     * The messages that are defined in this dialect. This does not include the messages of the dependencies.
     */
    public val messages: Map>>

    /**
     * Searches the dialect and its dependencies for the [MavMessage.MavCompanion] of the given [messageId]. Returns the
     * object if found, null otherwise.
     */
    public fun resolveCompanionOrNull(messageId: UInt): MavMessage.MavCompanion>?

    /**
     * Checks whether this dialect supports the message of the specified [messageId].
     */
    public fun supports(messageId: UInt): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy