メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

Ttypes.h の解説

#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <list>
#include <vector>
#include <map>
#include <strstream>
#include <stdio.h>
#include <unistd.h>
#include "TOutputStream.hh"

system/Ttypes.hのインクルード依存関係図

Include dependency graph

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

Included by dependency graph

ソースコードを見る。

マクロ定義

#define Tfalse   0
#define Ttrue   1
#define Tios   std::ios
#define Tin   ios::inin
#define Tout   ios::out
#define Tate   ios::ate
#define Tapp   ios::app
#define Ttrunc   ios::trunc
#define Tnocreate   ios::nocreate
#define Tnoreplace   ios::noreplace
#define Tbin   ios::bin
#define Tbinary   ios::binary
#define Tgoodbit   ios::goodbit
#define Teofbit   ios::eofbit
#define Tfailbit   ios::failbit
#define Tbadbit   ios::badbit
#define Tostream   std::ostream
#define Tstreambuf   std::streambuf
#define Tostrstream   std::ostrstream
#define Tistream   std::istream
#define Tlist   std::list
#define Tvector   std::vector
#define Tmap   std::map
#define Tmultimap   std::multimap
#define Tpair   std::pair
#define Tcin   std::cin
#define Tendl   std::endl
#define Tends   std::ends
#define Tdec   std::dec
#define Thex   std::hex
#define Toct   std::oct
#define Tflush   std::flush
#define Tsizeof(_type_)   sizeof(_type_)
#define CLDAQ_DEBUG(m)
#define CLDAQ_WARN(m)
#define CLDAQ_EMERG(m)
#define CLDAQ_ABORT(m)   CLDAQ_EMERG(m)
#define CLDAQ_EXIT(m)

Typedef

typedef double Tdouble
typedef int Tint
typedef float Tfloat
typedef char Tchar
typedef long Tlong
typedef unsigned char TUchar
typedef unsigned int TUint
typedef unsigned long TUlong
typedef short Tshort
typedef unsigned short TUshort
typedef bool Tbool
typedef Tbool Tbit
typedef FILE TFileStream
typedef size_t Tsize_t
typedef void Tvoid
typedef std::string Tstring
typedef std::ofstream Tofstream
typedef std::ifstream Tifstream
typedef Tvector< TintTintList
typedef Tvector< TUintTUintList
typedef Tvector< TUshortTUshortList
typedef Tvector< TdoubleTdoubleList
typedef Tvector< TfloatTfloatList
typedef Tvector< TstringTstringList

Enum

enum  Tobject_t {
  tObjectDataRecord,
  tObjectDataSection,
  tObjectDataSegment,
  tObjectDataElement,
  tObject1DHistogram,
  tObject2DHistogram,
  tObjectAppendGraph,
  tObjectSubstituteGraph,
  tObjectNtuple,
  tNumberOfObjectTypes,
  tObjectUnknown = -1
}
enum  Telement_t {
  tTypeInt,
  tTypeString,
  tTypeDouble,
  tTypeObject,
  tTypeFloat,
  tTypeUnsignedShort,
  tTypeShort,
  tTypeWord,
  tTypeLong,
  tTypeUnsignedLong,
  tTypeUnsignedInt,
  tNumberOfElementTypes,
  tTypeUnknown = -1
}
enum  Tstream_t {
  tFileStream,
  tSocketStream,
  tSharedMemoryStream,
  tNumberOfStreamTypes,
  tUnknownStream = -1
}
enum  Trandom_t {
  tRandomExponential,
  tRandomGaussian,
  tRandomChiSquare,
  tRandomLandau,
  tRandomGamma,
  tRandomPoisson,
  tNumberOfRandomTypes,
  tRandomUnknown = -1
}
enum  Tstatus_t {
  tStatusStandby,
  tStatusReady,
  tStatusBusy,
  tStatusIdle,
  tStatusWaitingReady,
  tStatusJustTakingEvent,
  tStatusJustRecordingEvent,
  tStatusSleep,
  tStatusDead,
  tNumberOfStatusTypes,
  tStatusUnknown = -1
}
enum  TvmeTransfer_t {
  tA16D16,
  tA16D32,
  tA24D16,
  tA24D32,
  tA32D16,
  tA32D32,
  tA24D16dma,
  tA32D16dma,
  tA24D32dma,
  tA32D32dma,
  tNumberOfVmeTransferModes,
  tTransferModeUnknown = -1
}
enum  TcamacCrateController_t {
  tISAcc7000_1,
  tISAcc7000_2,
  tISAcc7000_3,
  tISAcc7000_4,
  tISAcc7700_1,
  tISAcc7700_2,
  tISAcc7700_3,
  tISAcc7700_4,
  tPCIcc7700_1,
  tPCIcc7700_2,
  tPCIcc7700_3,
  tPCIcc7700_4,
  tNumberOfCamacCrateController,
  tCamacCrateControllerUnknown = -1
}
enum  Truninfo_t {
  tInfoFreeValue,
  tInfoSelectableValue,
  tInfoFreeText,
  tNumberOfInformations,
  tInfoUnknown = -1
}
enum  { tIDunknown = -1 }

