MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Namespaces | Typedefs | Enumerations | Variables
mdsChannel.h File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
. More...

#include <MDSTk/Base/mdsTypes.h>
#include <MDSTk/Base/mdsAssert.h>
#include <MDSTk/Base/mdsException.h>
#include <MDSTk/Base/mdsSharedPtr.h>
#include <MDSTk/Base/mdsLock.h>
#include <MDSTk/System/mdsNamedPipe.h>
#include <MDSTk/System/mdsSharedMem.h>
#include <MDSTk/System/mdsSemaphore.h>
#include <MDSTk/System/mdsString.h>
#include "mdsModuleExport.h"
#include <cstdio>
#include <string>
#include <vector>

Classes

class  mds::mod::CChannel
 Base abstract class for all classes implementing channels. More...
class  mds::mod::CFileChannel
 I/O by means of reading and writing files. More...
class  mds::mod::CFileChannelU
 I/O by means of reading and writing files with Unicode names. More...
class  mds::mod::CNullChannel
 Null channel that doesn't write or read any data. More...
class  mds::mod::CPipeChannel
 Channel via named pipes. More...
class  mds::mod::CSharedMemChannel
 Channel over shared memory. More...
class  mds::mod::CStdChannel
 Channel implemented via reading stdin and writing stdout. More...

Namespaces

namespace  mds
 

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel


namespace  mds::mod

Typedefs

typedef CChannel::tSmartPtr mds::mod::CChannelPtr
 Smart pointer to channel.
typedef CFileChannel::tSmartPtr mds::mod::CFileChannelPtr
 Smart pointer to file channel.
typedef CFileChannelU::tSmartPtr mds::mod::CFileChannelUPtr
 Smart pointer to file channel.
typedef CNullChannel::tSmartPtr mds::mod::CNullChannelPtr
 Smart pointer to null channel.
typedef CPipeChannel::tSmartPtr mds::mod::CPipeChannelPtr
 Smart pointer to pipe channel.
typedef
CSharedMemChannel::tSmartPtr 
mds::mod::CSharedMemChannelPtr
 Smart pointer to shared memory channel.
typedef CStdChannel::tSmartPtr mds::mod::CStdChannelPtr
 Smart pointer to stdin/stdout channel.

Enumerations

enum  mds::mod::EChannelMedium {
  mds::mod::CH_NULL = 0, mds::mod::CH_STDIO = 1, mds::mod::CH_FILE, mds::mod::CH_PIPE,
  mds::mod::CH_SHM, mds::mod::CH_TCP, mds::mod::CH_MEM
}
 Channel transmission medium. More...
enum  mds::mod::EChannelType {
  mds::mod::CH_UNKNOWN = 0, mds::mod::CH_IN = 1 << 0, mds::mod::CH_OUT = 1 << 1, mds::mod::CH_BIDIRECTIONAL = CH_IN | CH_OUT,
  mds::mod::CH_COMPRESSOR = 1 << 2, mds::mod::CH_PREDICTOR = 1 << 3
}
 Channel types. More...

Variables

const unsigned mds::mod::CH_CONNECTION_TIMEOUT = 15000
 Timeout used for connection establishing.
const unsigned mds::mod::CH_WAIT_TIMEOUT = 1000
 Timeout used for waiting for data.

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.

Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2003/10/23

Id:
mdsChannel.h 2092 2012-02-15 12:50:59Z spanel

Description: