FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OILio.cpp File Reference
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <time.h>
#include <map>
#include <OMEfunctions.h>
#include <OMEruntime.h>
#include <OMEioObjects.h>
#include <OMEobjACL.h>
#include <utils/logging/logging_api.hpp>

Macros

#define THIS_COMPONENT   io
 
#define MAX_IO_VECTORS   128
 
#define DEFAULT_MAX_READ_BUFFER   0x10000
 
#define ARG_IS_INT32(x)   OME_TypeCheck::isHeldBy32BitInteger(x)
 

Functions

int sleepForSeconds (OMEthread *thread, OMEtype &result, const OMEtype &t)
 
int openURL (OMEthread *thread, OMEtype &result, const OMEtype &url)
 
int getIOhandle (OMEthread *thread, OMEtype &result, const OMEtype &ioID)
 
int closeIO (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &flags, const OMEtype &sidesMask)
 
int readBytes (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &bytesToRead, const OMEtype &bufferSize)
 
int seekToOffset (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &offset)
 
int receiveDatagram (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &bufferSize)
 
int writeBytes (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &dataToSend)
 
int sendDatagram (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &dataToSend, const OMEtype &dest)
 
int writeVectorOfBytes (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &skipOffset, const OMEtype &dataToSend)
 
int selectForRead (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &permitPreempt)
 
int selectForWrite (OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &permitPreempt)
 
int acceptConnection (OMEthread *thread, OMEtype &result, const OMEtype &ioID)
 
int getLocalAddress (OMEthread *thread, OMEtype &result, const OMEtype &ioID)
 
int getPeerAddress (OMEthread *thread, OMEtype &result, const OMEtype &ioID)
 
int getErrorStatus (OMEthread *thread, OMEtype &result, const OMEtype &ioID)
 
int getFileInfo (OMEthread *thread, OMEtype &result, const OMEtype &filePath)
 
int unlinkFile (OMEthread *thread, OMEtype &result, const OMEtype &fileName)
 
int removeDirectory (OMEthread *thread, OMEtype &result, const OMEtype &fileName)
 
int renameFile (OMEthread *thread, OMEtype &result, const OMEtype &orgFileName, const OMEtype &newFileName)
 
int makeDirectory (OMEthread *thread, OMEtype &result, const OMEtype &dirName)
 
int listDirectory (OMEthread *thread, OMEtype &result, const OMEtype &dirName)
 
int listInterfaces (OMEthread *thread, OMEtype &result)
 
OME_DLL_EXPORT void INIT_DECLARE_OILio ()
 

Macro Definition Documentation

◆ ARG_IS_INT32

#define ARG_IS_INT32 (   x)    OME_TypeCheck::isHeldBy32BitInteger(x)

◆ DEFAULT_MAX_READ_BUFFER

#define DEFAULT_MAX_READ_BUFFER   0x10000

◆ MAX_IO_VECTORS

#define MAX_IO_VECTORS   128

◆ THIS_COMPONENT

#define THIS_COMPONENT   io

Function Documentation

◆ INIT_DECLARE_OILio()

OME_DLL_EXPORT void INIT_DECLARE_OILio ( )

◆ listInterfaces()

int listInterfaces ( OMEthread thread,
OMEtype result 
)

References OMEgetInterfaces().

Generated: Tue Jul 28 2020 16:03:26
Support Information