AP Namespace Reference

Architecture Platform. More...


Data Structures

class  AP_ActiveObject
class  AP_Array
class  AP_ArrayBase
class  AP_Color
class  AP_Conf
class  AP_CTexture
class  AP_Db
class  AP_DbBase
class  AP_DbFamily
class  AP_Dds
union  AP_DdsHeader
class  AP_Debugger
class  AP_Dir
class  AP_DirList
class  AP_File
class  AP_FileList
class  AP_Hash
 Hash for which both keys and values are strings. More...
class  AP_HashBase
class  AP_Key
class  AP_Logger
class  AP_Matrix4x4
class  AP_Md5
class  AP_MemoryBase
class  AP_MemoryManager
class  AP_MemoryPool
class  AP_PeerSocket
class  AP_Point
class  AP_Process
class  AP_ProcessAttribute
class  AP_ProcessStatistics
class  AP_Rectangle
class  AP_Regex
class  AP_Rotate
struct  AP_Signal
class  AP_SignalManager
class  AP_Socket
struct  AP_Statistics
class  AP_String
struct  AP_Texture
class  AP_Tga
struct  AP_TgaHeader
class  AP_Thread
class  AP_ThreadCriticalSection
class  AP_ThreadQueueBase
class  AP_ThreadSemaphore
class  AP_ThreadStatistics
class  AP_Timer
struct  AP_TimerEvent
class  AP_Vector2
class  AP_Vector3
class  AP_Vector4
class  AP_Xml
struct  Image

Typedefs

typedef char * AP_Args
typedef bool AP_Bool
typedef char AP_Byte
typedef AP_Color< AP_Float64AP_Color3d
typedef AP_Color< AP_Float32AP_Color3f
typedef AP_Color< AP_Sint32AP_Color3i
typedef AP_Color< AP_Float64AP_Color4d
typedef AP_Color< AP_Float32AP_Color4f
typedef AP_Color< AP_Sint32AP_Color4i
typedef float AP_Float32
typedef double AP_Float64
typedef AP_HashBase< AP_Sint32,
AP_String
AP_Hash_KintVstr
 Hash for which keys are integer and values are string.
typedef AP_HashBase< AP_String,
AP_Sint32
AP_Hash_KstrVint
 Hash for which keys are string and values are integers.
typedef int AP_Int
typedef AP_Matrix4x4< AP_Float64AP_Matrix4x4d
typedef AP_Matrix4x4< AP_Float32AP_Matrix4x4f
typedef AP_Matrix4x4< AP_Sint32AP_Matrix4x4i
typedef AP_Point< AP_Float64AP_Point2d
typedef AP_Point< AP_Float32AP_Point2f
typedef AP_Point< AP_Sint32AP_Point2i
typedef AP_Point< AP_Float64AP_Point3d
typedef AP_Point< AP_Float32AP_Point3f
typedef AP_Point< AP_Sint32AP_Point3i
typedef AP_Point< AP_Float64AP_Point4d
typedef AP_Point< AP_Float32AP_Point4f
typedef AP_Point< AP_Sint32AP_Point4i
typedef void * AP_Pointer
typedef int(* AP_ProcessHandle )(AP_Process *)
typedef AP_Rotate< AP_Float64AP_Rotate4d
typedef AP_Rotate< AP_Float32AP_Rotate4f
typedef AP_Rotate< AP_Sint32AP_Rotate4i
typedef char AP_Schar
typedef short AP_Sint16
typedef long AP_Sint32
typedef char AP_Sint8
typedef AP_HashBase< AP_String,
AP_String
AP_StatusTable
typedef FILE * AP_StdFile
typedef void *(* AP_ThreadHandle )(void *)
typedef pthread_t AP_ThreadObject
typedef pthread_attr_t AP_ThreadObjectAttr
typedef AP_ThreadQueueBase
< AP_String
AP_ThreadQueue
typedef AP_HashBase< AP_String,
AP_TimerEvent
AP_TimerBase
typedef AP_Pointer(* AP_TimerHandle )(AP_Pointer)
typedef unsigned char AP_Uchar
typedef unsigned short AP_Uint16
typedef unsigned long AP_Uint32
typedef unsigned char AP_Uint8
typedef AP_Vector2< AP_Float64AP_Vector2d
typedef AP_Vector2< AP_Float32AP_Vector2f
typedef AP_Vector2< AP_Sint32AP_Vector2i
typedef AP_Vector3< AP_Float64AP_Vector3d
typedef AP_Vector3< AP_Float32AP_Vector3f
typedef AP_Vector3< AP_Sint32AP_Vector3i
typedef AP_Vector4< AP_Float64AP_Vector4d
typedef AP_Vector4< AP_Float32AP_Vector4f
typedef AP_Vector4< AP_Sint32AP_Vector4i
typedef AP_ArrayBase< AP_XmlAP_XmlList

