Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
FXEX Namespace Reference

Namespaces

namespace  FXUtils
 

Data Structures

class  MFXBaseObject
 
class  MFXThreadEvent
 

Typedefs

typedef void * FXDLLHandle
 
typedef FXint FXIOState
 IO state definitions.
 
typedef FXint FXIOStatus
 IO status definitions.
 
typedef void * FXThreadCondition
 
typedef void * FXThreadHandle
 
typedef void * FXThreadMutex
 
typedef void * FXThreadSemaphore
 
typedef FXInputHandle * MFXThreadEventHandle
 

Enumerations

enum  {
  SEL_DATA = FX::SEL_LAST , SEL_THREAD , SEL_WAITABLE_WAIT , SEL_WAITABLE_ACTIVATE ,
  SEL_INTERLOCK , SEL_BARRIER_LOCK , SEL_BARRIER_UNLOCK , SEL_INPUT ,
  SEL_OUTPUT , SEL_ERROR , SEL_IO , SEL_IO_CONNECT ,
  SEL_EVENT , SEL_BEGIN , SEL_END , SEL_TAG ,
  SEL_CONTENT , SEL_REGISTRY , SEL_LASTEX , SEL_THREAD_EVENT
}
 
enum  {
  FXIOStatusUnknown = -2 , FXIOStatusError = -1 , FXIOStatusOk = 0 , FXIOStatusOK = 0 ,
  FXIOStatusLast
}
 
enum  {
  FXIOStateUnknown = -1 , FXIOStateNone = -1 , FXIOStateOk = 0 , FXIOStateOK = 0 ,
  FXIOStateUnconnected , FXIOStateConnected , FXIOStateOpen = FXIOStateConnected , FXIOStateListener ,
  FXIOStateAccepted , FXIOStateDuplicated , FXIOStateLast
}
 
enum  FXFilePermission {
  FILEPERM_NONE = 0 , FILEPERM_USER_READ = 0x00000001 , FILEPERM_USER_WRITE = 0x00000002 , FILEPERM_USER_EXEC = 0X00000004 ,
  FILEPERM_GROUP_READ = 0x00000010 , FILEPERM_GROUP_WRITE = 0x00000020 , FILEPERM_GROUP_EXEC = 0x00000040 , FILEPERM_OTHER_READ = 0x00000100 ,
  FILEPERM_OTHER_WRITE = 0x00000200 , FILEPERM_OTHER_EXEC = 0x00000400 , FILEPERM_READ = 0x00000111 , FILEPERM_WRITE = 0x00000222 ,
  FILEPERM_EXEC = 0x00000444 , FILEPERM_ALL = 0x00000777 , FILEPERM_SET_UID = 0x00001000 , FILEPERM_SET_GID = 0x00002000 ,
  FILEPERM_STICKY = 0x00004000 , FILEPERM_SECURE_IO = FILEPERM_USER_READ | FILEPERM_USER_WRITE , FILEPERM_DEFAULT_IO = FILEPERM_READ | FILEPERM_USER_WRITE | FILEPERM_GROUP_WRITE , FILEPERM_DEFAULT_EXEC = FILEPERM_READ | FILEPERM_USER_WRITE | FILEPERM_GROUP_WRITE | FILEPERM_EXEC
}
 
enum  FXSocketFamily {
  FXSocketFamilyNone = 0 , FXSocketFamilyLocal , FXSocketFamilyInet , FXSocketFamilyInet6 ,
  FXSocketFamilyAutomatic , FXSocketFamilyUnix = FXSocketFamilyLocal
}
 Socket families. More...
 
enum  FXSocketType {
  FXSocketTypeNone = 0 , FXSocketTypeStream , FXSocketTypeTCP = FXSocketTypeStream , FXSocketTypeDatagram ,
  FXSocketTypeUDP = FXSocketTypeDatagram
}
 Socket types. More...
 

Functions

 FXDEFMAP (MFXBaseObject) MFXBaseObjectMap[]
 
 FXDEFMAP (MFXThreadEvent) MFXThreadEventMap[]
 

Detailed Description

FXEX is the namespace encapsulating the FOXEX library, in a similar vein to the FOX namespace. This should not affect you too much, since if you dont explicately #define FX_NO_GLOBAL_NAMESPACE, the FXEX namespace automatically imported when you #include <fxex/fxex.h>.

Typedef Documentation

◆ FXDLLHandle

typedef void* FXEX::FXDLLHandle

