CIGIPP/DefaultHandler.pm

filter: Statementstmt 3.1% 19 / 613 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 6.4% 4 / 62 Podpod 100% 58 / 58 totaltotal 11.0% 81 / 733 CC 57 SCAR 18.8
CC
57
Cov
3%
SymbolCircleDefinition_packet_handler
20.0
SymbolLineDefinition_packet_handler
20.0
IGControl_packet_handler
6.0
CRAP 6.6
« CIGIPP/SensorResponse.pm ↑ Summary CIGIPP/IGControl.pm »
1 package Rinchi::CIGIPP::DefaultHandler;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 require Exporter;
9  
10 1 our @ISA = qw(Exporter);
11  
12 # Items to export into callers namespace by default. Note: do not export
13 # names by default without a very good reason. Use EXPORT_OK instead.
14 # Do not simply export all your public functions/methods/constants.
15  
16 # This allows declaration use Rinchi::CIGIPP ':all';
17 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
18 # will save memory.
19 1 our %EXPORT_TAGS = ( 'all' => [ qw(
20
21 ) ] );
22  
23 1 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
24  
25 1 our @EXPORT = qw(
26
27 );
28  
29 1 our $VERSION = '0.01';
30  
31 # Below is stub documentation for your module. You'd better edit it!
32  
33 =head1 NAME
34  
35 Rinchi::CIGIPP - Perl extension for the Common Image Generator Interface.
36  
37 =head1 SYNOPSIS
38  
39 use Rinchi::CIGIPP;
40 blah blah blah
41  
42 =head1 DESCRIPTION
43  
44 This module provides an interface between an image generator and host computer
45 that is compliant with the CIGI ICD version 3.3.
46  
47 =head2 EXPORT
48  
49 None by default.
50  
51 =head1 METHODS
52  
53 =over 4
54  
55 =cut
56  
57 #==============================================================================
58  
59 =item new
60  
61 Constructor for Rinchi::CIGIPP::DefaultHandler.
62  
63 =cut
64  
65 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
66 0 my ($class, %args) = @_;
67 0 my $self = bless \%args, $class;
68 0 $args{'_Handlers'} = {
69 'StartOfMessage' => \&start_of_message_handler,
70 'EndOfMessage' => \&end_of_message_handler,
71 'IGControl' => \&IGControl_packet_handler,
72 'EntityControl' => \&EntityControl_packet_handler,
73 'ConformalClampedEntityControl' => \&ConformalClampedEntityControl_packet_handler,
74 'ComponentControl' => \&ComponentControl_packet_handler,
75 'ShortComponentControl' => \&ShortComponentControl_packet_handler,
76 'ArticulatedPartControl' => \&ArticulatedPartControl_packet_handler,
77 'ShortArticulatedPartControl' => \&ShortArticulatedPartControl_packet_handler,
78 'RateControl' => \&RateControl_packet_handler,
79 'CelestialSphereControl' => \&CelestialSphereControl_packet_handler,
80 'AtmosphereControl' => \&AtmosphereControl_packet_handler,
81 'EnvironmentalRegionControl' => \&EnvironmentalRegionControl_packet_handler,
82 'WeatherControl' => \&WeatherControl_packet_handler,
83 'MaritimeSurfaceConditionsControl' => \&MaritimeSurfaceConditionsControl_packet_handler,
84 'WaveControl' => \&WaveControl_packet_handler,
85 'TerrestrialSurfaceConditionsControl' => \&TerrestrialSurfaceConditionsControl_packet_handler,
86 'ViewControl' => \&ViewControl_packet_handler,
87 'SensorControl' => \&SensorControl_packet_handler,
88 'MotionTrackerControl' => \&MotionTrackerControl_packet_handler,
89 'EarthReferenceModelDefinition' => \&EarthReferenceModelDefinition_packet_handler,
90 'TrajectoryDefinition' => \&TrajectoryDefinition_packet_handler,
91 'ViewDefinition' => \&ViewDefinition_packet_handler,
92 'CollisionDetectionSegmentDefinition' => \&CollisionDetectionSegmentDefinition_packet_handler,
93 'CollisionDetectionVolumeDefinition' => \&CollisionDetectionVolumeDefinition_packet_handler,
94 'HAT_HOTRequest' => \&HAT_HOTRequest_packet_handler,
95 'LineOfSightSegmentRequest' => \&LineOfSightSegmentRequest_packet_handler,
96 'LineOfSightVectorRequest' => \&LineOfSightVectorRequest_packet_handler,
97 'PositionRequest' => \&PositionRequest_packet_handler,
98 'EnvironmentalConditionsRequest' => \&EnvironmentalConditionsRequest_packet_handler,
99 'SymbolSurfaceDefinition' => \&SymbolSurfaceDefinition_packet_handler,
100 'SymbolTextDefinition' => \&SymbolTextDefinition_packet_handler,
101 'SymbolCircleDefinition' => \&SymbolCircleDefinition_packet_handler,
102 'SymbolCircle' => \&SymbolCircle_packet_handler,
103 'SymbolLineDefinition' => \&SymbolLineDefinition_packet_handler,
104 'SymbolLineVertex' => \&SymbolLineVertex_packet_handler,
105 'SymbolClone' => \&SymbolClone_packet_handler,
106 'SymbolControl' => \&SymbolControl_packet_handler,
107 'ShortSymbolControl' => \&ShortSymbolControl_packet_handler,
108 'StartOfFrame' => \&StartOfFrame_packet_handler,
109 'HAT_HOTResponse' => \&HAT_HOTResponse_packet_handler,
110 'HAT_HOTExtendedResponse' => \&HAT_HOTExtendedResponse_packet_handler,
111 'LineOfSightResponse' => \&LineOfSightResponse_packet_handler,
112 'LineOfSightExtendedResponse' => \&LineOfSightExtendedResponse_packet_handler,
113 'SensorResponse' => \&SensorResponse_packet_handler,
114 'SensorExtendedResponse' => \&SensorExtendedResponse_packet_handler,
115 'PositionResponse' => \&PositionResponse_packet_handler,
116 'WeatherConditionsResponse' => \&WeatherConditionsResponse_packet_handler,
117 'AerosolConcentrationResponse' => \&AerosolConcentrationResponse_packet_handler,
118 'MaritimeSurfaceConditionsResponse' => \&MaritimeSurfaceConditionsResponse_packet_handler,
119 'TerrestrialSurfaceConditionsResponse' => \&TerrestrialSurfaceConditionsResponse_packet_handler,
120 'CollisionDetectionSegmentNotification' => \&CollisionDetectionSegmentNotification_packet_handler,
121 'CollisionDetectionVolumeNotification' => \&CollisionDetectionVolumeNotification_packet_handler,
122 'AnimationStopNotification' => \&AnimationStopNotification_packet_handler,
123 'EventNotification' => \&EventNotification_packet_handler,
124 'ImageGeneratorMessage' => \&ImageGeneratorMessage_packet_handler,
125 };
126  
127 0 return $self;
128 }
129  
130 #==============================================================================
131  
132 =item get_handlers()
133  
134 Get the handlers for message and packet events.
135  
136 =cut
137  
138 0 ▶sub get_handlers() {
Subroutine get_handlers: not called CC=1 SCAR=6.9
Pod documented
139 0 my ($self) = @_;
140 0 return $self->{'_Handlers'};
141 }
142  
143 #==============================================================================
144  
145 =item start_of_message_handler($message_number)
146  
147 Handler for start of message events.
148  
149 =cut
150  
151 0 ▶sub start_of_message_handler() {
Subroutine start_of_message_handler: not called CC=1 SCAR=6.9
Pod documented
152 0 my ($message_number) = @_;
153 0 print " <message number=\"$message_number\">\n";
154 }
155  
156 #==============================================================================
157  
158 =item end_of_message_handler($message_number)
159  
160 Handler for end of message events.
161  
162 =cut
163  
164 0 ▶sub end_of_message_handler() {
Subroutine end_of_message_handler: not called CC=1 SCAR=6.9
Pod documented
165 0 my ($message_number) = @_;
166 0 print " </message>\n";
167 }
168  
169 #==============================================================================
170  
171 =item IGControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
172  
173 Handler for IGControl data packets.
174  
175 =cut
176  
177 0 ▶sub IGControl_packet_handler() {
Subroutine IGControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
178 0 my ($tag, %attrs) = @_;
179 0 print " <$tag";
180 0 foreach my $attr (sort keys %attrs) {
181 0 my $val = $attrs{$attr};
182 0 $val =~ s/&/&amp;/g;
183 0 $val =~ s/</&lt;/g;
184 0 $val =~ s/>/&gt;/g;
185 0 $val =~ s/\"/&quot;/g;
186 0 $val =~ s/\'/&apos;/g;
187 0 print " $attr=\"$val\"";
188 }
189 0 print " />\n";
190 }
191 #==============================================================================
192  
193 =item EntityControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
194  
195 Handler for EntityControl data packets.
196  
197 =cut
198  
199 0 ▶sub EntityControl_packet_handler() {
Subroutine EntityControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
200 0 my ($tag, %attrs) = @_;
201 0 print " <$tag";
202 0 foreach my $attr (sort keys %attrs) {
203 0 my $val = $attrs{$attr};
204 0 $val =~ s/&/&amp;/g;
205 0 $val =~ s/</&lt;/g;
206 0 $val =~ s/>/&gt;/g;
207 0 $val =~ s/\"/&quot;/g;
208 0 $val =~ s/\'/&apos;/g;
209 0 print " $attr=\"$val\"";
210 }
211 0 print " />\n";
212 }
213 #==============================================================================
214  
215 =item ConformalClampedEntityControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
216  
217 Handler for ConformalClampedEntityControl data packets.
218  
219 =cut
220  
221 0 ▶sub ConformalClampedEntityControl_packet_handler() {
Subroutine ConformalClampedEntityControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
222 0 my ($tag, %attrs) = @_;
223 0 print " <$tag";
224 0 foreach my $attr (sort keys %attrs) {
225 0 my $val = $attrs{$attr};
226 0 $val =~ s/&/&amp;/g;
227 0 $val =~ s/</&lt;/g;
228 0 $val =~ s/>/&gt;/g;
229 0 $val =~ s/\"/&quot;/g;
230 0 $val =~ s/\'/&apos;/g;
231 0 print " $attr=\"$val\"";
232 }
233 0 print " />\n";
234 }
235 #==============================================================================
236  
237 =item ComponentControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
238  
239 Handler for ComponentControl data packets.
240  
241 =cut
242  
243 0 ▶sub ComponentControl_packet_handler() {
Subroutine ComponentControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
244 0 my ($tag, %attrs) = @_;
245 0 print " <$tag";
246 0 foreach my $attr (sort keys %attrs) {
247 0 my $val = $attrs{$attr};
248 0 $val =~ s/&/&amp;/g;
249 0 $val =~ s/</&lt;/g;
250 0 $val =~ s/>/&gt;/g;
251 0 $val =~ s/\"/&quot;/g;
252 0 $val =~ s/\'/&apos;/g;
253 0 print " $attr=\"$val\"";
254 }
255 0 print " />\n";
256 }
257 #==============================================================================
258  
259 =item ShortComponentControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
260  
261 Handler for ShortComponentControl data packets.
262  
263 =cut
264  
265 0 ▶sub ShortComponentControl_packet_handler() {
Subroutine ShortComponentControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
266 0 my ($tag, %attrs) = @_;
267 0 print " <$tag";
268 0 foreach my $attr (sort keys %attrs) {
269 0 my $val = $attrs{$attr};
270 0 $val =~ s/&/&amp;/g;
271 0 $val =~ s/</&lt;/g;
272 0 $val =~ s/>/&gt;/g;
273 0 $val =~ s/\"/&quot;/g;
274 0 $val =~ s/\'/&apos;/g;
275 0 print " $attr=\"$val\"";
276 }
277 0 print " />\n";
278 }
279 #==============================================================================
280  
281 =item ArticulatedPartControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
282  
283 Handler for ArticulatedPartControl data packets.
284  
285 =cut
286  
287 0 ▶sub ArticulatedPartControl_packet_handler() {
Subroutine ArticulatedPartControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
288 0 my ($tag, %attrs) = @_;
289 0 print " <$tag";
290 0 foreach my $attr (sort keys %attrs) {
291 0 my $val = $attrs{$attr};
292 0 $val =~ s/&/&amp;/g;
293 0 $val =~ s/</&lt;/g;
294 0 $val =~ s/>/&gt;/g;
295 0 $val =~ s/\"/&quot;/g;
296 0 $val =~ s/\'/&apos;/g;
297 0 print " $attr=\"$val\"";
298 }
299 0 print " />\n";
300 }
301 #==============================================================================
302  
303 =item ShortArticulatedPartControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
304  
305 Handler for ShortArticulatedPartControl data packets.
306  
307 =cut
308  
309 0 ▶sub ShortArticulatedPartControl_packet_handler() {
Subroutine ShortArticulatedPartControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
310 0 my ($tag, %attrs) = @_;
311 0 print " <$tag";
312 0 foreach my $attr (sort keys %attrs) {
313 0 my $val = $attrs{$attr};
314 0 $val =~ s/&/&amp;/g;
315 0 $val =~ s/</&lt;/g;
316 0 $val =~ s/>/&gt;/g;
317 0 $val =~ s/\"/&quot;/g;
318 0 $val =~ s/\'/&apos;/g;
319 0 print " $attr=\"$val\"";
320 }
321 0 print " />\n";
322 }
323 #==============================================================================
324  
325 =item RateControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
326  
327 Handler for RateControl data packets.
328  
329 =cut
330  
331 0 ▶sub RateControl_packet_handler() {
Subroutine RateControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
332 0 my ($tag, %attrs) = @_;
333 0 print " <$tag";
334 0 foreach my $attr (sort keys %attrs) {
335 0 my $val = $attrs{$attr};
336 0 $val =~ s/&/&amp;/g;
337 0 $val =~ s/</&lt;/g;
338 0 $val =~ s/>/&gt;/g;
339 0 $val =~ s/\"/&quot;/g;
340 0 $val =~ s/\'/&apos;/g;
341 0 print " $attr=\"$val\"";
342 }
343 0 print " />\n";
344 }
345 #==============================================================================
346  
347 =item CelestialSphereControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
348  
349 Handler for CelestialSphereControl data packets.
350  
351 =cut
352  
353 0 ▶sub CelestialSphereControl_packet_handler() {
Subroutine CelestialSphereControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
354 0 my ($tag, %attrs) = @_;
355 0 print " <$tag";
356 0 foreach my $attr (sort keys %attrs) {
357 0 my $val = $attrs{$attr};
358 0 $val =~ s/&/&amp;/g;
359 0 $val =~ s/</&lt;/g;
360 0 $val =~ s/>/&gt;/g;
361 0 $val =~ s/\"/&quot;/g;
362 0 $val =~ s/\'/&apos;/g;
363 0 print " $attr=\"$val\"";
364 }
365 0 print " />\n";
366 }
367 #==============================================================================
368  
369 =item AtmosphereControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
370  
371 Handler for AtmosphereControl data packets.
372  
373 =cut
374  
375 0 ▶sub AtmosphereControl_packet_handler() {
Subroutine AtmosphereControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
376 0 my ($tag, %attrs) = @_;
377 0 print " <$tag";
378 0 foreach my $attr (sort keys %attrs) {
379 0 my $val = $attrs{$attr};
380 0 $val =~ s/&/&amp;/g;
381 0 $val =~ s/</&lt;/g;
382 0 $val =~ s/>/&gt;/g;
383 0 $val =~ s/\"/&quot;/g;
384 0 $val =~ s/\'/&apos;/g;
385 0 print " $attr=\"$val\"";
386 }
387 0 print " />\n";
388 }
389 #==============================================================================
390  
391 =item EnvironmentalRegionControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
392  
393 Handler for EnvironmentalRegionControl data packets.
394  
395 =cut
396  
397 0 ▶sub EnvironmentalRegionControl_packet_handler() {
Subroutine EnvironmentalRegionControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
398 0 my ($tag, %attrs) = @_;
399 0 print " <$tag";
400 0 foreach my $attr (sort keys %attrs) {
401 0 my $val = $attrs{$attr};
402 0 $val =~ s/&/&amp;/g;
403 0 $val =~ s/</&lt;/g;
404 0 $val =~ s/>/&gt;/g;
405 0 $val =~ s/\"/&quot;/g;
406 0 $val =~ s/\'/&apos;/g;
407 0 print " $attr=\"$val\"";
408 }
409 0 print " />\n";
410 }
411 #==============================================================================
412  
413 =item WeatherControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
414  
415 Handler for WeatherControl data packets.
416  
417 =cut
418  
419 0 ▶sub WeatherControl_packet_handler() {
Subroutine WeatherControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
420 0 my ($tag, %attrs) = @_;
421 0 print " <$tag";
422 0 foreach my $attr (sort keys %attrs) {
423 0 my $val = $attrs{$attr};
424 0 $val =~ s/&/&amp;/g;
425 0 $val =~ s/</&lt;/g;
426 0 $val =~ s/>/&gt;/g;
427 0 $val =~ s/\"/&quot;/g;
428 0 $val =~ s/\'/&apos;/g;
429 0 print " $attr=\"$val\"";
430 }
431 0 print " />\n";
432 }
433 #==============================================================================
434  
435 =item MaritimeSurfaceConditionsControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
436  
437 Handler for MaritimeSurfaceConditionsControl data packets.
438  
439 =cut
440  
441 0 ▶sub MaritimeSurfaceConditionsControl_packet_handler() {
Subroutine MaritimeSurfaceConditionsControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
442 0 my ($tag, %attrs) = @_;
443 0 print " <$tag";
444 0 foreach my $attr (sort keys %attrs) {
445 0 my $val = $attrs{$attr};
446 0 $val =~ s/&/&amp;/g;
447 0 $val =~ s/</&lt;/g;
448 0 $val =~ s/>/&gt;/g;
449 0 $val =~ s/\"/&quot;/g;
450 0 $val =~ s/\'/&apos;/g;
451 0 print " $attr=\"$val\"";
452 }
453 0 print " />\n";
454 }
455 #==============================================================================
456  
457 =item WaveControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
458  
459 Handler for WaveControl data packets.
460  
461 =cut
462  
463 0 ▶sub WaveControl_packet_handler() {
Subroutine WaveControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
464 0 my ($tag, %attrs) = @_;
465 0 print " <$tag";
466 0 foreach my $attr (sort keys %attrs) {
467 0 my $val = $attrs{$attr};
468 0 $val =~ s/&/&amp;/g;
469 0 $val =~ s/</&lt;/g;
470 0 $val =~ s/>/&gt;/g;
471 0 $val =~ s/\"/&quot;/g;
472 0 $val =~ s/\'/&apos;/g;
473 0 print " $attr=\"$val\"";
474 }
475 0 print " />\n";
476 }
477 #==============================================================================
478  
479 =item TerrestrialSurfaceConditionsControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
480  
481 Handler for TerrestrialSurfaceConditionsControl data packets.
482  
483 =cut
484  
485 0 ▶sub TerrestrialSurfaceConditionsControl_packet_handler() {
Subroutine TerrestrialSurfaceConditionsControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
486 0 my ($tag, %attrs) = @_;
487 0 print " <$tag";
488 0 foreach my $attr (sort keys %attrs) {
489 0 my $val = $attrs{$attr};
490 0 $val =~ s/&/&amp;/g;
491 0 $val =~ s/</&lt;/g;
492 0 $val =~ s/>/&gt;/g;
493 0 $val =~ s/\"/&quot;/g;
494 0 $val =~ s/\'/&apos;/g;
495 0 print " $attr=\"$val\"";
496 }
497 0 print " />\n";
498 }
499 #==============================================================================
500  
501 =item ViewControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
502  
503 Handler for ViewControl data packets.
504  
505 =cut
506  
507 0 ▶sub ViewControl_packet_handler() {
Subroutine ViewControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
508 0 my ($tag, %attrs) = @_;
509 0 print " <$tag";
510 0 foreach my $attr (sort keys %attrs) {
511 0 my $val = $attrs{$attr};
512 0 $val =~ s/&/&amp;/g;
513 0 $val =~ s/</&lt;/g;
514 0 $val =~ s/>/&gt;/g;
515 0 $val =~ s/\"/&quot;/g;
516 0 $val =~ s/\'/&apos;/g;
517 0 print " $attr=\"$val\"";
518 }
519 0 print " />\n";
520 }
521 #==============================================================================
522  
523 =item SensorControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
524  
525 Handler for SensorControl data packets.
526  
527 =cut
528  
529 0 ▶sub SensorControl_packet_handler() {
Subroutine SensorControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
530 0 my ($tag, %attrs) = @_;
531 0 print " <$tag";
532 0 foreach my $attr (sort keys %attrs) {
533 0 my $val = $attrs{$attr};
534 0 $val =~ s/&/&amp;/g;
535 0 $val =~ s/</&lt;/g;
536 0 $val =~ s/>/&gt;/g;
537 0 $val =~ s/\"/&quot;/g;
538 0 $val =~ s/\'/&apos;/g;
539 0 print " $attr=\"$val\"";
540 }
541 0 print " />\n";
542 }
543 #==============================================================================
544  
545 =item MotionTrackerControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
546  
547 Handler for MotionTrackerControl data packets.
548  
549 =cut
550  
551 0 ▶sub MotionTrackerControl_packet_handler() {
Subroutine MotionTrackerControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
552 0 my ($tag, %attrs) = @_;
553 0 print " <$tag";
554 0 foreach my $attr (sort keys %attrs) {
555 0 my $val = $attrs{$attr};
556 0 $val =~ s/&/&amp;/g;
557 0 $val =~ s/</&lt;/g;
558 0 $val =~ s/>/&gt;/g;
559 0 $val =~ s/\"/&quot;/g;
560 0 $val =~ s/\'/&apos;/g;
561 0 print " $attr=\"$val\"";
562 }
563 0 print " />\n";
564 }
565 #==============================================================================
566  
567 =item EarthReferenceModelDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
568  
569 Handler for EarthReferenceModelDefinition data packets.
570  
571 =cut
572  
573 0 ▶sub EarthReferenceModelDefinition_packet_handler() {
Subroutine EarthReferenceModelDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
574 0 my ($tag, %attrs) = @_;
575 0 print " <$tag";
576 0 foreach my $attr (sort keys %attrs) {
577 0 my $val = $attrs{$attr};
578 0 $val =~ s/&/&amp;/g;
579 0 $val =~ s/</&lt;/g;
580 0 $val =~ s/>/&gt;/g;
581 0 $val =~ s/\"/&quot;/g;
582 0 $val =~ s/\'/&apos;/g;
583 0 print " $attr=\"$val\"";
584 }
585 0 print " />\n";
586 }
587 #==============================================================================
588  
589 =item TrajectoryDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
590  
591 Handler for TrajectoryDefinition data packets.
592  
593 =cut
594  
595 0 ▶sub TrajectoryDefinition_packet_handler() {
Subroutine TrajectoryDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
596 0 my ($tag, %attrs) = @_;
597 0 print " <$tag";
598 0 foreach my $attr (sort keys %attrs) {
599 0 my $val = $attrs{$attr};
600 0 $val =~ s/&/&amp;/g;
601 0 $val =~ s/</&lt;/g;
602 0 $val =~ s/>/&gt;/g;
603 0 $val =~ s/\"/&quot;/g;
604 0 $val =~ s/\'/&apos;/g;
605 0 print " $attr=\"$val\"";
606 }
607 0 print " />\n";
608 }
609 #==============================================================================
610  
611 =item ViewDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
612  
613 Handler for ViewDefinition data packets.
614  
615 =cut
616  
617 0 ▶sub ViewDefinition_packet_handler() {
Subroutine ViewDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
618 0 my ($tag, %attrs) = @_;
619 0 print " <$tag";
620 0 foreach my $attr (sort keys %attrs) {
621 0 my $val = $attrs{$attr};
622 0 $val =~ s/&/&amp;/g;
623 0 $val =~ s/</&lt;/g;
624 0 $val =~ s/>/&gt;/g;
625 0 $val =~ s/\"/&quot;/g;
626 0 $val =~ s/\'/&apos;/g;
627 0 print " $attr=\"$val\"";
628 }
629 0 print " />\n";
630 }
631 #==============================================================================
632  
633 =item CollisionDetectionSegmentDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
634  
635 Handler for CollisionDetectionSegmentDefinition data packets.
636  
637 =cut
638  
639 0 ▶sub CollisionDetectionSegmentDefinition_packet_handler() {
Subroutine CollisionDetectionSegmentDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
640 0 my ($tag, %attrs) = @_;
641 0 print " <$tag";
642 0 foreach my $attr (sort keys %attrs) {
643 0 my $val = $attrs{$attr};
644 0 $val =~ s/&/&amp;/g;
645 0 $val =~ s/</&lt;/g;
646 0 $val =~ s/>/&gt;/g;
647 0 $val =~ s/\"/&quot;/g;
648 0 $val =~ s/\'/&apos;/g;
649 0 print " $attr=\"$val\"";
650 }
651 0 print " />\n";
652 }
653 #==============================================================================
654  
655 =item CollisionDetectionVolumeDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
656  
657 Handler for CollisionDetectionVolumeDefinition data packets.
658  
659 =cut
660  
661 0 ▶sub CollisionDetectionVolumeDefinition_packet_handler() {
Subroutine CollisionDetectionVolumeDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
662 0 my ($tag, %attrs) = @_;
663 0 print " <$tag";
664 0 foreach my $attr (sort keys %attrs) {
665 0 my $val = $attrs{$attr};
666 0 $val =~ s/&/&amp;/g;
667 0 $val =~ s/</&lt;/g;
668 0 $val =~ s/>/&gt;/g;
669 0 $val =~ s/\"/&quot;/g;
670 0 $val =~ s/\'/&apos;/g;
671 0 print " $attr=\"$val\"";
672 }
673 0 print " />\n";
674 }
675 #==============================================================================
676  
677 =item HAT_HOTRequest_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
678  
679 Handler for HAT_HOTRequest data packets.
680  
681 =cut
682  
683 0 ▶sub HAT_HOTRequest_packet_handler() {
Subroutine HAT_HOTRequest_packet_handler: not called CC=2 SCAR=17.9
Pod documented
684 0 my ($tag, %attrs) = @_;
685 0 print " <$tag";
686 0 foreach my $attr (sort keys %attrs) {
687 0 my $val = $attrs{$attr};
688 0 $val =~ s/&/&amp;/g;
689 0 $val =~ s/</&lt;/g;
690 0 $val =~ s/>/&gt;/g;
691 0 $val =~ s/\"/&quot;/g;
692 0 $val =~ s/\'/&apos;/g;
693 0 print " $attr=\"$val\"";
694 }
695 0 print " />\n";
696 }
697 #==============================================================================
698  
699 =item LineOfSightSegmentRequest_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
700  
701 Handler for LineOfSightSegmentRequest data packets.
702  
703 =cut
704  
705 0 ▶sub LineOfSightSegmentRequest_packet_handler() {
Subroutine LineOfSightSegmentRequest_packet_handler: not called CC=2 SCAR=17.9
Pod documented
706 0 my ($tag, %attrs) = @_;
707 0 print " <$tag";
708 0 foreach my $attr (sort keys %attrs) {
709 0 my $val = $attrs{$attr};
710 0 $val =~ s/&/&amp;/g;
711 0 $val =~ s/</&lt;/g;
712 0 $val =~ s/>/&gt;/g;
713 0 $val =~ s/\"/&quot;/g;
714 0 $val =~ s/\'/&apos;/g;
715 0 print " $attr=\"$val\"";
716 }
717 0 print " />\n";
718 }
719 #==============================================================================
720  
721 =item LineOfSightVectorRequest_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
722  
723 Handler for LineOfSightVectorRequest data packets.
724  
725 =cut
726  
727 0 ▶sub LineOfSightVectorRequest_packet_handler() {
Subroutine LineOfSightVectorRequest_packet_handler: not called CC=2 SCAR=17.9
Pod documented
728 0 my ($tag, %attrs) = @_;
729 0 print " <$tag";
730 0 foreach my $attr (sort keys %attrs) {
731 0 my $val = $attrs{$attr};
732 0 $val =~ s/&/&amp;/g;
733 0 $val =~ s/</&lt;/g;
734 0 $val =~ s/>/&gt;/g;
735 0 $val =~ s/\"/&quot;/g;
736 0 $val =~ s/\'/&apos;/g;
737 0 print " $attr=\"$val\"";
738 }
739 0 print " />\n";
740 }
741 #==============================================================================
742  
743 =item PositionRequest_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
744  
745 Handler for PositionRequest data packets.
746  
747 =cut
748  
749 0 ▶sub PositionRequest_packet_handler() {
Subroutine PositionRequest_packet_handler: not called CC=2 SCAR=17.9
Pod documented
750 0 my ($tag, %attrs) = @_;
751 0 print " <$tag";
752 0 foreach my $attr (sort keys %attrs) {
753 0 my $val = $attrs{$attr};
754 0 $val =~ s/&/&amp;/g;
755 0 $val =~ s/</&lt;/g;
756 0 $val =~ s/>/&gt;/g;
757 0 $val =~ s/\"/&quot;/g;
758 0 $val =~ s/\'/&apos;/g;
759 0 print " $attr=\"$val\"";
760 }
761 0 print " />\n";
762 }
763 #==============================================================================
764  
765 =item EnvironmentalConditionsRequest_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
766  
767 Handler for EnvironmentalConditionsRequest data packets.
768  
769 =cut
770  
771 0 ▶sub EnvironmentalConditionsRequest_packet_handler() {
Subroutine EnvironmentalConditionsRequest_packet_handler: not called CC=2 SCAR=17.9
Pod documented
772 0 my ($tag, %attrs) = @_;
773 0 print " <$tag";
774 0 foreach my $attr (sort keys %attrs) {
775 0 my $val = $attrs{$attr};
776 0 $val =~ s/&/&amp;/g;
777 0 $val =~ s/</&lt;/g;
778 0 $val =~ s/>/&gt;/g;
779 0 $val =~ s/\"/&quot;/g;
780 0 $val =~ s/\'/&apos;/g;
781 0 print " $attr=\"$val\"";
782 }
783 0 print " />\n";
784 }
785 #==============================================================================
786  
787 =item SymbolSurfaceDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
788  
789 Handler for SymbolSurfaceDefinition data packets.
790  
791 =cut
792  
793 0 ▶sub SymbolSurfaceDefinition_packet_handler() {
Subroutine SymbolSurfaceDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
794 0 my ($tag, %attrs) = @_;
795 0 print " <$tag";
796 0 foreach my $attr (sort keys %attrs) {
797 0 my $val = $attrs{$attr};
798 0 $val =~ s/&/&amp;/g;
799 0 $val =~ s/</&lt;/g;
800 0 $val =~ s/>/&gt;/g;
801 0 $val =~ s/\"/&quot;/g;
802 0 $val =~ s/\'/&apos;/g;
803 0 print " $attr=\"$val\"";
804 }
805 0 print " />\n";
806 }
807 #==============================================================================
808  
809 =item SymbolTextDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
810  
811 Handler for SymbolTextDefinition data packets.
812  
813 =cut
814  
815 0 ▶sub SymbolTextDefinition_packet_handler() {
Subroutine SymbolTextDefinition_packet_handler: not called CC=2 SCAR=17.9
Pod documented
816 0 my ($tag, %attrs) = @_;
817 0 print " <$tag";
818 0 foreach my $attr (sort keys %attrs) {
819 0 my $val = $attrs{$attr};
820 0 $val =~ s/&/&amp;/g;
821 0 $val =~ s/</&lt;/g;
822 0 $val =~ s/>/&gt;/g;
823 0 $val =~ s/\"/&quot;/g;
824 0 $val =~ s/\'/&apos;/g;
825 0 print " $attr=\"$val\"";
826 }
827 0 print " />\n";
828 }
829 #==============================================================================
830  
831 =item SymbolCircleDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
832  
833 Handler for SymbolCircleDefinition data packets.
834  
835 =cut
836  
837 0 ▶sub SymbolCircleDefinition_packet_handler() {
Subroutine SymbolCircleDefinition_packet_handler: not called CC=4 SCAR=30.0
Pod documented
838 0 my ($tag, $circles, %attrs) = @_;
839 0 print " <$tag";
840 0 foreach my $attr (sort keys %attrs) {
841 0 my $val = $attrs{$attr};
842 # $val =~ s/&/&amp;/g;
843 # $val =~ s/</&lt;/g;
844 # $val =~ s/>/&gt;/g;
845 # $val =~ s/\"/&quot;/g;
846 # $val =~ s/\'/&apos;/g;
847 0 print " $attr=\"$val\"";
848 }
849 0 print ">\n";
850 0 foreach my $circle (@{$circles}) {
851 0 my ($ctag, %cattrs) = @{$circle};
852 0 print " <$ctag";
853 0 foreach my $cattr (sort keys %cattrs) {
854 0 my $cval = $cattrs{$cattr};
855 # $cval =~ s/&/&amp;/g;s
856 # $cval =~ s/</&lt;/g;
857 # $cval =~ s/>/&gt;/g;
858 # $cval =~ s/\"/&quot;/g;
859 # $cval =~ s/\'/&apos;/g;
860 0 print " $cattr=\"$cval\"";
861 }
862 0 print " />\n";
863 }
864 0 print " </$tag>\n";
865 }
866 #==============================================================================
867  
868 =item SymbolCircle_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
869  
870 Handler for SymbolCircle data packets.
871  
872 =cut
873  
874 0 ▶sub SymbolCircle_packet_handler() {
Subroutine SymbolCircle_packet_handler: not called CC=1 SCAR=6.9
Pod documented
875 0 my ($tag, %attrs) = @_;
876 # print " <$tag";
877 # foreach my $attr (sort keys %attrs) {
878 # my $val = $attrs{$attr};
879 # $val =~ s/&/&amp;/g;
880 # $val =~ s/</&lt;/g;
881 # $val =~ s/>/&gt;/g;
882 # $val =~ s/\"/&quot;/g;
883 # $val =~ s/\'/&apos;/g;
884 # print " $attr=\"$val\"";
885 # }
886 # print " />\n";
887 }
888 #==============================================================================
889  
890 =item SymbolLineDefinition_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
891  
892 Handler for SymbolLineDefinition data packets.
893  
894 =cut
895  
896 0 ▶sub SymbolLineDefinition_packet_handler() {
Subroutine SymbolLineDefinition_packet_handler: not called CC=4 SCAR=30.0
Pod documented
897 0 my ($tag, $vertices, %attrs) = @_;
898 0 print " <$tag";
899 0 foreach my $attr (sort keys %attrs) {
900 0 my $val = $attrs{$attr};
901 # $val =~ s/&/&amp;/g;
902 # $val =~ s/</&lt;/g;
903 # $val =~ s/>/&gt;/g;
904 # $val =~ s/\"/&quot;/g;
905 # $val =~ s/\'/&apos;/g;
906 0 print " $attr=\"$val\"";
907 }
908 0 print ">\n";
909 0 foreach my $vertex (@{$vertices}) {
910 0 my ($vtag, %vattrs) = @{$vertex};
911 0 print " <$vtag";
912 0 foreach my $vattr (sort keys %vattrs) {
913 0 my $vval = $vattrs{$vattr};
914 # $vval =~ s/&/&amp;/g;s
915 # $vval =~ s/</&lt;/g;
916 # $vval =~ s/>/&gt;/g;
917 # $vval =~ s/\"/&quot;/g;
918 # $vval =~ s/\'/&apos;/g;
919 0 print " $vattr=\"$vval\"";
920 }
921 0 print " />\n";
922 }
923 0 print " </$tag>\n";
924 }
925 #==============================================================================
926  
927 =item SymbolLineVertex_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
928  
929 Handler for SymbolLineVertex data packets.
930  
931 =cut
932  
933 0 ▶sub SymbolLineVertex_packet_handler() {
Subroutine SymbolLineVertex_packet_handler: not called CC=1 SCAR=6.9
Pod documented
934 0 my ($tag, %attrs) = @_;
935 # print " <$tag";
936 # foreach my $attr (sort keys %attrs) {
937 # my $val = $attrs{$attr};
938 # $val =~ s/&/&amp;/g;
939 # $val =~ s/</&lt;/g;
940 # $val =~ s/>/&gt;/g;
941 # $val =~ s/\"/&quot;/g;
942 # $val =~ s/\'/&apos;/g;
943 # print " $attr=\"$val\"";
944 # }
945 # print " />\n";
946 }
947 #==============================================================================
948  
949 =item SymbolClone_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
950  
951 Handler for SymbolClone data packets.
952  
953 =cut
954  
955 0 ▶sub SymbolClone_packet_handler() {
Subroutine SymbolClone_packet_handler: not called CC=2 SCAR=17.9
Pod documented
956 0 my ($tag, %attrs) = @_;
957 0 print " <$tag";
958 0 foreach my $attr (sort keys %attrs) {
959 0 my $val = $attrs{$attr};
960 0 $val =~ s/&/&amp;/g;
961 0 $val =~ s/</&lt;/g;
962 0 $val =~ s/>/&gt;/g;
963 0 $val =~ s/\"/&quot;/g;
964 0 $val =~ s/\'/&apos;/g;
965 0 print " $attr=\"$val\"";
966 }
967 0 print " />\n";
968 }
969 #==============================================================================
970  
971 =item SymbolControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
972  
973 Handler for SymbolControl data packets.
974  
975 =cut
976  
977 0 ▶sub SymbolControl_packet_handler() {
Subroutine SymbolControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
978 0 my ($tag, %attrs) = @_;
979 0 print " <$tag";
980 0 foreach my $attr (sort keys %attrs) {
981 0 my $val = $attrs{$attr};
982 0 $val =~ s/&/&amp;/g;
983 0 $val =~ s/</&lt;/g;
984 0 $val =~ s/>/&gt;/g;
985 0 $val =~ s/\"/&quot;/g;
986 0 $val =~ s/\'/&apos;/g;
987 0 print " $attr=\"$val\"";
988 }
989 0 print " />\n";
990 }
991 #==============================================================================
992  
993 =item ShortSymbolControl_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
994  
995 Handler for ShortSymbolControl data packets.
996  
997 =cut
998  
999 0 ▶sub ShortSymbolControl_packet_handler() {
Subroutine ShortSymbolControl_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1000 0 my ($tag, %attrs) = @_;
1001 0 print " <$tag";
1002 0 foreach my $attr (sort keys %attrs) {
1003 0 my $val = $attrs{$attr};
1004 0 $val =~ s/&/&amp;/g;
1005 0 $val =~ s/</&lt;/g;
1006 0 $val =~ s/>/&gt;/g;
1007 0 $val =~ s/\"/&quot;/g;
1008 0 $val =~ s/\'/&apos;/g;
1009 0 print " $attr=\"$val\"";
1010 }
1011 0 print " />\n";
1012 }
1013 #==============================================================================
1014  
1015 =item StartOfFrame_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1016  
1017 Handler for StartOfFrame data packets.
1018  
1019 =cut
1020  
1021 0 ▶sub StartOfFrame_packet_handler() {
Subroutine StartOfFrame_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1022 0 my ($tag, %attrs) = @_;
1023 0 print " <$tag";
1024 0 foreach my $attr (sort keys %attrs) {
1025 0 my $val = $attrs{$attr};
1026 0 $val =~ s/&/&amp;/g;
1027 0 $val =~ s/</&lt;/g;
1028 0 $val =~ s/>/&gt;/g;
1029 0 $val =~ s/\"/&quot;/g;
1030 0 $val =~ s/\'/&apos;/g;
1031 0 print " $attr=\"$val\"";
1032 }
1033 0 print " />\n";
1034 }
1035 #==============================================================================
1036  
1037 =item HAT_HOTResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1038  
1039 Handler for HAT_HOTResponse data packets.
1040  
1041 =cut
1042  
1043 0 ▶sub HAT_HOTResponse_packet_handler() {
Subroutine HAT_HOTResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1044 0 my ($tag, %attrs) = @_;
1045 0 print " <$tag";
1046 0 foreach my $attr (sort keys %attrs) {
1047 0 my $val = $attrs{$attr};
1048 0 $val =~ s/&/&amp;/g;
1049 0 $val =~ s/</&lt;/g;
1050 0 $val =~ s/>/&gt;/g;
1051 0 $val =~ s/\"/&quot;/g;
1052 0 $val =~ s/\'/&apos;/g;
1053 0 print " $attr=\"$val\"";
1054 }
1055 0 print " />\n";
1056 }
1057 #==============================================================================
1058  
1059 =item HAT_HOTExtendedResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1060  
1061 Handler for HAT_HOTExtendedResponse data packets.
1062  
1063 =cut
1064  
1065 0 ▶sub HAT_HOTExtendedResponse_packet_handler() {
Subroutine HAT_HOTExtendedResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1066 0 my ($tag, %attrs) = @_;
1067 0 print " <$tag";
1068 0 foreach my $attr (sort keys %attrs) {
1069 0 my $val = $attrs{$attr};
1070 0 $val =~ s/&/&amp;/g;
1071 0 $val =~ s/</&lt;/g;
1072 0 $val =~ s/>/&gt;/g;
1073 0 $val =~ s/\"/&quot;/g;
1074 0 $val =~ s/\'/&apos;/g;
1075 0 print " $attr=\"$val\"";
1076 }
1077 0 print " />\n";
1078 }
1079 #==============================================================================
1080  
1081 =item LineOfSightResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1082  
1083 Handler for LineOfSightResponse data packets.
1084  
1085 =cut
1086  
1087 0 ▶sub LineOfSightResponse_packet_handler() {
Subroutine LineOfSightResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1088 0 my ($tag, %attrs) = @_;
1089 0 print " <$tag";
1090 0 foreach my $attr (sort keys %attrs) {
1091 0 my $val = $attrs{$attr};
1092 0 $val =~ s/&/&amp;/g;
1093 0 $val =~ s/</&lt;/g;
1094 0 $val =~ s/>/&gt;/g;
1095 0 $val =~ s/\"/&quot;/g;
1096 0 $val =~ s/\'/&apos;/g;
1097 0 print " $attr=\"$val\"";
1098 }
1099 0 print " />\n";
1100 }
1101 #==============================================================================
1102  
1103 =item LineOfSightExtendedResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1104  
1105 Handler for LineOfSightExtendedResponse data packets.
1106  
1107 =cut
1108  
1109 0 ▶sub LineOfSightExtendedResponse_packet_handler() {
Subroutine LineOfSightExtendedResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1110 0 my ($tag, %attrs) = @_;
1111 0 print " <$tag";
1112 0 foreach my $attr (sort keys %attrs) {
1113 0 my $val = $attrs{$attr};
1114 0 $val =~ s/&/&amp;/g;
1115 0 $val =~ s/</&lt;/g;
1116 0 $val =~ s/>/&gt;/g;
1117 0 $val =~ s/\"/&quot;/g;
1118 0 $val =~ s/\'/&apos;/g;
1119 0 print " $attr=\"$val\"";
1120 }
1121 0 print " />\n";
1122 }
1123 #==============================================================================
1124  
1125 =item SensorResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1126  
1127 Handler for SensorResponse data packets.
1128  
1129 =cut
1130  
1131 0 ▶sub SensorResponse_packet_handler() {
Subroutine SensorResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1132 0 my ($tag, %attrs) = @_;
1133 0 print " <$tag";
1134 0 foreach my $attr (sort keys %attrs) {
1135 0 my $val = $attrs{$attr};
1136 0 $val =~ s/&/&amp;/g;
1137 0 $val =~ s/</&lt;/g;
1138 0 $val =~ s/>/&gt;/g;
1139 0 $val =~ s/\"/&quot;/g;
1140 0 $val =~ s/\'/&apos;/g;
1141 0 print " $attr=\"$val\"";
1142 }
1143 0 print " />\n";
1144 }
1145 #==============================================================================
1146  
1147 =item SensorExtendedResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1148  
1149 Handler for SensorExtendedResponse data packets.
1150  
1151 =cut
1152  
1153 0 ▶sub SensorExtendedResponse_packet_handler() {
Subroutine SensorExtendedResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1154 0 my ($tag, %attrs) = @_;
1155 0 print " <$tag";
1156 0 foreach my $attr (sort keys %attrs) {
1157 0 my $val = $attrs{$attr};
1158 0 $val =~ s/&/&amp;/g;
1159 0 $val =~ s/</&lt;/g;
1160 0 $val =~ s/>/&gt;/g;
1161 0 $val =~ s/\"/&quot;/g;
1162 0 $val =~ s/\'/&apos;/g;
1163 0 print " $attr=\"$val\"";
1164 }
1165 0 print " />\n";
1166 }
1167 #==============================================================================
1168  
1169 =item PositionResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1170  
1171 Handler for PositionResponse data packets.
1172  
1173 =cut
1174  
1175 0 ▶sub PositionResponse_packet_handler() {
Subroutine PositionResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1176 0 my ($tag, %attrs) = @_;
1177 0 print " <$tag";
1178 0 foreach my $attr (sort keys %attrs) {
1179 0 my $val = $attrs{$attr};
1180 0 $val =~ s/&/&amp;/g;
1181 0 $val =~ s/</&lt;/g;
1182 0 $val =~ s/>/&gt;/g;
1183 0 $val =~ s/\"/&quot;/g;
1184 0 $val =~ s/\'/&apos;/g;
1185 0 print " $attr=\"$val\"";
1186 }
1187 0 print " />\n";
1188 }
1189 #==============================================================================
1190  
1191 =item WeatherConditionsResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1192  
1193 Handler for WeatherConditionsResponse data packets.
1194  
1195 =cut
1196  
1197 0 ▶sub WeatherConditionsResponse_packet_handler() {
Subroutine WeatherConditionsResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1198 0 my ($tag, %attrs) = @_;
1199 0 print " <$tag";
1200 0 foreach my $attr (sort keys %attrs) {
1201 0 my $val = $attrs{$attr};
1202 0 $val =~ s/&/&amp;/g;
1203 0 $val =~ s/</&lt;/g;
1204 0 $val =~ s/>/&gt;/g;
1205 0 $val =~ s/\"/&quot;/g;
1206 0 $val =~ s/\'/&apos;/g;
1207 0 print " $attr=\"$val\"";
1208 }
1209 0 print " />\n";
1210 }
1211 #==============================================================================
1212  
1213 =item AerosolConcentrationResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1214  
1215 Handler for AerosolConcentrationResponse data packets.
1216  
1217 =cut
1218  
1219 0 ▶sub AerosolConcentrationResponse_packet_handler() {
Subroutine AerosolConcentrationResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1220 0 my ($tag, %attrs) = @_;
1221 0 print " <$tag";
1222 0 foreach my $attr (sort keys %attrs) {
1223 0 my $val = $attrs{$attr};
1224 0 $val =~ s/&/&amp;/g;
1225 0 $val =~ s/</&lt;/g;
1226 0 $val =~ s/>/&gt;/g;
1227 0 $val =~ s/\"/&quot;/g;
1228 0 $val =~ s/\'/&apos;/g;
1229 0 print " $attr=\"$val\"";
1230 }
1231 0 print " />\n";
1232 }
1233 #==============================================================================
1234  
1235 =item MaritimeSurfaceConditionsResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1236  
1237 Handler for MaritimeSurfaceConditionsResponse data packets.
1238  
1239 =cut
1240  
1241 0 ▶sub MaritimeSurfaceConditionsResponse_packet_handler() {
Subroutine MaritimeSurfaceConditionsResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1242 0 my ($tag, %attrs) = @_;
1243 0 print " <$tag";
1244 0 foreach my $attr (sort keys %attrs) {
1245 0 my $val = $attrs{$attr};
1246 0 $val =~ s/&/&amp;/g;
1247 0 $val =~ s/</&lt;/g;
1248 0 $val =~ s/>/&gt;/g;
1249 0 $val =~ s/\"/&quot;/g;
1250 0 $val =~ s/\'/&apos;/g;
1251 0 print " $attr=\"$val\"";
1252 }
1253 0 print " />\n";
1254 }
1255 #==============================================================================
1256  
1257 =item TerrestrialSurfaceConditionsResponse_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1258  
1259 Handler for TerrestrialSurfaceConditionsResponse data packets.
1260  
1261 =cut
1262  
1263 0 ▶sub TerrestrialSurfaceConditionsResponse_packet_handler() {
Subroutine TerrestrialSurfaceConditionsResponse_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1264 0 my ($tag, %attrs) = @_;
1265 0 print " <$tag";
1266 0 foreach my $attr (sort keys %attrs) {
1267 0 my $val = $attrs{$attr};
1268 0 $val =~ s/&/&amp;/g;
1269 0 $val =~ s/</&lt;/g;
1270 0 $val =~ s/>/&gt;/g;
1271 0 $val =~ s/\"/&quot;/g;
1272 0 $val =~ s/\'/&apos;/g;
1273 0 print " $attr=\"$val\"";
1274 }
1275 0 print " />\n";
1276 }
1277 #==============================================================================
1278  
1279 =item CollisionDetectionSegmentNotification_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1280  
1281 Handler for CollisionDetectionSegmentNotification data packets.
1282  
1283 =cut
1284  
1285 0 ▶sub CollisionDetectionSegmentNotification_packet_handler() {
Subroutine CollisionDetectionSegmentNotification_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1286 0 my ($tag, %attrs) = @_;
1287 0 print " <$tag";
1288 0 foreach my $attr (sort keys %attrs) {
1289 0 my $val = $attrs{$attr};
1290 0 $val =~ s/&/&amp;/g;
1291 0 $val =~ s/</&lt;/g;
1292 0 $val =~ s/>/&gt;/g;
1293 0 $val =~ s/\"/&quot;/g;
1294 0 $val =~ s/\'/&apos;/g;
1295 0 print " $attr=\"$val\"";
1296 }
1297 0 print " />\n";
1298 }
1299 #==============================================================================
1300  
1301 =item CollisionDetectionVolumeNotification_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1302  
1303 Handler for CollisionDetectionVolumeNotification data packets.
1304  
1305 =cut
1306  
1307 0 ▶sub CollisionDetectionVolumeNotification_packet_handler() {
Subroutine CollisionDetectionVolumeNotification_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1308 0 my ($tag, %attrs) = @_;
1309 0 print " <$tag";
1310 0 foreach my $attr (sort keys %attrs) {
1311 0 my $val = $attrs{$attr};
1312 0 $val =~ s/&/&amp;/g;
1313 0 $val =~ s/</&lt;/g;
1314 0 $val =~ s/>/&gt;/g;
1315 0 $val =~ s/\"/&quot;/g;
1316 0 $val =~ s/\'/&apos;/g;
1317 0 print " $attr=\"$val\"";
1318 }
1319 0 print " />\n";
1320 }
1321 #==============================================================================
1322  
1323 =item AnimationStopNotification_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1324  
1325 Handler for AnimationStopNotification data packets.
1326  
1327 =cut
1328  
1329 0 ▶sub AnimationStopNotification_packet_handler() {
Subroutine AnimationStopNotification_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1330 0 my ($tag, %attrs) = @_;
1331 0 print " <$tag";
1332 0 foreach my $attr (sort keys %attrs) {
1333 0 my $val = $attrs{$attr};
1334 0 $val =~ s/&/&amp;/g;
1335 0 $val =~ s/</&lt;/g;
1336 0 $val =~ s/>/&gt;/g;
1337 0 $val =~ s/\"/&quot;/g;
1338 0 $val =~ s/\'/&apos;/g;
1339 0 print " $attr=\"$val\"";
1340 }
1341 0 print " />\n";
1342 }
1343 #==============================================================================
1344  
1345 =item EventNotification_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1346  
1347 Handler for EventNotification data packets.
1348  
1349 =cut
1350  
1351 0 ▶sub EventNotification_packet_handler() {
Subroutine EventNotification_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1352 0 my ($tag, %attrs) = @_;
1353 0 print " <$tag";
1354 0 foreach my $attr (sort keys %attrs) {
1355 0 my $val = $attrs{$attr};
1356 0 $val =~ s/&/&amp;/g;
1357 0 $val =~ s/</&lt;/g;
1358 0 $val =~ s/>/&gt;/g;
1359 0 $val =~ s/\"/&quot;/g;
1360 0 $val =~ s/\'/&apos;/g;
1361 0 print " $attr=\"$val\"";
1362 }
1363 0 print " />\n";
1364 }
1365 #==============================================================================
1366  
1367 =item ImageGeneratorMessage_packet_handler($tag_name, [$attr_name, $attr_val [, $attr_name, $attr_val]...])
1368  
1369 Handler for ImageGeneratorMessage data packets.
1370  
1371 =cut
1372  
1373 0 ▶sub ImageGeneratorMessage_packet_handler() {
Subroutine ImageGeneratorMessage_packet_handler: not called CC=2 SCAR=17.9
Pod documented
1374 0 my ($tag, %attrs) = @_;
1375 0 print " <$tag";
1376 0 foreach my $attr (sort keys %attrs) {
1377 0 my $val = $attrs{$attr};
1378 0 $val =~ s/&/&amp;/g;
1379 0 $val =~ s/</&lt;/g;
1380 0 $val =~ s/>/&gt;/g;
1381 0 $val =~ s/\"/&quot;/g;
1382 0 $val =~ s/\'/&apos;/g;
1383 0 print " $attr=\"$val\"";
1384 }
1385 0 print " />\n";
1386 }
1387 #==============================================================================
1388  
1389 =head1 SEE ALSO
1390  
1391 Refer the the Common Image Generator Interface ICD which may be had at this URL:
1392 L<http://cigi.sourceforge.net/specification.php>
1393  
1394 =head1 AUTHOR
1395  
1396 Brian M. Ames, E<lt>bmames@apk.netE<gt>
1397  
1398 =head1 COPYRIGHT AND LICENSE
1399  
1400 Copyright (C) 2009 by Brian M. Ames
1401  
1402 This library is free software; you can redistribute it and/or modify
1403 it under the same terms as Perl itself, either Perl version 5.6 or,
1404 at your option, any later version of Perl 5 you may have available.
1405  
1406 =cut
1407  
1408 1 1;
1409 __END__
« CIGIPP/SensorResponse.pm ↑ Summary CIGIPP/IGControl.pm »