CGestalt.h File Reference

#include "CSL_Types.h"
#include <stdarg.h>

Go to the source code of this file.

Namespaces

namespace  csl

Classes

class  csl::CGestalt

Defines

#define SAFE_MALLOC(ptr, type, len)
#define kLogInfo   0
#define kLogWarning   1
#define kLogError   2
#define kLogFatal   3

Typedefs

typedef int csl::LogLevel

Functions

void csl::logMsg (char *format,...)
void csl::logMsg (LogLevel level, char *format,...)
void csl::vlogMsg (char *format, va_list args)
void csl::vlogMsg (LogLevel level, char *format, va_list args)
void csl::sleepUsec (float dur_in_usec)
void csl::sleepMsec (float dur_in_msec)
void csl::sleepSec (float dur_in_sec)
float csl::fRand (void)


Define Documentation

#define SAFE_MALLOC ptr,
type,
len   ) 
 

Value:

(type *) ptr = (type *) malloc(len);                    \
    if ((char *) ptr == NULL)                           \
        throw MemoryError("can't allocate buffer");
Useful Macros

#define kLogInfo   0
 

Logging functions are standard C functions

#define kLogWarning   1
 

#define kLogError   2
 

#define kLogFatal   3
 


Generated on Fri Apr 6 20:18:14 2007 for CSL by  doxygen 1.4.5-20051010