Definition at line 295 of file fxexdefs.h.

◆ FXIOState

typedef FXint FXEX::FXIOState

IO state definitions.

Definition at line 198 of file fxexdefs.h.

◆ FXIOStatus

typedef FXint FXEX::FXIOStatus

IO status definitions.

Definition at line 177 of file fxexdefs.h.

◆ FXThreadCondition

typedef void* FXEX::FXThreadCondition

Definition at line 282 of file fxexdefs.h.

◆ FXThreadHandle

typedef void* FXEX::FXThreadHandle

Definition at line 280 of file fxexdefs.h.

◆ FXThreadMutex

typedef void* FXEX::FXThreadMutex

Definition at line 281 of file fxexdefs.h.

◆ FXThreadSemaphore

typedef void* FXEX::FXThreadSemaphore

Definition at line 283 of file fxexdefs.h.

◆ MFXThreadEventHandle

typedef FXInputHandle* FXEX::MFXThreadEventHandle

Definition at line 284 of file fxexdefs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SEL_DATA 
SEL_THREAD 
SEL_WAITABLE_WAIT 
SEL_WAITABLE_ACTIVATE 
SEL_INTERLOCK 
SEL_BARRIER_LOCK 
SEL_BARRIER_UNLOCK 
SEL_INPUT 
SEL_OUTPUT 
SEL_ERROR 
SEL_IO 
SEL_IO_CONNECT 
SEL_EVENT 
SEL_BEGIN 
SEL_END 
SEL_TAG 
SEL_CONTENT 
SEL_REGISTRY 
SEL_LASTEX 
SEL_THREAD_EVENT 

Definition at line 153 of file fxexdefs.h.

◆ anonymous enum

anonymous enum
Enumerator
FXIOStatusUnknown 
FXIOStatusError 
FXIOStatusOk 
FXIOStatusOK 
FXIOStatusLast 

Definition at line 178 of file fxexdefs.h.

◆ anonymous enum

anonymous enum
Enumerator
FXIOStateUnknown 
FXIOStateNone 
FXIOStateOk 
FXIOStateOK 
FXIOStateUnconnected 
FXIOStateConnected 
FXIOStateOpen 
FXIOStateListener 
FXIOStateAccepted 
FXIOStateDuplicated 
FXIOStateLast 

Definition at line 199 of file fxexdefs.h.

◆ FXFilePermission

File permissions:

Use these with fxfilemode to set platform specific mode flags. For example:

FXFileIO fileio(getApp(),"somefile.txt"); ... fileio->mode(FXUtils::fxfilemode(FILEPERM_DEFAULT_IO));

or:

FXFile::mode("file.txt",FXUtils::fxfilemode(FILEPERM_DEFAULT_IO));

or:

FXuint mode=FXFile::mode("file.txt"); if (mode & FILEPERM_READ) {...}

Enumerator
FILEPERM_NONE 
FILEPERM_USER_READ 
FILEPERM_USER_WRITE 
FILEPERM_USER_EXEC 
FILEPERM_GROUP_READ 
FILEPERM_GROUP_WRITE 
FILEPERM_GROUP_EXEC 
FILEPERM_OTHER_READ 
FILEPERM_OTHER_WRITE 
FILEPERM_OTHER_EXEC 
FILEPERM_READ 
FILEPERM_WRITE 
FILEPERM_EXEC 
FILEPERM_ALL 
FILEPERM_SET_UID 
FILEPERM_SET_GID 
FILEPERM_STICKY 
FILEPERM_SECURE_IO 
FILEPERM_DEFAULT_IO 
FILEPERM_DEFAULT_EXEC 

Definition at line 255 of file fxexdefs.h.

◆ FXSocketFamily

Socket families.

Enumerator
FXSocketFamilyNone 
FXSocketFamilyLocal 
FXSocketFamilyInet 
FXSocketFamilyInet6 
FXSocketFamilyAutomatic 
FXSocketFamilyUnix 

Definition at line 226 of file fxexdefs.h.

◆ FXSocketType

Socket types.

Socket definitions, for types and families

Enumerator
FXSocketTypeNone 
FXSocketTypeStream 
FXSocketTypeTCP 
FXSocketTypeDatagram 
FXSocketTypeUDP 

Definition at line 217 of file fxexdefs.h.

Function Documentation

◆ FXDEFMAP() [1/2]

◆ FXDEFMAP() [2/2]