変数

TOutputStream Tcout
TOutputStream Tcerr
TOutputStream Tclog
TStringStreamBuffer coutbuf
TStringStreamBuffer cerrbuf
TStringStreamBuffer clogbuf


マクロ定義の解説

#define CLDAQ_ABORT  )     CLDAQ_EMERG(m)
 

system/Ttypes.h192 行で定義されています。

#define CLDAQ_DEBUG  ) 
 

値:

if ( strlen(m) ) {\
  Tcout << "[CLDAQ:DEBUG]: " << m << " in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
} else {\
  Tcout << "[CLDAQ:DEBUG]: in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
}

system/Ttypes.h171 行で定義されています。

#define CLDAQ_EMERG  ) 
 

値:

if ( strlen(m) ) {\
  Tcerr << "[CLDAQ:EMERG]: " << m << " in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
} else {\
  Tcerr << "[CLDAQ:EMERG]: in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
}\
perror( "[CLDAQ:EMERG]" );\
abort();

system/Ttypes.h184 行で定義されています。

#define CLDAQ_EXIT  ) 
 

値:

if ( strlen(m) ) {\
  Tcerr << "[CLDAQ:EXIT]: " << m << " in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
} else {\
  Tcerr << "[CLDAQ:EXIT]: in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
}\
perror( "[CLDAQ:EXIT]" );\
exit(EXIT_SUCCESS);

system/Ttypes.h193 行で定義されています。

#define CLDAQ_WARN  ) 
 

値:

if ( strlen(m) ) {\
  Tcerr << "[CLDAQ:WARNIG]: " << m << " in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
} else {\
  Tcerr << "[CLDAQ:WARNIG]: in \"" << __PRETTY_FUNCTION__ << "\" at " << __FILE__ << " line " << __LINE__ << "." << Tendl;\
}\
perror( "[CLDAQ:WARNING]" );

system/Ttypes.h177 行で定義されています。

#define Tapp   ios::app
 

system/Ttypes.h123 行で定義されています。

呼出 TUserInterface::TUserInterface().

#define Tate   ios::ate
 

system/Ttypes.h122 行で定義されています。

#define Tbadbit   ios::badbit
 

system/Ttypes.h132 行で定義されています。

#define Tbin   ios::bin
 

system/Ttypes.h127 行で定義されています。

#define Tbinary   ios::binary
 

system/Ttypes.h128 行で定義されています。

#define Tcin   std::cin
 

system/Ttypes.h142 行で定義されています。

#define Tdec   std::dec
 

system/Ttypes.h164 行で定義されています。

#define Tendl   std::endl
 

system/Ttypes.h162 行で定義されています。

#define Tends   std::ends
 

system/Ttypes.h163 行で定義されています。

#define Teofbit   ios::eofbit
 

system/Ttypes.h130 行で定義されています。

#define Tfailbit   ios::failbit
 

system/Ttypes.h131 行で定義されています。

#define Tfalse   0
 

system/Ttypes.h116 行で定義されています。

#define Tflush   std::flush
 

system/Ttypes.h167 行で定義されています。

#define Tgoodbit   ios::goodbit
 

system/Ttypes.h129 行で定義されています。

