lib/Ekahau/Response/LocationEstimate.pm

filter: Statementstmt 100% 13 / 13 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 50.0% 1 / 2 totaltotal 90.9% 20 / 22 CC 2 SCAR 3.2
CC
2
Cov
93%
init
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« lib/Ekahau/Response/AreaList.pm ↑ Summary lib/Ekahau/Response/StopAreaTrackOK.pm »
1 package Ekahau::Response::LocationEstimate;
2 15 ▶use base 'Ekahau::Response'; our $VERSION=Ekahau::Response::VERSION;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 # Written by Scott Gifford <gifford@umich.edu>
5 # Copyright (C) 2004 The Regents of the University of Michigan.
6 # See the file LICENSE included with the distribution for license
7 # information.
8  
9 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 15 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12  
13 =head1 NAME
14  
15 Ekahau::Response::LocationEstimate - Contains an estimate of an object's location
16  
17 =head1 SYNOPSIS
18  
19 When an object is being tracked by Ekahau, you'll receive periodic
20 estimates of its location, in the form of these objects.
21  
22 =head1 DESCRIPTION
23  
24 =head2 Constructor
25  
26 Generally you will not want to construct these objects yourself; they
27 are created by L<Ekahau::Response|Ekahau::Response>, and use its constructor.
28  
29 =head2 Methods
30  
31 =cut
32  
33 # Internal method
34 sub init
35 11 ▶{
Subroutine init: called CC=2 SCAR=7.6
Pod undocumented
36 warn "Created Ekahau::Response::LocationEstimate object\n"
37 11 ▶ if ($ENV{VERBOSE});
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"VERBOSE"} 0 11 11
38 }
39  
40 =head3 get_props ( @prop_names )
41  
42 Inherited from L<Ekahau::Response::get_props|Ekahau::Response/get_props>. Returns a hash
43 containing the values for the list of L<Properties|/Properties> in
44 C<@prop_names>. If C<@prop_names> is empty, all properties will be
45 returned.
46  
47 =cut
48  
49 =head3 get_prop ( $prop_name )
50  
51 Inherited from L<Ekahau::Response::get_prop|Ekahau::Response/get_prop>. Returns the value for
52 one of this object's L<Properties|/Properties>, specified by C<$prop_name>. If
53 no property named C<$prop_name> exists, C<undef> is returned.
54  
55 =cut
56  
57 =head3 type ( )
58  
59 Returns the string I<LocationEstimate>, to identify the type of this object.
60  
61 =cut
62  
63 sub type
64 2 ▶{
Subroutine type: called CC=1 SCAR=0.0
Pod documented
65 2 'LocationEstimate';
66 }
67  
68 =head2 Properties
69  
70 Properties can be retreived with L<get_prop|/get_prop> or L<get_props|/get_props>. The
71 list of properties below may not be complete, and not all properties
72 will be available for all objects. Property names are case-sensitive.
73  
74 =head3 accurateX
75  
76 The X coordinate of the most accurate position information available
77 for the device. The extra accuracy comes at the expense of some
78 additional time to gather and process information, so the information
79 may be slightly older than that available in L<latestX|/latestX>
80  
81 =head3 accurateY
82  
83 The X coordinate of the most accurate position information available
84 for the device.
85  
86 =head3 accurateTime
87  
88 The time of the last accurate position information update.
89  
90 =head3 accurateContextId
91  
92 The location context of the last accurate position information update.
93  
94 =head3 accurateExpectedError
95  
96 The expected error of the last accurate position information update,
97 in meters or feet depending on configuration.
98  
99 =head3 latestX
100  
101 The X coordinate of the latest position information available for the
102 device. The speedy update comes at the expense of some accuracy, so
103 the information may be somewhat inaccurate and jittery. More
104 accurate, but older, information is available in L<accurateX|/accurateX>
105  
106 =head3 latestY
107  
108 The Y coordinate of the latest position information available for the
109 device.
110  
111 =head3 latestTime
112  
113 The time of the last position information update.
114  
115 =head3 latestContexId
116  
117 The location context of the last position information update.
118  
119 =head3 latestExpectedError
120  
121 The expected error of the last accurate position information update,
122 in meters or feet depending on configuration.
123  
124 =head3 speed
125  
126 The speed the device being tracked is moving.
127  
128 =head3 heading
129  
130 The heading of the device being tracked.
131  
132 =head1 AUTHOR
133  
134 Scott Gifford E<lt>gifford@umich.eduE<gt>, E<lt>sgifford@suspectclass.comE<gt>
135  
136 Copyright (C) 2005 The Regents of the University of Michigan.
137  
138 See the file LICENSE included with the distribution for license
139 information.
140  
141  
142 =head1 SEE ALSO
143  
144 L<Ekahau::Response|Ekahau::Response>, L<Ekahau::Base|Ekahau::Base>.
145  
146 =cut
147  
148 15 1;
« lib/Ekahau/Response/AreaList.pm ↑ Summary lib/Ekahau/Response/StopAreaTrackOK.pm »