Jamoma API  0.6.0.a19
TTEnvironment.h File Reference

TTEnvironment is a global object providing information on the environemt. More...

#include "TTObjectBase.h"
#include "TTHash.h"
+ Include dependency graph for TTEnvironment.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TTEnvironment
 The global object maintains all global attributes/settings for the Jamoma environment. More...
 

Typedefs

typedef TTObjectBase *(* TTObjectBaseInstantiationMethod) (TTSymbol className, const TTValue arguments)
 A function pointer for an instance creation function required to be provided by all classes.
 
typedef TTErr(* TTExtensionInitializationMethod) ()
 A function pointer for an instance creation function required to be provided by all classes.
 

Functions

TTErr TTObjectBaseInstantiate (const TTSymbol className, TTObjectBasePtr *returnedObjectPtr, const TTValue arguments)
 DEPRECATED. More...
 
TTObjectBasePtr TTObjectBaseReference (TTObjectBasePtr anObject)
 DEPRECATED. More...
 
TTErr TTObjectBaseRelease (TTObjectBasePtr *anObject)
 DEPRECATED. More...
 
TTErr TTGetRegisteredClassNames (TTValue &classNames)
 DEPRECATED. More...
 
TTErr TTGetRegisteredClassNamesForTags (TTValue &classNames, const TTValue &searchTags)
 DEPRECATED. More...
 

Variables

TTFOUNDATION_EXPORT TTEnvironmentttEnvironment
 The environment object has one instance, which is global in scope.
 

Detailed Description

TTEnvironment is a global object providing information on the environemt.

The global TTEnvironent object maintains all global attributes/settings for the Jamoma environment. All attribute members of the environment are made public, since essentially every class is a friend. They should, however, be treated as read-only.

Author
Timothy Place, Nils Peters, Trond Lossius

Definition in file TTEnvironment.h.

Function Documentation

TTErr TTGetRegisteredClassNames ( TTValue classNames)

DEPRECATED.

Deprecated:
Instead, please use
TTObject::GetRegisteredClassNames

Definition at line 359 of file TTEnvironment.cpp.

References TTEnvironment::getAllClassNames().

+ Here is the call graph for this function:

TTErr TTGetRegisteredClassNamesForTags ( TTValue classNames,
const TTValue searchTags 
)

DEPRECATED.

Deprecated:
Instead, please use
TTObject::GetRegisteredClassNamesForTags

Definition at line 366 of file TTEnvironment.cpp.

References TTEnvironment::getClassNamesWithTags().

Referenced by filter_gettypes().

+ Here is the call graph for this function:

TTErr TTObjectBaseInstantiate ( const TTSymbol  className,
TTObjectBasePtr returnedObjectPtr,
const TTValue  arguments 
)

DEPRECATED.

Deprecated:
Instead, please use the
TTObject constructor as detailed in Object Life Cycle

Definition at line 320 of file TTEnvironment.cpp.

References TTEnvironment::createInstance().

Referenced by TTAudioObjectBase::defaultCalculateMethod(), filter_new(), filter_setType(), PackNew(), TTAudioObjectBaseArray::setClass(), TTFunction::setFunction(), WindowFunction::setFunction(), TTDataspace::setInputUnit(), TTDataspace::setOutputUnit(), TTAudioObjectBaseArray::setSize(), TTSpat::setSpatFunction(), TTTrajectory::setType(), TTLinearFunction::test(), TTSineEaseInOutFunction::test(), TTBounceEaseOutFunction::test(), TTCircularEaseInFunction::test(), TTCircularEaseOutFunction::test(), TTQuinticEaseInFunction::test(), TTCubicEaseInFunction::test(), TTBackEaseInFunction::test(), TTCubicEaseOutFunction::test(), TTQuadraticEaseOutFunction::test(), TTSineEaseOutFunction::test(), TTBackEaseOutFunction::test(), TTQuadraticEaseInFunction::test(), TTElasticEaseInFunction::test(), TTElasticEaseOutFunction::test(), TTQuarticEaseInFunction::test(), TTQuarticEaseOutFunction::test(), TTBounceEaseInFunction::test(), TTQuinticEaseOutFunction::test(), TTExponentialEaseInFunction::test(), TTBounceEaseInOutFunction::test(), TTSineEaseInFunction::test(), TTExponentialEaseOutFunction::test(), TTSmoothPolynomialFunction::test(), TTElasticEaseInOutFunction::test(), TTCircularEaseInOutFunction::test(), TTQuarticEaseInOutFunction::test(), TTExponentialEaseInOutFunction::test(), TTCubicEaseInOutFunction::test(), TTBackEaseInOutFunction::test(), TTQuadraticEaseInOutFunction::test(), TTQuinticEaseInOutFunction::test(), TTLogFunction::test(), TTExpFunction::test(), TTPowerFunction::test(), TTPhasor::test(), TTHalfband3::test(), TTTanhFunction::test(), HammingWindow::test(), TTFreeHandFunction::test(), TTMirror5::test(), RosenbergGlottalPulseWindow::test(), GaussWindow::test(), TTRamp::test(), TTMirrorBandpass10::test(), TTHalfband5::test(), TTHilbertLinear33::test(), TukeyWindow::test(), TTHalfband9::test(), RectangularWindow::test(), KaiserWindow::test(), TTSvf::test(), TTAllpass1::test(), TTHilbert9::test(), TTAverage::test(), TTHalfbandLinear33::test(), TTAudioGraphOutlet::TTAudioGraphOutlet(), TTSpatBaseRenderer::TTSpatBaseRenderer(), and wrapAsMaxAudioGraph().

