Net::GPSD3::Return::WATCH - Net::GPSD3 Return WATCH Object


Net-GPSD3 documentation Contained in the Net-GPSD3 distribution.

Index


Code Index:

NAME

Top

Net::GPSD3::Return::WATCH - Net::GPSD3 Return WATCH Object

SYNOPSIS

Top

DESCRIPTION

Top

Provides a Perl object interface to the WATCH object returned by the GPSD daemon.

METHODS

Top

class

Returns the object class

string

Returns the JSON string

parent

Return the parent Net::GPSD3 object

enabled

enable (deprecated)

json

nmea

raw

scaled

timing

BUGS

Top

Log on RT and Send to gpsd-dev email list

SUPPORT

Top

DavisNetworks.com supports all Perl applications including this package.

Try gpsd-dev email list

AUTHOR

Top

  Michael R. Davis
  CPAN ID: MRDVT
  STOP, LLC
  domain=>michaelrdavis,tld=>com,account=>perl
  http://www.stopllc.com/

COPYRIGHT

Top

SEE ALSO

Top

Net::GPSD3, Net::GPSD3::Return::Unknown


Net-GPSD3 documentation Contained in the Net-GPSD3 distribution.
package Net::GPSD3::Return::WATCH;
use strict;
use warnings;
use base qw{Net::GPSD3::Return::Unknown};

our $VERSION='0.14';

sub enabled {
  my $self=shift;
  return $self->{"enable"} || $self->{"enabled"}; #reverse once we move to the new protocol expected 3.5
}


sub enable {shift->enabled(@_)}; #bad protocol name

sub json {shift->{"json"}};

sub nmea {shift->{"nmea"}};

sub raw {shift->{"raw"}};

sub scaled {shift->{"scaled"}};

sub timing {shift->{"timing"}};

1;