31 int stringBufferLength;
35 int binaryReadPointer;
40 WriteFileType fileType;
41 static int sleepTimeMs;
46 void allocateAndCopyString(
const char* source,
char** destination);
47 void print(
const char*
string);
48 void printBinary(
const char*
string);
49 void setLineLength(
int newLineLength);
50 int getOffsetFromPointer(
int aPointer);
51 std::vector<char *> formatTokens;
52 static void sanitizeString(
char*
string);
53 static void sanitizeString(
char*
string,
int numberOfArguments);
54 static bool isThreadRunning();
55 static bool auxiliaryTaskRunning;
56 static bool threadShouldExit();
57 static bool threadIsExiting;
58 static bool threadRunning;
59 static bool staticConstructed;
60 static void staticConstructor();
61 static std::vector<WriteFile *> objAddrs;
62 void writeOutput(
bool flush);
72 void setEcho(
bool newEcho);
73 void setEchoInterval(
int newPeriod);
93 void log(
const float* array,
int length);
94 void log(
float value);
95 void init(
const char* filename);
111 static int getNumInstances();
112 static void writeAllHeaders();
113 static void writeAllFooters();
114 static void writeAllOutputs(
bool flush);
115 static void startThread();
116 static void stopThread();
void setFooter(const char *newFooter)
void setFileType(WriteFileType newFileType)
Definition: WriteFile.h:22
void * AuxiliaryTask
Definition: Bela.h:289
void setFormat(const char *newFormat)
void setHeader(const char *newHeader)