25 : name(className), tags(tagList), instantiationMethod(anInstantiationMethod), external(false)
42 *anObject = instantiationMethod(name, anArgument);
45 TTLogError(
"Exception thrown trying to create TTClass %s\n", name.
c_str());
TTClass(const TTSymbol className, const TTValue &tags, const TTObjectBaseInstantiationMethod anInstantiationMethod)
Constructor method.
The TTClass object represents a class in the Jamoma environment.
Base class for all first-class Jamoma objects.
TTObjectBase *(* TTObjectBaseInstantiationMethod)(TTSymbol className, const TTValue arguments)
A function pointer for an instance creation function required to be provided by all classes...
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
void TTFOUNDATION_EXPORT TTLogError(TTImmutableCString message,...)
Platform and host independent method for posting errors.
const char * c_str() const
Return a pointer to the internal string as a C-string.
TTErr releaseInstance(TTObjectBase *anObject)
Free an instance of a TTObjectBase class.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
[doxygenAppendixC_copyExample]
TTErr createInstance(TTObjectBase **anObject, const TTValue &anArgument)
Create a new instance of a registered TTObjectBase class.
virtual ~TTClass()
Destructor.