Nicholas J Humfrey > Net-LibLO-0.06 > Net::LibLO::Bundle

Download:
Net-LibLO-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Net::LibLO::Bundle

SYNOPSIS ^

  use Net::LibLO::Bundle;

  my $bndl = new Net::LibLO::Bundle();
  my $msg = new Net::LibLO::Message( 'si', 'Hello World', 8 );
  $bndl->add_message( 'si', $msg );

DESCRIPTION ^

Net::LibLO::Bundle is a perl class which represents a bundle of OSC messages.

new( [sec, frac] )

Create a new OSC bundle, with an optional timetag.

sec: The number of seconds since Jan 1st 1900 in the UTC timezone.

frac: The fractions of a second offset from obove, expressed as 1/2^32nds of a second

add_message( path, message )

Path is a string of the path to send the message to.

Message is a Net::LibLO::Message object.

length( )

Returns the length of the message (in bytes).

pretty_print( )

Display the contents of the bundle to STDOUT.

AUTHOR ^

Nicholas J. Humfrey, njh@aelius.com

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 Nicholas J. Humfrey

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

syntax highlighting: