25 #if !defined(__TFFlashLCSHMEM_H__) 26 #define __TFFlashLCSHMEM_H__ 1 35 typedef DWORD u_int32_t;
37 #include <sys/types.h> 38 #include <semaphore.h> 41 #define TFLCS_LISTENER_NAME_MAX_LEN (64) 42 #define TFLCS_LISTENER_METHOD_MAX_LEN (64) 55 char listenerName[TFLCS_LISTENER_NAME_MAX_LEN];
56 char listenerMethod[TFLCS_LISTENER_METHOD_MAX_LEN];
60 TFLCSErrorSuccess = 0,
61 TFLCSErrorInvalidArgument = 1,
62 TFLCSErrorShmemKeyNotFound = 2,
63 TFLCSErrorSemaphoreCreationFailed = 3,
64 TFLCSErrorShmemIDNotFound = 4,
65 TFLCSErrorShmemOpeningFailed = 5,
66 TFLCSErrorOutOfMemory = 6
70 extern TFLCSError_t TFLCSErrno;
79 const char* listenerMethod,
97 void* TFLCSGuessShmemKey();
100 u_int32_t TFLCSGetTickCount();
104 int TFLCSWriteAMF3Integer(
char* buffer,
int value,
int pos);
108 int TFLCSWriteAMFString(
char* buffer,
const char * str,
int pos);
112 int TFLCSWriteAMF3ByteArray(
char* buffer,
const char* bytes,
int pos,
int len);
132 void TFLCSDumpMemory(
char* buffer,
int offset,
int size);
137 #endif //__TFFlashLCSHMEM_H__ 157 #ifndef INCLUDED_FLASHSENDER_H 158 #define INCLUDED_FLASHSENDER_H 160 #include "OscSender.h" 162 #define MAX_FLASH_SIZE (40976) 163 #define DEFAULT_LC_CONN_NAME "_OscDataStream" 164 #define DEFAULT_LC_METH_NAME "receiveOscData" 186 FlashSender(
const char *conn_name,
const char *meth_name);
200 bool sendOscPacket (osc::OutboundPacketStream *bundle);
209 const char* tuio_type() {
return "TUIO/FLC"; }
Definition: FlashSender.h:44
Definition: FlashSender.h:166
Definition: OscSender.h:37
Definition: FlashSender.h:174