#define Thex   std::hex
 

system/Ttypes.h165 行で定義されています。

#define Tin   ios::inin
 

system/Ttypes.h120 行で定義されています。

#define Tios   std::ios
 

system/Ttypes.h119 行で定義されています。

#define Tistream   std::istream
 

system/Ttypes.h136 行で定義されています。

#define Tlist   std::list
 

system/Ttypes.h137 行で定義されています。

#define Tmap   std::map
 

system/Ttypes.h139 行で定義されています。

#define Tmultimap   std::multimap
 

system/Ttypes.h140 行で定義されています。

#define Tnocreate   ios::nocreate
 

system/Ttypes.h125 行で定義されています。

#define Tnoreplace   ios::noreplace
 

system/Ttypes.h126 行で定義されています。

#define Toct   std::oct
 

system/Ttypes.h166 行で定義されています。

#define Tostream   std::ostream
 

system/Ttypes.h133 行で定義されています。

呼出 operator<<().

#define Tostrstream   std::ostrstream
 

system/Ttypes.h135 行で定義されています。

呼出 TUtilities::ConvertDoubleToString(), TUtilities::ConvertIntegerToString(), TUtilities::ConvertLongToString(), TUtilities::ConvertUnsignedLongToString(), TSystemLogging::operator<<(), TArgument::TArgument(), TSystemClock::WhatTimeIsIt(), と TSystemClock::WhatTimeIsItNow().

#define Tout   ios::out
 

system/Ttypes.h121 行で定義されています。

呼出 TUserInterface::TUserInterface().

#define Tpair   std::pair
 

system/Ttypes.h141 行で定義されています。

#define Tsizeof _type_   )     sizeof(_type_)
 

system/Ttypes.h168 行で定義されています。

#define Tstreambuf   std::streambuf
 

system/Ttypes.h134 行で定義されています。

#define Ttrue   1
 

system/Ttypes.h117 行で定義されています。

#define Ttrunc   ios::trunc
 

system/Ttypes.h124 行で定義されています。

#define Tvector   std::vector
 

system/Ttypes.h138 行で定義されています。


Typedef の解説

typedef Tbool Tbit
 

system/Ttypes.h214 行で定義されています。

typedef bool Tbool
 

system/Ttypes.h213 行で定義されています。

typedef char Tchar
 

system/Ttypes.h206 行で定義されています。

typedef double Tdouble
 

system/Ttypes.h203 行で定義されています。

typedef Tvector<Tdouble> TdoubleList
 

system/Ttypes.h224 行で定義されています。

typedef FILE TFileStream
 

system/Ttypes.h215 行で定義されています。

typedef float Tfloat
 

system/Ttypes.h205 行で定義されています。

typedef Tvector<Tfloat> TfloatList
 

system/Ttypes.h225 行で定義されています。

typedef std::ifstream Tifstream
 

system/Ttypes.h220 行で定義されています。

typedef int Tint
 

system/Ttypes.h204 行で定義されています。

typedef Tvector<Tint> TintList
 

system/Ttypes.h221 行で定義されています。

typedef long Tlong
 

system/Ttypes.h207 行で定義されています。

typedef std::ofstream Tofstream
 

system/Ttypes.h219 行で定義されています。

typedef short Tshort
 

system/Ttypes.h211 行で定義されています。

typedef size_t Tsize_t
 

system/Ttypes.h216 行で定義されています。

typedef std::string Tstring
 

system/Ttypes.h218 行で定義されています。

typedef Tvector<Tstring> TstringList
 

system/Ttypes.h226 行で定義されています。

typedef unsigned char TUchar
 

system/Ttypes.h208 行で定義されています。

typedef unsigned int TUint
 

system/Ttypes.h209 行で定義されています。

typedef Tvector<TUint> TUintList
 

system/Ttypes.h222 行で定義されています。

typedef unsigned long TUlong
 

system/Ttypes.h210 行で定義されています。

typedef unsigned short TUshort
 

system/Ttypes.h212 行で定義されています。

typedef Tvector<TUshort> TUshortList
 

system/Ttypes.h223 行で定義されています。

typedef void Tvoid
 

system/Ttypes.h217 行で定義されています。


