37 #ifndef INCLUDED_OSCPACK_OSCOUTBOUNDPACKETSTREAM_H 38 #define INCLUDED_OSCPACK_OSCOUTBOUNDPACKETSTREAM_H 57 const char *w=
"call to EndBundle when bundle is not in progress" )
64 const char *w=
"opening or closing bundle or message while message is in progress" )
71 const char *w=
"call to EndMessage when message is not in progress" )
83 std::size_t Capacity()
const;
86 std::size_t Size()
const;
88 const char *Data()
const;
94 bool IsMessageInProgress()
const;
95 bool IsBundleInProgress()
const;
108 #if !(defined(__x86_64__) || defined(_M_X64)) 110 { *
this << (
int32)rhs;
return *
this; }
129 char *BeginElement(
char *beginPtr );
130 void EndElement(
char *endPtr );
132 bool ElementSizeSlotRequired()
const;
133 void CheckForAvailableBundleSpace();
134 void CheckForAvailableMessageSpace(
const char *addressPattern );
135 void CheckForAvailableArgumentSpace( std::size_t argumentLength );
Definition: OscOutboundPacketStream.h:76
char * messageCursor_
Definition: OscOutboundPacketStream.h:141
Definition: OscTypes.h:169
char * end_
Definition: OscOutboundPacketStream.h:138
Definition: OscOutboundPacketStream.h:54
long long int64
Definition: OscTypes.h:57
Definition: OscOutboundPacketStream.h:48
char * typeTagsCurrent_
Definition: OscOutboundPacketStream.h:140
Definition: OscTypes.h:183
Definition: OscOutboundPacketStream.h:68
MessageInProgressException(const char *w="opening or closing bundle or message while message is in progress")
Definition: OscOutboundPacketStream.h:63
char * argumentCurrent_
Definition: OscOutboundPacketStream.h:142
Definition: OscTypes.h:137
Definition: OscTypes.h:232
OutOfBufferMemoryException(const char *w="out of buffer memory")
Definition: OscOutboundPacketStream.h:50
bool messageIsInProgress_
Definition: OscOutboundPacketStream.h:149
OutboundPacketStream & operator<<(int rhs)
Definition: OscOutboundPacketStream.h:109
Definition: OscTypes.h:160
Definition: OscTypes.h:178
Definition: OscTypes.h:150
Definition: OscTypes.h:210
BundleNotInProgressException(const char *w="call to EndBundle when bundle is not in progress")
Definition: OscOutboundPacketStream.h:56
signed long int32
Definition: OscTypes.h:71
char * data_
Definition: OscOutboundPacketStream.h:137
Definition: MessageMappingOscPacketListener.h:47
MessageNotInProgressException(const char *w="call to EndMessage when message is not in progress")
Definition: OscOutboundPacketStream.h:70
Definition: OscTypes.h:219
Definition: OscTypes.h:155
Definition: OscOutboundPacketStream.h:61
Definition: OscException.h:44
std::ostream & operator<<(std::ostream &os, const ReceivedPacket &p)
Definition: OscPrintReceivedElements.cpp:248
unsigned long uint32
Definition: OscTypes.h:72
uint32 * elementSizePtr_
Definition: OscOutboundPacketStream.h:147
Definition: OscTypes.h:192
Definition: OscTypes.h:227