Acoustic Touch Recognition
Public Member Functions | Private Member Functions | Private Attributes | List of all members
osc::OutboundPacketStream Class Reference

#include <OscOutboundPacketStream.h>

Public Member Functions

 OutboundPacketStream (char *buffer, std::size_t capacity)
 
 ~OutboundPacketStream ()
 
void Clear ()
 
std::size_t Capacity () const
 
std::size_t Size () const
 
const char * Data () const
 
bool IsReady () const
 
bool IsMessageInProgress () const
 
bool IsBundleInProgress () const
 
OutboundPacketStreamoperator<< (const BundleInitiator &rhs)
 
OutboundPacketStreamoperator<< (const BundleTerminator &rhs)
 
OutboundPacketStreamoperator<< (const BeginMessage &rhs)
 
OutboundPacketStreamoperator<< (const MessageTerminator &rhs)
 
OutboundPacketStreamoperator<< (bool rhs)
 
OutboundPacketStreamoperator<< (const NilType &rhs)
 
OutboundPacketStreamoperator<< (const InfinitumType &rhs)
 
OutboundPacketStreamoperator<< (int32 rhs)
 
OutboundPacketStreamoperator<< (int rhs)
 
OutboundPacketStreamoperator<< (float rhs)
 
OutboundPacketStreamoperator<< (char rhs)
 
OutboundPacketStreamoperator<< (const RgbaColor &rhs)
 
OutboundPacketStreamoperator<< (const MidiMessage &rhs)
 
OutboundPacketStreamoperator<< (int64 rhs)
 
OutboundPacketStreamoperator<< (const TimeTag &rhs)
 
OutboundPacketStreamoperator<< (double rhs)
 
OutboundPacketStreamoperator<< (const char *rhs)
 
OutboundPacketStreamoperator<< (const Symbol &rhs)
 
OutboundPacketStreamoperator<< (const Blob &rhs)
 
OutboundPacketStreamoperator<< (const ArrayInitiator &rhs)
 
OutboundPacketStreamoperator<< (const ArrayTerminator &rhs)
 

Private Member Functions

char * BeginElement (char *beginPtr)
 
void EndElement (char *endPtr)
 
bool ElementSizeSlotRequired () const
 
void CheckForAvailableBundleSpace ()
 
void CheckForAvailableMessageSpace (const char *addressPattern)
 
void CheckForAvailableArgumentSpace (std::size_t argumentLength)
 

Private Attributes

char * data_
 
char * end_
 
char * typeTagsCurrent_
 
char * messageCursor_
 
char * argumentCurrent_
 
uint32elementSizePtr_
 
bool messageIsInProgress_
 

Constructor & Destructor Documentation

◆ OutboundPacketStream()

osc::OutboundPacketStream::OutboundPacketStream ( char *  buffer,
std::size_t  capacity 
)

◆ ~OutboundPacketStream()

osc::OutboundPacketStream::~OutboundPacketStream ( )

Member Function Documentation

◆ BeginElement()

char * osc::OutboundPacketStream::BeginElement ( char *  beginPtr)
private

◆ Capacity()

std::size_t osc::OutboundPacketStream::Capacity ( ) const

◆ CheckForAvailableArgumentSpace()

void osc::OutboundPacketStream::CheckForAvailableArgumentSpace ( std::size_t  argumentLength)
private

◆ CheckForAvailableBundleSpace()

void osc::OutboundPacketStream::CheckForAvailableBundleSpace ( )
private

◆ CheckForAvailableMessageSpace()

void osc::OutboundPacketStream::CheckForAvailableMessageSpace ( const char *  addressPattern)
private

◆ Clear()

void osc::OutboundPacketStream::Clear ( )

◆ Data()

const char * osc::OutboundPacketStream::Data ( ) const

◆ ElementSizeSlotRequired()

bool osc::OutboundPacketStream::ElementSizeSlotRequired ( ) const
private

◆ EndElement()

void osc::OutboundPacketStream::EndElement ( char *  endPtr)
private

◆ IsBundleInProgress()

bool osc::OutboundPacketStream::IsBundleInProgress ( ) const

◆ IsMessageInProgress()

bool osc::OutboundPacketStream::IsMessageInProgress ( ) const

◆ IsReady()

bool osc::OutboundPacketStream::IsReady ( ) const

◆ operator<<() [1/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const BundleInitiator rhs)

◆ operator<<() [2/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const BundleTerminator rhs)

◆ operator<<() [3/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const BeginMessage rhs)

◆ operator<<() [4/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const MessageTerminator rhs)

◆ operator<<() [5/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( bool  rhs)

◆ operator<<() [6/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const NilType rhs)

◆ operator<<() [7/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const InfinitumType rhs)

◆ operator<<() [8/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( int32  rhs)

◆ operator<<() [9/21]

OutboundPacketStream& osc::OutboundPacketStream::operator<< ( int  rhs)
inline

◆ operator<<() [10/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( float  rhs)

◆ operator<<() [11/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( char  rhs)

◆ operator<<() [12/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const RgbaColor rhs)

◆ operator<<() [13/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const MidiMessage rhs)

◆ operator<<() [14/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( int64  rhs)

◆ operator<<() [15/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const TimeTag rhs)

◆ operator<<() [16/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( double  rhs)

◆ operator<<() [17/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const char *  rhs)

◆ operator<<() [18/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const Symbol rhs)

◆ operator<<() [19/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const Blob rhs)

◆ operator<<() [20/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const ArrayInitiator rhs)

◆ operator<<() [21/21]

OutboundPacketStream & osc::OutboundPacketStream::operator<< ( const ArrayTerminator rhs)

◆ Size()

std::size_t osc::OutboundPacketStream::Size ( ) const

Member Data Documentation

◆ argumentCurrent_

char* osc::OutboundPacketStream::argumentCurrent_
private

◆ data_

char* osc::OutboundPacketStream::data_
private

◆ elementSizePtr_

uint32* osc::OutboundPacketStream::elementSizePtr_
private

◆ end_

char* osc::OutboundPacketStream::end_
private

◆ messageCursor_

char* osc::OutboundPacketStream::messageCursor_
private

◆ messageIsInProgress_

bool osc::OutboundPacketStream::messageIsInProgress_
private

◆ typeTagsCurrent_

char* osc::OutboundPacketStream::typeTagsCurrent_
private

The documentation for this class was generated from the following files: