oscpkt::PacketReader Class Reference

#include <oscpkt.hh>

List of all members.

Public Member Functions

 PacketReader (const void *ptr, size_t sz)
void init (const void *ptr, size_t sz)
MessagepopMessage ()
bool isOk () const
ErrorCode getErr () const

Detailed Description

parse an OSC packet and extracts the embedded OSC messages.


oscpkt_demo.cc, and oscpkt_test.cc.

Constructor & Destructor Documentation

oscpkt::PacketReader::PacketReader ( const void *  ptr,
size_t  sz 
) [inline]

pointer and size of the osc packet to be parsed.

Member Function Documentation

Message* oscpkt::PacketReader::popMessage (  )  [inline]

extract the next osc message from the packet. return 0 when all messages have been read, or in case of error.


The documentation for this class was generated from the following file:
 All Classes Functions

Generated by  doxygen 1.6.2