Server Headers
Projects > Tools > Gea > SC Code Study > Server Headers
Current notes:
Lists of files in directories relevant to scserver implementation. XCode project Folder: Headers/server
(Implementation of sc sound server, header files)
HashTable.h (Implements Dictionary class?) HashTable: Hold array of objects of some type. Allocate and free this array using custom Allocator. Objects can be stored and retrieved according to a Key that is part of the object The key of an object is obtained with: GetKey(inItem). HashTable is a class template, which means the type of object stored can be given as parameter when creating an instance. IntHashTable: Like HashTable, only difference seems to be that the key returned by GetKey is an integer and therefore does not need to be subjected to an int32 cast. MsgFifo.h Implements message first-in-first-out queue. For executing byte code sent to the server via OSC? Is this for creating Synths from SynthDefs? OSC_Packet.h Defines struct OSC_Packet. (Basic structure for OSC communication?) PriorityQueue.h Queue for adding and performing events. For performing Synths as UGen graphs? ReadWriteMacros.h Function macros for reading and writing data to files. Rendezvous.h Defines data and function used for communicating with Apple Rendezvous protocol SC_AU.h Declares classes that implement Apple Audio Units SC_ComPort.h Declares classes for use of communication ports in TCP/IP, Rendezvous and others. SC_Complex.h Implements math with complex and polar numeric data. SC_CoreAudio.h Implements interface to audio drivers for audio I/O. Defines class SC_AudioDriver SC_Errors.h Defines enum type for error messages. SC_GraphDef.h Defines structs ParamDef and GraphDef (which implement SynthDefs ?) SC_Group.h Defines struct Group (implementation of Group in scsynth) SC_HiddenWorld.h Defines structures that manage Nodes, Synths and Groups SC_Lib.h Defines class SC_NamedObj (whose role is yet unclear) SC_Lib_Cintf.h scserver OSC commands as enum type and some related definitions SC_List.h Link class: Can be a node in a list or a list itself. SC_Lock.h Defines class SC_Lock. Role yet unclear. SC_Prototypes.h Prototypes for a considerable number of basic functions. SC_Samp.h Defines some datatypes for audio samples and function prototype for SignalAsWavetable SC_SequencedCommand.h From the doc at the beginning of this file: * Having SequencedCommands allows performing actions that might otherwise require * taking a mutex, which is undesirable in a real time thread. * Some commands require several stages of processing at both the real time * and non real time levels. This class does the messaging between levels for you * so that you only need to write the functions. ------------------------- Note: mutex def from wikipedia: Mutual exclusion (often abbreviated to mutex) algorithms are used in concurrent programming to avoid the simultaneous use of a common resource, such as a global variable, by pieces of computer code called critical sections. SC_Str4.h " a 4 byte aligned and zero padded string allows faster string operations. " SC_SyncCondition.h Class SC_SyncCondition. Role? SC_SynthDef.h Class NodeDef (implements SynthDefs?) SC_UnitDef.h Structs UnitDef, UnitCmd (For UGens?) SC_UnitSpec.h Struct UnitSpec holds data for specifying a UGen SC_WireSpec.h Struct WireSpec holds data defining the connections of signals between UGens