| 1 | package Ekahau::Response::DeviceList; | ||||||||||
| 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 | =head1 NAME | ||||||||||
| 13 | |||||||||||
| 14 | Ekahau::Response::DeviceList - A list of devices visible to Ekahau | ||||||||||
| 15 | |||||||||||
| 16 | =head1 SYNOPSIS | ||||||||||
| 17 | |||||||||||
| 18 | Contains a list of devices visible to Ekahau. This response only | ||||||||||
| 19 | contains the device identifiers, and no other information about the | ||||||||||
| 20 | devices. This class inherits from L<Ekahau::Response|Ekahau::Response> , and methods | ||||||||||
| 21 | that class can be used on this object. | ||||||||||
| 22 | |||||||||||
| 23 | =head1 DESCRIPTION | ||||||||||
| 24 | |||||||||||
| 25 | =head2 Constructor | ||||||||||
| 26 | |||||||||||
| 27 | Generally you will not want to construct these objects yourself; they | ||||||||||
| 28 | are created by L<Ekahau::Response|Ekahau::Response>, and use its constructor. | ||||||||||
| 29 | |||||||||||
| 30 | =head2 Methods | ||||||||||
| 31 | |||||||||||
| 32 | =cut | ||||||||||
| 33 | |||||||||||
| 34 | # Internal method | ||||||||||
| 35 | sub init | ||||||||||
| 36 | 16 | ▶ | { | ||||||||
|
Subroutine
init: called CC=2 SCAR=7.6
Pod
undocumented
| |||||||||||
| 37 | warn "Created Ekahau::Response::DeviceList object\n" | ||||||||||
| 38 | 16 | ▶ | if ($ENV{VERBOSE}); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 39 | } | ||||||||||
| 40 | |||||||||||
| 41 | =head3 devices ( ) | ||||||||||
| 42 | |||||||||||
| 43 | Returns the list of device identifiers contained in this response. | ||||||||||
| 44 | |||||||||||
| 45 | =cut | ||||||||||
| 46 | |||||||||||
| 47 | sub devices | ||||||||||
| 48 | 14 | ▶ | { | ||||||||
|
Subroutine
devices: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 49 | 14 | my $self = shift; | |||||||||
| 50 | 14 | keys %{$self->{params}}; | |||||||||
| 51 | } | ||||||||||
| 52 | |||||||||||
| 53 | =head3 type ( ) | ||||||||||
| 54 | |||||||||||
| 55 | Returns the string I<DeviceList>, to identify the type of this object. | ||||||||||
| 56 | |||||||||||
| 57 | =cut | ||||||||||
| 58 | |||||||||||
| 59 | sub type | ||||||||||
| 60 | 9 | ▶ | { | ||||||||
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 61 | 9 | 'DeviceList'; | |||||||||
| 62 | } | ||||||||||
| 63 | |||||||||||
| 64 | =head1 AUTHOR | ||||||||||
| 65 | |||||||||||
| 66 | Scott Gifford E<lt>gifford@umich.eduE<gt>, E<lt>sgifford@suspectclass.comE<gt> | ||||||||||
| 67 | |||||||||||
| 68 | Copyright (C) 2005 The Regents of the University of Michigan. | ||||||||||
| 69 | |||||||||||
| 70 | See the file LICENSE included with the distribution for license | ||||||||||
| 71 | information. | ||||||||||
| 72 | |||||||||||
| 73 | |||||||||||
| 74 | =head1 SEE ALSO | ||||||||||
| 75 | |||||||||||
| 76 | L<Ekahau::Response|Ekahau::Response>, L<Ekahau::DeviceProperties|Ekahau::DeviceProperties>, L<Ekahau::Base|Ekahau::Base>. | ||||||||||
| 77 | |||||||||||
| 78 | =cut | ||||||||||
| 79 | |||||||||||
| 80 | 15 | 1; | |||||||||