Enumerations

enum  AP_TimerType { PERIODIC, ONESHOT }

Functions

timespec addmsec (const timespec abs_time, const AP_Uint32 msec)
AP_Bool AP_Close2 (AP_StdFile fp_read, AP_StdFile fp_write, AP_Int pid, AP_Int &result)
 AP_Popen2().
AP_Sint32 AP_Exec (const AP_String &cmd)
AP_Sint32 AP_Exec (const AP_Array &args)
AP_Bool AP_Pclose (AP_StdFile &pfp)
 returned from AP_Popen()
AP_Bool AP_Popen (const AP_String &cmd, AP_StdFile &pfp)
 file handle returned
AP_Bool AP_Popen2 (const AP_String &cmd, AP_StdFile &pfp_read, AP_StdFile &pfp_write, AP_Int &ppid)
 Unix version returns 'true' on success, 'false' on failure use this one to open both an input and output pipe to the executable.
AP_String AP_Pread (AP_StdFile fd)
 returned from AP_Popen()
AP_Sint32 AP_ReadyForRead (const AP_Sint32 socket, const AP_Uint32 timeout)
 0 - Ready -1 - Timeout -2 - Error
AP_Sint32 AP_ReadyForWrite (const AP_Sint32 socket, const AP_Uint32 timeout)
 0 - Ready -1 - Timeout -2 - Error
AP_ThreadObject AP_ThreadCreate (AP_ThreadHandle handle, AP_Pointer arg, AP_Uint32 stacksize)
bool AP_ThreadSingle (void *(*handle)(void *), void *arg, AP_Uint32 stacksize)
AP_Bool APClose2 (AP_StdFile fp_read, AP_StdFile fp_write, AP_Int pid, AP_Int &result)
 process id returned
AP_String Cat (const AP_String &namefile)
AP_String Extract (const AP_String &s, const AP_String &pattern, AP_Sint32 count)
AP_Sint32 Find (const AP_String &text, const AP_String &pattern)
AP_Uint32 gettid (void)
AP_Bool Grep (const AP_String &text, const AP_String &pattern)
AP_Bool IsBinNumeric (const AP_String &number)
AP_Bool IsHexNumeric (const AP_String &number)
AP_Bool IsNumeric (const AP_String &number)
AP_String itoa (AP_Uint32 i)
void logPrint (AP_Pointer pixel, AP_Uint32 num, AP_Uint32 color)
static void md5_begin (md5_ctx_t *ctx)
static void * md5_end (void *resbuf, md5_ctx_t *ctx)
static void md5_hash (const void *buffer, size_t len, md5_ctx_t *ctx)
static void md5_hash_block (const void *buffer, md5_ctx_t *ctx)
void msleep (const AP_Uint32 delay)
unsigned long now_msec (void)
AP_Float64 now_std (void)
unsigned long now_usec (void)
AP_Bool Sed (AP_String &s, const AP_String &pattern, const AP_String &new_s)
AP_Bool Stat (const AP_String &path)
AP_Uint32 uniqueId (const AP_Pointer pointer)

Variables

static const AP_Xml XmlVoid


Detailed Description

Architecture Platform.


Typedef Documentation

typedef char* AP_Args

typedef bool AP_Bool

typedef char AP_Byte

typedef float AP_Float32

TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString AP_Float64

Hash for which keys are integer and values are string.

Hash for which keys are string and values are integers.

typedef int AP_Int

typedef void* AP_Pointer

typedef int(* AP_ProcessHandle)(AP_Process *)

typedef char AP_Schar

typedef short AP_Sint16

typedef long AP_Sint32

typedef char AP_Sint8

typedef FILE* AP_StdFile

typedef void*(* AP_ThreadHandle)(void *)

typedef pthread_t AP_ThreadObject

typedef pthread_attr_t AP_ThreadObjectAttr

typedef unsigned char AP_Uchar

typedef unsigned short AP_Uint16

typedef unsigned long AP_Uint32

typedef unsigned char AP_Uint8

TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime AP_Vector4f


Enumeration Type Documentation

Enumerator:
PERIODIC 
ONESHOT 


Function Documentation

timespec AP::addmsec ( const timespec  abs_time,
const AP_Uint32  msec 
) [inline]

AP_Bool AP::AP_Close2 ( AP_StdFile  fp_read,
AP_StdFile  fp_write,
AP_Int  pid,
AP_Int &  result 
)

AP_Popen2().

Unix version returns 'true' on success, 'false' on failure can be NULL

Parameters:
fp_write returned from AP_Popen2()
pid returned from AP_Popen2()
result returned from AP_Popen2()

AP_Sint32 AP_Exec ( const AP_String &  cmd  ) 

AP_Sint32 AP_Exec ( const AP_Array &  args  ) 

AP_Bool AP_Pclose ( AP_StdFile &  pfp  ) 

returned from AP_Popen()

file handle returned

AP_Bool AP_Popen ( const AP_String &  cmd,
AP_StdFile &  pfp 
)

file handle returned

Parameters:
pfp command completed with arguments

AP_Bool AP_Popen2 ( const AP_String &  cmd,
AP_StdFile &  pfp_read,
AP_StdFile &  pfp_write,
AP_Int &  ppid 
)

Unix version returns 'true' on success, 'false' on failure use this one to open both an input and output pipe to the executable.

process id returned

Parameters:
pfp_read command completed with arguments
pfp_write read file handle returned
ppid write file handle returned

AP_String AP_Pread ( AP_StdFile  fd  ) 

returned from AP_Popen()

AP_Sint32 AP_ReadyForRead ( const AP_Sint32  socket,
const AP_Uint32  timeout 
)

0 - Ready -1 - Timeout -2 - Error

AP_Sint32 AP_ReadyForWrite ( const AP_Sint32  socket,
const AP_Uint32  timeout 
)

0 - Ready -1 - Timeout -2 - Error

AP_ThreadObject AP::AP_ThreadCreate ( AP_ThreadHandle  handle,
AP_Pointer  arg,
AP_Uint32  stacksize 
) [inline]

bool AP_ThreadSingle ( void *(*)(void *)  handle,
void *  arg,
AP_Uint32  stacksize 
)

AP_Bool AP::APClose2 ( AP_StdFile  fp_read,
AP_StdFile  fp_write,
AP_Int  pid,
AP_Int &  result 
)

process id returned

Parameters:
fp_write returned from AP_Popen2()
pid returned from AP_Popen2()
result returned from AP_Popen2()

AP_String Cat ( const AP_String &  namefile  ) 

AP_String Extract ( const AP_String &  s,
const AP_String &  pattern,
AP_Sint32  count 
)

AP_Sint32 Find ( const AP_String &  text,
const AP_String &  pattern 
)

AP_Uint32 AP::gettid ( void   )  [inline]

AP_Bool Grep ( const AP_String &  text,
const AP_String &  pattern 
)

AP_Bool AP::IsBinNumeric ( const AP_String &  number  )  [inline]

AP_Bool AP::IsHexNumeric ( const AP_String &  number  )  [inline]

AP_Bool AP::IsNumeric ( const AP_String &  number  )  [inline]

AP_String itoa ( AP_Uint32  i  ) 

void AP::logPrint ( AP_Pointer  pixel,
AP_Uint32  num,
AP_Uint32  color 
)

static void AP::md5_begin ( md5_ctx_t ctx  )  [static]

static void* AP::md5_end ( void *  resbuf,
md5_ctx_t ctx 
) [static]

static void AP::md5_hash ( const void *  buffer,
size_t  len,
md5_ctx_t ctx 
) [static]

static void AP::md5_hash_block ( const void *  buffer,
md5_ctx_t ctx 
) [static]

void AP::msleep ( const AP_Uint32  delay  )  [inline]

unsigned long AP::now_msec ( void   )  [inline]

AP_Float64 AP::now_std ( void   )  [inline]

unsigned long AP::now_usec ( void   )  [inline]

AP_Bool Sed ( AP_String &  s,
const AP_String &  pattern,
const AP_String &  new_s 
)

AP_Bool AP::Stat ( const AP_String &  path  )  [inline]

AP_Uint32 AP::uniqueId ( const AP_Pointer  pointer  )  [inline]


Variable Documentation

const AP_Xml XmlVoid [static]


Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8