Jamoma API  0.6.0.a19
TTModular.cpp File Reference

the Modular Application Programming Interface More...

#include "TTModular.h"
#include "TTInputAudio.h"
#include "TTOutputAudio.h"
#include "TTInput.h"
#include "TTOutput.h"
+ Include dependency graph for TTModular.cpp:

Go to the source code of this file.

Functions

void TTModularInit (const char *binaries, bool loadFromBuiltinPaths)
 Initialize the Modular library and intanciate the TTModular object. More...
 
TTAddressItemPtr TTModularSelectionLookup (const TTSymbol selectionName)
 Get a selection or create one if it doesn't exist yet. More...
 
TTAddress TTModularAddressEditNumericInstance (const TTSymbol integerFormatAddress, const TTUInt32 instanceNumber)
 Edit a specific integer instance address using an integer format address. More...
 
TTAddress TTModularAddressEditSymbolInstance (const TTSymbol symbolFormatAddress, const TTSymbol instanceSymbol)
 Edit a specific symbol instance address using an symbol format address. More...
 
TTErr TTModularAddressGetInstances (const TTAddress address, TTValue &instances)
 Get all intances at an address. More...
 

Variables

TTApplicationManagerPtr TTModularApplicationManager = NULL
 Export a pointer to a TTApplicationManager instance. More...
 

Detailed Description

the Modular Application Programming Interface

The Modular API allows to use Modular inside another application

See also
TTModular
Authors
Théo de la Hogue

Definition in file TTModular.cpp.

Function Documentation

TTAddress TTModularAddressEditNumericInstance ( const TTSymbol  integerFormatAddress,
const TTUInt32  instanceNumber 
)

Edit a specific integer instance address using an integer format address.

Parameters
integerFormatAddressa symbol as integer format address : /any/level/name.d
instanceNumberan unsigned integer
Returns
TTAddress like /any/level/name.1

Definition at line 138 of file TTModular.cpp.

TTAddress TTModularAddressEditSymbolInstance ( const TTSymbol  symbolFormatAddress,
const TTSymbol  instanceSymbol 
)

Edit a specific symbol instance address using an symbol format address.

Parameters
symbolFormatAddressa symbol as symbol format address : /any/level/name.s
instanceSymbola symbol
Returns
TTAddress like /any/level/name.foo

Definition at line 143 of file TTModular.cpp.

TTErr TTModularAddressGetInstances ( const TTAddress  address,
TTValue instances 
)

Get all intances at an address.

Parameters
addressan address without instance part :
  • /any/level/name
  • distantApp:/any/level/name
instancesthe returned instances symbols
Returns
kTTErrGeneric if the address doesn't exist

Definition at line 148 of file TTModular.cpp.

References kTTErrGeneric.

void TTModularInit ( const char *  binaries = nullptr,
bool  loadFromBuiltinPaths = false 
)

Initialize the Modular library and intanciate the TTModular object.

Parameters
binariespath to the Jamoma libraries and extensions binaries folder to load them

Definition at line 45 of file TTModular.cpp.

References TTObject::send(), and TTLogMessage().

+ Here is the call graph for this function:

TTAddressItemPtr TTModularSelectionLookup ( const TTSymbol  selectionName)

Get a selection or create one if it doesn't exist yet.

Parameters
selectionNamea symbol

Definition at line 110 of file TTModular.cpp.

References TTHash::append(), and TTHash::lookup().

+ Here is the call graph for this function:

Variable Documentation