Jamoma API  0.6.0.a19
TTGraphInlet.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup graphLibrary
4  *
5  * @brief Jamoma Asynchronous Object Graph Layer
6  *
7  * @details Creates a wrapper for TTObjectBases that can be used to build a control graph for asynchronous message passing
8  *
9  * @authors Timothy Place
10  *
11  * @copyright Copyright © 2010 by Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #include "TTGraphObjectBase.h"
18 #include "TTGraphInlet.h"
19 #include "TTCallback.h"
20 
21 
22 void TTGraphInlet::getDescriptions(TTGraphDescriptionVector& descs)
23 {
24  for (TTGraphSourceIter source = mSourceObjects.begin(); source != mSourceObjects.end(); source++) {
25  TTGraphDescription desc;
26 
27  source->getDescription(desc);
28  descs.push_back(desc);
29  }
30 }
31 
Jamoma Asynchronous Object Graph Layer.
TTGraphSourceVector mSourceObjects
A vector of object pointers from which we pull our source samples using the ::getAudioOutput() method...
Definition: TTGraphInlet.h:34
This class is used to create a backward communication channel to notify a client that something chang...
Jamoma Asynchronous Object Graph Layer.
This object represents a single 'outlet' from a TTGraphObjectBase.