|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.marineapi.provider.AbstractProvider<HeadingEvent>
net.sf.marineapi.provider.HeadingProvider
public class HeadingProvider
Heading provider reports the vessel's current heading. Data is captured from HDT, HDM or HDG sentences.
HeadingEvent,
HeadingListener| Constructor Summary | |
|---|---|
HeadingProvider(SentenceReader reader)
Creates a new intance of HeadingProvider. |
|
| Method Summary | |
|---|---|
protected HeadingEvent |
createProviderEvent()
Creates a ProviderEvent of type T. |
protected boolean |
isReady()
Tells if provider has captured the required sentences for creating new ProviderEvent. |
protected boolean |
isValid()
Tells if the captured sentence events contain valid data to be dispatched to ProviderListeners. |
| Methods inherited from class net.sf.marineapi.provider.AbstractProvider |
|---|
addListener, getSentences, hasAll, hasOne, readingPaused, readingStarted, readingStopped, removeListener, sentenceRead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeadingProvider(SentenceReader reader)
reader - Reader for capturing heading sentences.| Method Detail |
|---|
protected HeadingEvent createProviderEvent()
AbstractProviderProviderEvent of type T.
createProviderEvent in class AbstractProvider<HeadingEvent>protected boolean isReady()
AbstractProvider
isReady in class AbstractProvider<HeadingEvent>protected boolean isValid()
AbstractProvider
isValid in class AbstractProvider<HeadingEvent>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||