# osc-cpp-qt **Repository Path**: CPLASF000000/osc-cpp-qt ## Basic Information - **Project Name**: osc-cpp-qt - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-28 - **Last Updated**: 2024-06-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: Cpp ## README osc-cpp-qt ========== OSC (Open Sound Control) library for C++ using Qt This library is dedicated to writing or read osc messages. ### Writing Messages ```C OscMessageComposer msg( "/the/osc/address"); msg.pushBool( true ); msg.pushInt32( 99 ); QByteArray* formattedMsg = msg.getBytes(); ``` ### Reading Messages ```C OscReader reader(rawMessage); OscMessage* msg = reader.getMessage(); QString address = msg->getAddress(); // Get the message address bool myBool = msg->getValue( 0 ).toBoolean(); int myInt = msg->getValue( 1 ).toInteger(); delete msg; ``` ### Tests Current osc.test.pro is using GoogleTest library. It is available at [GoogleTest](https://github.com/google/googletest.git)