GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::LibLO::Message(3) User Contributed Perl Documentation Net::LibLO::Message(3)

Net::LibLO::Message

  use Net::LibLO::Message;

  my $msg = new Net::LibLO::Message( );
  $msg->add_string( "Hello World!" );
  $msg->add_int32( 41287 );

Net::LibLO::Message is a perl class which represents a single OSC message.
new( )
Create a new, empty message.
new( types, ... )
"types" The types of the data items in the message.
i 32 bit signed integer.
f 32 bit IEEE-754 float.
s A string
d 64 bit IEEE-754 double.
S A symbol - used in systems which distinguish strings and symbols.
c A single 8bit charater
T Symbol representing the value True.
F Symbol representing the value False.
N Symbol representing the value Nil.
I Symbol representing the value Infinitum.

"..." The data values to be transmitted. The types of the arguments passed here must agree with the types specified in the type parameter.

add_int32( int )
Adds a 32-bit integer to the message.
add_float( float )
Adds a 32-bit floating point number to the message.
add_string( string )
Adds a string to the message
add_double( double )
Adds a 64 bit floating point number to the message.
add_symbol( symbol )
Adds a symbol string to the message. Used in systems which distinguish strings and symbols.
add_char( char )
Adds a single 8-bit character to the message.
add_true()
Adds a symbol representing the value True to the message.
add_false()
Adds a symbol representing the value False to the message.
add_nil()
Adds a symbol representing the value Nil to the message.
add_infinitum()
Adds a symbol representing the value Infinitum to the message.
length( path )
Returns the length of the message in bytes - the path the message is going to be sent to is also required.
pretty_print()
Prints the message to STDOUT - probably most useful for debugging.

Nicholas J. Humfrey, njh@aelius.com

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.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.