Lab_interaccio/2013/SCK_boya/sck_boya/OSCArg.h
2025-02-25 21:29:42 +01:00

52 lines
746 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
ArdOSC 2.1 - OSC Library for Arduino.
-------- Lisence -----------------------------------------------------------
ArdOSC
The MIT License
Copyright (c) 2009 - 2011 recotana( http://recotana.com ) All right reserved
*/
#ifndef ArdOSC_OSCArg_h
#define ArdOSC_OSCArg_h
#include "OSCcommon.h"
class OSCArg{
private:
char _typeTag;
void* _argData;
uint16_t _dataSize;
uint16_t _alignmentSize;
public:
OSCArg(void);
OSCArg(char _tag);
OSCArg(char _tag, void *_data, uint16_t _size, bool _packSizeCulc);
~OSCArg(void);
void flush(void);
friend class OSCDecoder;
friend class OSCEncoder;
friend class OSCMessage;
};
#endif