Logo Search packages:      
Sourcecode: csound version File versions  Download package

csound::System Class Reference

#include <System.hpp>

List of all members.


Detailed Description

Abstraction layer for a minimal set of system services.

Definition at line 56 of file System.hpp.


Public Types

enum  Level { ERROR_LEVEL = 1, WARNING_LEVEL = 2, INFORMATION_LEVEL = 4, DEBUGGING_LEVEL = 8 }

Static Public Member Functions

static void beep ()
static void closeLibrary (void *library)
static void * createThread (void(*threadRoutine)(void *threadData), void *data, int priority)
static void * createThreadLock ()
static void debug (const char *format,...)
static void debug (CSOUND *csound, const char *format,...)
static void destroyThreadLock (void *lock)
static void error (const char *format,...)
static void error (CSOUND *csound, const char *format,...)
static int execute (const char *command)
static std::vector< std::string > getDirectoryNames (std::string directoryName)
static std::vector< std::string > getFilenames (std::string directoryName)
static FILE * getLogfile ()
static MessageCallbackType getMessageCallback ()
static int getMessageLevel ()
static std::string getSharedLibraryExtension ()
static void * getSymbol (void *library, std::string name)
static void * getUserdata ()
static void inform (const char *format,...)
static void inform (CSOUND *csound, const char *format,...)
static void message (CSOUND *csound, int attribute, const char *format, va_list valist)
static void message (CSOUND *csound, int level, const char *format,...)
static PUBLIC void message (const char *format, va_list valist)
static void message (CSOUND *csound, const char *format, va_list valist)
static void message (const char *format,...)
static void message (CSOUND *csound, const char *format,...)
static void notifyThreadLock (void *lock)
static int openLibrary (void **library, std::string filename)
static void parsePathname (const std::string pathname, std::string &drive, std::string &base, std::string &file, std::string &extension)
static void setLogfile (FILE *logfile)
static void setMessageCallback (MessageCallbackType messageCallback_)
static int setMessageLevel (int messageLevel)
static void setUserdata (void *userdata)
static int shellOpen (const char *filename, const char *command="open")
static void sleep (double milliseconds)
static clock_t startTiming ()
static double stopTiming (clock_t startedAt)
static void waitThreadLock (void *lock, size_t timeoutMilliseconds=0)
static void warn (const char *format,...)
static void warn (CSOUND *csound, const char *format,...)
static void yieldThread ()

Static Private Attributes

static FILE * logfile = 0
static void(* messageCallback )(CSOUND *csound, int attribute, const char *format, va_list valist)
static int messageLevel = ERROR_LEVEL | WARNING_LEVEL | INFORMATION_LEVEL
static void * userdata_ = 0

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index