コード例 #1
0
ReceivedMessage::ReceivedMessage( const ReceivedBundleElement& bundleElement )
    : addressPattern_( bundleElement.Contents() )
{
	// Hack: Copy every osc message on receive. (see commit c2a6464)
	size = bundleElement.Size();
	message = new char [size];
	memcpy(message, bundleElement.Contents(), size);
	addressPattern_ = message;
    Init( message, size );
}
コード例 #2
0
ReceivedBundle::ReceivedBundle( const ReceivedBundleElement& bundleElement )
    : elementCount_( 0 )
{
    Init( bundleElement.Contents(), bundleElement.Size() );
}
コード例 #3
0
ReceivedMessage::ReceivedMessage( const ReceivedBundleElement& bundleElement )
    : addressPattern_( bundleElement.Contents() )
{
    Init( bundleElement.Contents(), bundleElement.Size() );
}