10 #include "TTFoundationAPI.h"
13 int main(
int argc,
const char * argv[])
15 std::cout <<
"BEGIN testing for Jamoma DSP...\n";
21 TTValue testClassesWithTheseTags(
TT(
"dspLibrary"));
24 for (
int i=0; i<classNames.
size(); i++) {
30 std::cout <<
"TESTING " << name.string() << std::endl;
34 TTLogMessage(
"UnitTest Failure to instantiate object of class %s! \n", name.
c_str());
39 std::cout <<
"END testing of Jamoma DSP!\n";
Create and use Jamoma object instances.
size_type size() const noexcept
Return the number of elements.
static TTErr GetRegisteredClassNamesForTags(TTValue &classNames, const TTValue &searchTags)
Query TTEnvironment for names of all registered TTObjectBase classes that share specific tags...
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
const char * c_str() const
Return a pointer to the internal string as a C-string.
void TTDSP_EXPORT TTDSPInit(const char *pathToBinaries=NULL)
Initialise the Jamoma DSP library, as well as Jamoma Foundation foundation if needed.
void TTFOUNDATION_EXPORT TTLogMessage(TTImmutableCString message,...)
Platform and host independent method for posting log messages.
[doxygenAppendixC_copyExample]