+ Here is the call graph for this function:

TTObjectBasePtr TTObjectBaseReference ( TTObjectBasePtr  anObject)

DEPRECATED.

Deprecated:
Instead, most uses can be handled via the
TTObject and its = operator

Definition at line 333 of file TTEnvironment.cpp.

References TTEnvironment::referenceInstance().

Referenced by TTAudioEngine::getInputSignalReference(), TTAudioEngine::getOutputSignalReference(), and TTAudioGraphInlet::operator=().

+ Here is the call graph for this function:

TTErr TTObjectBaseRelease ( TTObjectBasePtr anObject)

DEPRECATED.

Deprecated:
Instead, please use the
TTObject destructor via the delete operator as detailed in Object Life Cycle

Definition at line 339 of file TTEnvironment.cpp.

References kTTErrNone, and TTEnvironment::releaseInstance().

Referenced by TTAudioObjectBase::defaultCalculateMethod(), TTAudioEngine::destroy(), filter_free(), TTAudioGraphInlet::operator=(), PackFree(), TTAudioObjectBaseArray::setSize(), TTLinearFunction::test(), TTSineEaseInOutFunction::test(), TTSineEaseOutFunction::test(), TTBounceEaseInOutFunction::test(), TTBounceEaseOutFunction::test(), TTCircularEaseInFunction::test(), TTCircularEaseOutFunction::test(), TTCubicEaseInFunction::test(), TTCubicEaseOutFunction::test(), TTBackEaseInFunction::test(), TTElasticEaseInFunction::test(), TTQuadraticEaseInFunction::test(), TTQuadraticEaseOutFunction::test(), TTQuarticEaseInFunction::test(), TTElasticEaseOutFunction::test(), TTQuarticEaseOutFunction::test(), TTQuinticEaseInFunction::test(), TTBackEaseOutFunction::test(), TTExponentialEaseInFunction::test(), TTQuinticEaseOutFunction::test(), TTBounceEaseInFunction::test(), TTSineEaseInFunction::test(), TTExponentialEaseOutFunction::test(), TTSmoothPolynomialFunction::test(), TTExponentialEaseInOutFunction::test(), TTCircularEaseInOutFunction::test(), TTBackEaseInOutFunction::test(), TTQuinticEaseInOutFunction::test(), TTCubicEaseInOutFunction::test(), TTElasticEaseInOutFunction::test(), TTQuadraticEaseInOutFunction::test(), TTQuarticEaseInOutFunction::test(), TTLogFunction::test(), TTExpFunction::test(), TTPowerFunction::test(), TTPhasor::test(), TTTanhFunction::test(), TTHalfband3::test(), HammingWindow::test(), TTFreeHandFunction::test(), TTMirror5::test(), RosenbergGlottalPulseWindow::test(), GaussWindow::test(), TTMirrorBandpass10::test(), TTRamp::test(), TTHalfband5::test(), TTHilbertLinear33::test(), TukeyWindow::test(), TTHalfband9::test(), RectangularWindow::test(), KaiserWindow::test(), TTSvf::test(), TTAllpass1::test(), TTHilbert9::test(), TTAverage::test(), TTHalfbandLinear33::test(), wrapAsMaxAudioGraph(), TTAudioGraphInlet::~TTAudioGraphInlet(), TTAudioGraphOutlet::~TTAudioGraphOutlet(), TTDataspace::~TTDataspace(), and TTSpatBaseRenderer::~TTSpatBaseRenderer().

+ Here is the call graph for this function: