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

net.sf.marineapi.nmea.sentence.WPLSentence Maven / Gradle / Ivy

The newest version!
/* 
 * WPLSentence.java
 * Copyright (C) 2010 Kimmo Tuukkanen
 * 
 * This file is part of Java Marine API.
 * 
 * 
 * Java Marine API is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 * 
 * Java Marine API is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with Java Marine API. If not, see .
 */
package net.sf.marineapi.nmea.sentence;

import net.sf.marineapi.nmea.util.Waypoint;

/**
 * Destination waypoint location and ID. This sentence is transmitted by some
 * GPS models in GOTO mode.
 * 

* Example:
* $GPWPL,5536.200,N,01436.500,E,RUSKI*1F * * @author Kimmo Tuukkanen */ public interface WPLSentence extends Sentence { /** * Get the destination waypoint. * * @return Waypoint * @throws net.sf.marineapi.nmea.parser.DataNotAvailableException If any of the * waypoint related data is not available. * @throws net.sf.marineapi.nmea.parser.ParseException If any of the waypoint * related fields contain unexpected or illegal value. */ Waypoint getWaypoint(); /** * Set the destination waypoint. * * @param wp Waypoint to set */ void setWaypoint(Waypoint wp); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy