#include <config.h>
#include <fx.h>
#include <fxdefs.h>
Go to the source code of this file.
Namespaces | |
| namespace | FXEX |
| namespace | FXEX::FXUtils |
Defines | |
| #define | COMPRESS_FAST 1 |
| #define | COMPRESS_MAX 9 |
| #define | COMPRESS_NONE 0 |
| #define | COMPRESS_NORMAL 6 |
| #define | FXCTOR() fxtrace (100,"%s::%s %p\n",getClassName(),getClassName(),this) |
| #define | FXDeclare(Class) FXDECLARE(Class) |
| #define | FXDeclareAbstract(Class) FXDECLARE_ABSTRACT(Class) |
| #define | FXDefMap(Class) FXDEFMAP(Class) Class##Map[] |
| #define | FXDTOR() fxtrace (100,"%s::~%s %p\n",getClassName(),getClassName(),this) |
| #define | FXFuncDecl(Func) long on##Func (FXObject*,FXSelector,void*) |
| #define | FXFuncImpl(Class, Func, tgt, sel, ptr) long Class::on##Func (FXOject *tgt,FXSelector sel, void *ptr) |
| #define | FXImplement(Class, Parent) FXIMPLEMENT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map)) |
| #define | FXImplementAbstract(Class, Parent) FXIMPLEMENT_ABSTRACT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map)) |
| #define | FXMapFunc(Class, SelType, Id, Func) FXMAPFUNC(SEL_##SelType,Class::ID_##Id,Class::on##Func) |
| #define | FXMapFuncs(Class, SelType, FromId, ToId, Func) FXMAPFUNCS(SEL_##SelType,Class::ID_##FromId,Class::ID_##ToId,Class::on#Func) |
| #define | FXMapType(Class, SelType, Func) FXMAPTYPE(SEL_##SelType,Class::on##Func) |
| #define | FXMapTypes(Class, FromType, ToType, Func) FXMAPTYPES(SEL_##FromType,SEL_##ToType,Class::on##Func) |
| #define | FXMETHOD(methodname) fxtrace (100,"%s::%s %p\n",getClassName(),#methodname,this) |
| #define | FXNEWLINE "\n" |
| #define | FXROUTE(src, tgt, sel, msg, ptr) (tgt->handle(src,FXSEL(sel,msg),ptr) |
| #define | FXSEND(tgt, sel, msg, ptr) (tgt->handle(this,FXSEL(sel,msg),ptr) |
| Zed A Shaw posted these (09/09/02), or a variation of them. | |
| #define | INFINITE (-1) |
| #define | INVALID_HANDLE -1 |
| #define | MKUSHORT(l, h) ((((FX::FXuchar)(l))&0xff) | (((FX::FXuchar)(h))<<8)) |
| #define | VALID_RESULT 0 |
Typedefs | |
| typedef void * | FXEX::FXDLLHandle |
| typedef FXint | FXEX::FXIOState |
| IO state definitions. | |
| typedef FXint | FXEX::FXIOStatus |
| IO status definitions. | |
| typedef void * | FXEX::FXThreadCondition |
| typedef FXInputHandle * | FXEX::FXThreadEventHandle |
| typedef void * | FXEX::FXThreadHandle |
| typedef void * | FXEX::FXThreadMutex |
| typedef void * | FXEX::FXThreadSemaphore |
Enumerations | |
| enum | { FXEX::SEL_DATA = FX::SEL_LAST, FXEX::SEL_THREAD, FXEX::SEL_WAITABLE_WAIT, FXEX::SEL_WAITABLE_ACTIVATE, FXEX::SEL_INTERLOCK, FXEX::SEL_BARRIER_LOCK, FXEX::SEL_BARRIER_UNLOCK, FXEX::SEL_INPUT, FXEX::SEL_OUTPUT, FXEX::SEL_ERROR, FXEX::SEL_IO, FXEX::SEL_IO_CONNECT, FXEX::SEL_EVENT, FXEX::SEL_BEGIN, FXEX::SEL_END, FXEX::SEL_TAG, FXEX::SEL_CONTENT, FXEX::SEL_REGISTRY, FXEX::SEL_LASTEX, FXEX::SEL_THREAD_EVENT } |
| enum | { FXEX::FXIOStatusUnknown = -2, FXEX::FXIOStatusError = -1, FXEX::FXIOStatusOk = 0, FXEX::FXIOStatusOK = 0, FXEX::FXIOStatusLast } |
| enum | { FXEX::FXIOStateUnknown = -1, FXEX::FXIOStateNone = -1, FXEX::FXIOStateOk = 0, FXEX::FXIOStateOK = 0, FXEX::FXIOStateUnconnected, FXEX::FXIOStateConnected, FXEX::FXIOStateOpen = FXIOStateConnected, FXEX::FXIOStateListener, FXEX::FXIOStateAccepted, FXEX::FXIOStateDuplicated, FXEX::FXIOStateLast } |
| enum | FXEX::FXFilePermission { FXEX::FILEPERM_NONE = 0, FXEX::FILEPERM_USER_READ = 0x00000001, FXEX::FILEPERM_USER_WRITE = 0x00000002, FXEX::FILEPERM_USER_EXEC = 0X00000004, FXEX::FILEPERM_GROUP_READ = 0x00000010, FXEX::FILEPERM_GROUP_WRITE = 0x00000020, FXEX::FILEPERM_GROUP_EXEC = 0x00000040, FXEX::FILEPERM_OTHER_READ = 0x00000100, FXEX::FILEPERM_OTHER_WRITE = 0x00000200, FXEX::FILEPERM_OTHER_EXEC = 0x00000400, FXEX::FILEPERM_READ = 0x00000111, FXEX::FILEPERM_WRITE = 0x00000222, FXEX::FILEPERM_EXEC = 0x00000444, FXEX::FILEPERM_ALL = 0x00000777, FXEX::FILEPERM_SET_UID = 0x00001000, FXEX::FILEPERM_SET_GID = 0x00002000, FXEX::FILEPERM_STICKY = 0x00004000, FXEX::FILEPERM_SECURE_IO = FILEPERM_USER_READ|FILEPERM_USER_WRITE, FXEX::FILEPERM_DEFAULT_IO = FILEPERM_READ|FILEPERM_USER_WRITE|FILEPERM_GROUP_WRITE, FXEX::FILEPERM_DEFAULT_EXEC = FILEPERM_READ|FILEPERM_USER_WRITE|FILEPERM_GROUP_WRITE|FILEPERM_EXEC } |
| enum | FXEX::FXSocketFamily { FXEX::FXSocketFamilyNone = 0, FXEX::FXSocketFamilyLocal, FXEX::FXSocketFamilyInet, FXEX::FXSocketFamilyInet6, FXEX::FXSocketFamilyAutomatic, FXEX::FXSocketFamilyUnix = FXSocketFamilyLocal } |
| Socket families. More... | |
| enum | FXEX::FXSocketType { FXEX::FXSocketTypeNone = 0, FXEX::FXSocketTypeStream, FXEX::FXSocketTypeTCP = FXSocketTypeStream, FXEX::FXSocketTypeDatagram, FXEX::FXSocketTypeUDP = FXSocketTypeDatagram } |
| Socket types. More... | |
Functions | |
| void | FXEX::FXUtils::convert_timespec (struct timespec *ts, FXuint ms) |
| void | FXEX::FXUtils::convert_timeval (struct timeval *tv, FXuint ms) |
| time conversion routines | |
Variables | |
| FXAPI const FXuchar | FXEX::FXUtils::fxexversion [3] |
| Version number that the library version is compiled with. | |
| #define COMPRESS_FAST 1 |
Definition at line 84 of file fxexdefs.h.
| #define COMPRESS_MAX 9 |
Definition at line 82 of file fxexdefs.h.
| #define COMPRESS_NONE 0 |
Definition at line 85 of file fxexdefs.h.
| #define COMPRESS_NORMAL 6 |
Definition at line 83 of file fxexdefs.h.
| #define FXCTOR | ( | ) | fxtrace (100,"%s::%s %p\n",getClassName(),getClassName(),this) |
Definition at line 157 of file fxexdefs.h.
| #define FXDeclare | ( | Class | ) | FXDECLARE(Class) |
Quite a while ago (18/08/2000), these macros (or something similar) were posted to the FOX users list, by Dirk Zoller. I cleaned them up a little.
Definition at line 124 of file fxexdefs.h.
| #define FXDeclareAbstract | ( | Class | ) | FXDECLARE_ABSTRACT(Class) |
Definition at line 126 of file fxexdefs.h.
| #define FXDefMap | ( | Class | ) | FXDEFMAP(Class) Class##Map[] |
Definition at line 128 of file fxexdefs.h.
| #define FXDTOR | ( | ) | fxtrace (100,"%s::~%s %p\n",getClassName(),getClassName(),this) |
Definition at line 159 of file fxexdefs.h.
| #define FXFuncDecl | ( | Func | ) | long on##Func (FXObject*,FXSelector,void*) |
Definition at line 134 of file fxexdefs.h.
| #define FXFuncImpl | ( | Class, | |||
| Func, | |||||
| tgt, | |||||
| sel, | |||||
| ptr | ) | long Class::on##Func (FXOject *tgt,FXSelector sel, void *ptr) |
Definition at line 136 of file fxexdefs.h.
| #define FXImplement | ( | Class, | |||
| Parent | ) | FXIMPLEMENT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map)) |
Definition at line 132 of file fxexdefs.h.
| #define FXImplementAbstract | ( | Class, | |||
| Parent | ) | FXIMPLEMENT_ABSTRACT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map)) |
Definition at line 130 of file fxexdefs.h.
| #define FXMapFunc | ( | Class, | |||
| SelType, | |||||
| Id, | |||||
| Func | ) | FXMAPFUNC(SEL_##SelType,Class::ID_##Id,Class::on##Func) |
Definition at line 144 of file fxexdefs.h.
| #define FXMapFuncs | ( | Class, | |||
| SelType, | |||||
| FromId, | |||||
| ToId, | |||||
| Func | ) | FXMAPFUNCS(SEL_##SelType,Class::ID_##FromId,Class::ID_##ToId,Class::on#Func) |
Definition at line 142 of file fxexdefs.h.
| #define FXMapType | ( | Class, | |||
| SelType, | |||||
| Func | ) | FXMAPTYPE(SEL_##SelType,Class::on##Func) |
Definition at line 140 of file fxexdefs.h.
| #define FXMapTypes | ( | Class, | |||
| FromType, | |||||
| ToType, | |||||
| Func | ) | FXMAPTYPES(SEL_##FromType,SEL_##ToType,Class::on##Func) |
Definition at line 138 of file fxexdefs.h.
| #define FXMETHOD | ( | methodname | ) | fxtrace (100,"%s::%s %p\n",getClassName(),#methodname,this) |
Definition at line 158 of file fxexdefs.h.
| #define FXNEWLINE "\n" |
Definition at line 102 of file fxexdefs.h.
| #define FXROUTE | ( | src, | |||
| tgt, | |||||
| sel, | |||||
| msg, | |||||
| ptr | ) | (tgt->handle(src,FXSEL(sel,msg),ptr) |
Definition at line 151 of file fxexdefs.h.
| #define FXSEND | ( | tgt, | |||
| sel, | |||||
| msg, | |||||
| ptr | ) | (tgt->handle(this,FXSEL(sel,msg),ptr) |
Zed A Shaw posted these (09/09/02), or a variation of them.
Definition at line 149 of file fxexdefs.h.
| #define INFINITE (-1) |
| #define INVALID_HANDLE -1 |
Definition at line 205 of file fxexdefs.h.
| #define MKUSHORT | ( | l, | |||
| h | ) | ((((FX::FXuchar)(l))&0xff) | (((FX::FXuchar)(h))<<8)) |
Definition at line 107 of file fxexdefs.h.
| #define VALID_RESULT 0 |
Definition at line 210 of file fxexdefs.h.
1.5.6