Enum の解説

anonymous enum
 

Enum 値:
tIDunknown 

system/Ttypes.h392 行で定義されています。

enum TcamacCrateController_t
 

Enum 値:
tISAcc7000_1 
tISAcc7000_2 
tISAcc7000_3 
tISAcc7000_4 
tISAcc7700_1 
tISAcc7700_2 
tISAcc7700_3 
tISAcc7700_4 
tPCIcc7700_1 
tPCIcc7700_2 
tPCIcc7700_3 
tPCIcc7700_4 
tNumberOfCamacCrateController 
tCamacCrateControllerUnknown 

system/Ttypes.h350 行で定義されています。

呼出 TCamacCrateController::GetCrateControllerType().

enum Telement_t
 

Enum 値:
tTypeInt 
tTypeString 
tTypeDouble 
tTypeObject 
tTypeFloat 
tTypeUnsignedShort 
tTypeShort 
tTypeWord 
tTypeLong 
tTypeUnsignedLong 
tTypeUnsignedInt 
tNumberOfElementTypes 
tTypeUnknown 

system/Ttypes.h271 行で定義されています。

enum Tobject_t
 

Enum 値:
tObjectDataRecord 
tObjectDataSection 
tObjectDataSegment 
tObjectDataElement 
tObject1DHistogram 
tObject2DHistogram 
tObjectAppendGraph 
tObjectSubstituteGraph 
tObjectNtuple 
tNumberOfObjectTypes 
tObjectUnknown 

system/Ttypes.h257 行で定義されています。

enum Trandom_t
 

Enum 値:
tRandomExponential 
tRandomGaussian 
tRandomChiSquare 
tRandomLandau 
tRandomGamma 
tRandomPoisson 
tNumberOfRandomTypes 
tRandomUnknown 

system/Ttypes.h295 行で定義されています。

enum Truninfo_t
 

Enum 値:
tInfoFreeValue 
tInfoSelectableValue 
tInfoFreeText 
tNumberOfInformations 
tInfoUnknown 

system/Ttypes.h384 行で定義されています。

呼出 TRunInformation::GetInformationType().

enum Tstatus_t
 

Enum 値:
tStatusStandby 
tStatusReady 
tStatusBusy 
tStatusIdle 
tStatusWaitingReady 
tStatusJustTakingEvent 
tStatusJustRecordingEvent 
tStatusSleep 
tStatusDead 
tNumberOfStatusTypes 
tStatusUnknown 

system/Ttypes.h306 行で定義されています。

enum Tstream_t
 

Enum 値:
tFileStream 
tSocketStream 
tSharedMemoryStream 
tNumberOfStreamTypes 
tUnknownStream 

system/Ttypes.h287 行で定義されています。

enum TvmeTransfer_t
 

Enum 値:
tA16D16 
tA16D32 
tA24D16 
tA24D32 
tA32D16 
tA32D32 
tA24D16dma 
tA32D16dma 
tA24D32dma 
tA32D32dma 
tNumberOfVmeTransferModes 
tTransferModeUnknown 

system/Ttypes.h320 行で定義されています。


変数の解説

TStringStreamBuffer cerrbuf
 

system/Ttypes.h155 行で定義されています。

呼出 TStringStreamBuffer::overflow(), TStringStreamBuffer::ReceiveString(), TRunManager::SetSystemAction(), と TRunManager::~TRunManager().

TStringStreamBuffer clogbuf
 

system/Ttypes.h156 行で定義されています。

呼出 TStringStreamBuffer::overflow(), TStringStreamBuffer::ReceiveString(), TRunManager::SetSystemAction(), と TRunManager::~TRunManager().

TStringStreamBuffer coutbuf
 

system/Ttypes.h154 行で定義されています。

呼出 TStringStreamBuffer::overflow(), TStringStreamBuffer::ReceiveString(), TRunManager::SetSystemAction(), と TRunManager::~TRunManager().

TOutputStream Tcerr
 

system/Ttypes.h150 行で定義されています。

TOutputStream Tclog
 

system/Ttypes.h151 行で定義されています。

TOutputStream Tcout
 

system/Ttypes.h149 行で定義されています。



CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp