BASE Namespace Reference

Simulation independent utilities. More...


Classes

class  RCModule
class  TRCModule
 base class for modules More...
class  RCString
 TChar based string. More...
class  RCNoCaseLess
class  RCUnicodeString
 String based on unicode characters. More...
class  RCStringValueInterface
 Interface for string conversion. More...
class  RCTypeInfo
 ... More...
class  TRCScopedPtr
 ... More...
class  TRCScopedArray
 ... More...
class  RCRefCount
 ... More...
class  TRCSharedPtr
 ... More...
class  TRCSharedArray
 ... More...
class  TRCCallbackPtr
 ... More...
class  TRCCallback
 ... More...
class  TRCCallback< TReturn, void >
class  TRCStaticCallbackPtr
 ... More...
class  TRCStaticCallbackPtr< TReturn, void >
class  TRCMemberCallbackPtr
 ... More...
class  TRCMemberCallbackPtr< TClass, TReturn, void >
class  TRCConstRetCallbackPtr
 ... More...
class  RCPoint
 ... More...
class  RCSize
 ... More...
class  RCRect
 ... More...
class  RCSystemTime
class  RCDeletable
class  RCStaticsCleaner
 ... More...
class  RCTriple
 Triple containing 3 real values. More...
class  RCVector
 A 3 dimensionl vector with an additional factor. More...
class  RCQuaternion
 A quaternion to represent rotations. More...
class  RCPose
 A pose consisting of position and orientation. More...
class  RCMatrix
 A 4x4 matrix. More...
class  RCCuboid
 A cuboid represented by 2 vectors for 2 corners. More...
class  TRCList
 Class storing a list of elements that can be accessed over an index. More...
struct  RCColor
 Class holding a Color consisting of red,green, blue and alpha. More...
class  RCException
 Exception containing an error text. More...
class  RCHandleNewDelete
 Base class for all types that might becreated and destroyed in different memory contexts. More...
class  RCEvent
 Encapsulation of a windows event. More...
class  RCMutex
 Encapsulation of a windows mutex. More...
class  RCAutoFreeMutex
 Automized locking and unlocking of an RCMutex. More...
class  RCThread
 Encapsulation of a windows thread. More...
class  RCMtRefCount
 ... More...
class  RCFile
 Text file providing line based read and write operations. More...
class  RCIniInterface
 Interface for structured list of parameter assignments. More...
class  RCIniFile
 File base implementation of RCIniInterface. More...
class  RCSerializer
 ... More...
class  RCIniSerializer
 ... More...
class  RCIniFileSerializer
 ... More...
class  RCKeyInterface
 Interface defining SetKey and GetKey. More...
class  RCKeyPointer
 Base class for TRCKeyPointer. More...
class  TRCKeyPointer
 Pointer to keyinstance specified by a key. More...
class  RCLogMessage
class  RCLogInterface
 Interface for logging warning and error messages. More...
class  RCLogDistributor
 log interface that passes the messages on to all registered interfaces More...
class  RCLogFile
 Logfile storing warning and error messages. More...
class  RCLogSimplifier
class  RCParamHandler
 Base class for TRCParamHandler. More...
class  TRCParamHandler
 Base class for TRCParamHandler. More...
class  RCParamMemberHandler
 Base class for TRCParamMemberHandler. More...
class  TRCParamMemberHandler
 Parameter handler for member variebles of a struct parameter. More...
class  RCStructParamHandlerBase
 Base class for TRCStructParamHandler. More...
class  TRCStructParamHandler
 Parameter handler for instances of TRCStructParam. More...
class  TRCDerivedStructParamHandler
 Parameter handler for instances of TRCDerivedStructParam. More...
class  TRCSingleParamHandler
 Base class for single entry parameter handlers. More...
class  TRCSingleStaticParamHandler
class  TRCStringParamHandler
 Parameter handler for classes implementing the RCStringValueInterface. More...
class  RCEnumParamHandler
 Parameter handler for enums. More...
class  TRCEnumParamHandler
 ... More...
class  RCBoolParamHandler
 Parameter handler for TBool. More...
class  RCStringEnumConverter
 Class for converting enums from and to string. More...
class  RCBitmaskParamHandlerBase
 Parameter handler for bitmasks. More...
class  TRCBitmaskParamHandler
 ... More...
class  RCNumericParamHandlerBase
 Parameter handler for numerical data types. More...
class  TRCNumericLimits
class  TRCNumericParamHandler
 ... More...
class  RCListParamHandlerBase
 Base class for TRCListParamHandler. More...
class  TRCListParamHandler
 Parameter handler for TRCList-instances. More...
class  TRCShortListParamHandler
 Parameter handler for short lists of type TRCList. More...
class  TRCTrivialParamHandler
 ... More...
class  RCParameter
 Base class for all parameters. More...
class  TRCParameter
 Template base class for all parameters. More...
class  TRCStructParam
 Base class for struct parameters. More...
class  TRCDerivedStructParam
 Base class for derived struct parameters. More...
class  TRCDataParam
 ... More...
class  RCParamDlgBase
 Base class for edit dialogs for parameters. More...
class  RCParamDlgFrameBase
 Base class for parameter dialog frames. More...
class  RCParamDlgHandlerBase
 Base class for parameter dialog handler. More...
class  RCDynamicHandler
 Handler of dynamic interfaces and pointers taking care of the linking. More...
class  RCDynamicInterface
 Base class for TRCDynamicInterface. More...
class  TRCDynamicInterface
 Base class for classes a dynamic pointer should be linked to. More...
class  RCDynamicPointer
 Base class for TRCDynamicPointer. More...
class  TRCDynamicConstPointer
class  TRCDynamicPointer
 Pointer that is linked to a specific interface at runtime. More...
class  RCDynamicInterfaceViewBase
 Base class for dialogs that display the information of a dynamic interface. More...
class  RCDynamicInterfaceViewHandlerBase
 Handler of dialog types displaying information of dynamic interfaces. More...
class  RCDynamicViewStateHandlerBase
 ... More...
class  RCComponentTypeHandler
 ... More...
class  TRCComponentTypeHandler
class  RCComponent
 ... More...
class  TRCComponentBase
class  TRCComponent
class  RCExtensionHandler
 Handler of dynamically loaded extension dlls. More...
class  RCComponentPtrMap
class  TRCComponentPtrMap
class  RCGlobalComponentList
 ... More...
class  RCComponentPointer
 ... More...
class  TRCComponentPointer
 ... More...
class  RCComponentPointerParamHandler
 ... More...
class  RCComponentList
 ... More...
class  TRCComponentList
 ... More...
class  RCUniversalComponentList
 ... More...
class  RCPlaceable
 ... More...
struct  RSPoseCtorArg
class  RCPoseComponent
class  TRCPoseComponent
 ... More...
class  RCGlobalCoordinates
 ... More...
class  RCLocalCoordinates
 ... More...
class  RCAnyData
class  TRCAnyData
class  RCAnyPtr
 ... More...
class  RCCastable
 ... More...
class  RCAnySharedPtr
 ... More...
class  RCRtlComponentTypeReg
class  TRCRtlComponentTypeReg
class  RCRtlComponentHandler
 ... More...
class  TRCRtlComponentPointer
 ... More...
class  RCComInterface
 ... More...
struct  RSRS232Settings
class  RCRS232Com
 ... More...
struct  RSLocalSocketSettings
class  RCLocalSocketCom
 ... More...
class  TRCComponentFactory
 ... More...
class  RCComponentHandler
 ... More...
class  RCDocExtractor
 ... More...
class  RCGroupParamHandler
 ... More...
class  TRCHandledParameter
 ... More...
class  RCHtmlDocExtractor
 ... More...
class  RCKeyParamHandler
 Parameter handler for parameters derived from RCKeyInterface. More...
class  RCParameterGroup
 ... More...
class  RCParamOwner
 ... More...
class  TRCParamOwner
 ... More...
class  RCUniversalComponentListParamHandler
 ... More...
class  RCXmlFileSerializer
 ... More...

Typedefs

typedef bool TBool
 boolean
typedef TCHAR TChar
 8 Bit / 16 Bit signed value for ANSI or UNICODE
typedef char TAnsiChar
 8 Bit signed value
typedef wchar_t TUnicodeChar
 wide-character type
typedef unsigned char TByte
 8 Bit unsigned value
typedef signed char TSByte
 8 Bit signed value
typedef unsigned short TWord
 16 Bit unsigned value
typedef signed short TSWord
 16 Bit signed value
typedef unsigned long TLong
 32 Bit unsigned value
typedef signed long TSLong
 32 Bit signed value
typedef unsigned int TInt
 32 Bit unsigned value (unsigned integer)
typedef signed int TSInt
 32 Bit signed value (integer)
typedef unsigned __int64 TLongLong
 64 Bit unsigned value
typedef signed __int64 TSLongLong
 64 Bit signed value
typedef float TFloat
 32 bit signed floating point value.
typedef double TDouble
 64 bit signed floating point value.
typedef double TReal
 32 or 64 bit signed floating point value (depending on RDOUBLE).
typedef vector< RCStringRCStringVector
typedef vector< TRealRCRealVector
typedef vector< TLongRCLongVector
typedef vector< TSLongRCSLongVector
typedef vector< TIntRCIntVector
typedef vector< TSIntRCSIntVector
typedef vector< TBoolRCBoolVector
typedef vector< RCStringVector > RCStringVectorVector
typedef vector< RCRealVector > RCRealVectorVector
typedef TRCList< RCStringRCStringList
typedef TRCList< TSLongRCSLongList
typedef TRCList< TLongRCLongList
typedef TRCList< TRealRCRealList
typedef TRCList< RCTripleRCTripleList
typedef TRCList< RCVectorRCVectorList
typedef TRCStringParamHandler<
RCString
RCStringParamHandler
typedef TRCStringParamHandler<
RCVector
RCVectorParamHandler
typedef TRCStringParamHandler<
RCTriple
RCTripleParamHandler
typedef TRCStringParamHandler<
RCMatrix
RCMatrixParamHandler
typedef TRCStringParamHandler<
RCColor
RCColorParamHandler
typedef TRCStringParamHandler<
RCCuboid
RCCuboidParamHandler
typedef TRCStringParamHandler<
RCPose
RCPoseParamHandler
typedef TRCStringParamHandler<
RCPoint
RCPointParamHandler
typedef TRCStringParamHandler<
RCSize
RCSizeParamHandler
typedef TRCStringParamHandler<
RCRect
RCRectParamHandler
typedef TRCNumericParamHandler<
TLong
RCLongParamHandler
typedef TRCNumericParamHandler<
TSLong
RCSLongParamHandler
typedef TRCNumericParamHandler<
TInt
RCIntParamHandler
typedef TRCNumericParamHandler<
TSInt
RCSIntParamHandler
typedef TRCNumericParamHandler<
TWord
RCWordParamHandler
typedef TRCNumericParamHandler<
TSWord
RCSWordParamHandler
typedef TRCNumericParamHandler<
TReal
RCRealParamHandler
typedef TRCListParamHandler<
RCString, RCStringParamHandler
RCStringListParamHandler
typedef TRCListParamHandler<
TSLong, RCSLongParamHandler
RCSLongListParamHandler
typedef TRCListParamHandler<
TLong, RCLongParamHandler
RCLongListParamHandler
typedef TRCListParamHandler<
TReal, RCRealParamHandler
RCRealListParamHandler
typedef TRCListParamHandler<
RCTriple, RCTripleParamHandler
RCTripleListParamHandler
typedef TRCListParamHandler<
RCVector, RCVectorParamHandler
RCVectorListParamHandler
typedef TRCShortListParamHandler<
RCString, RCStringParamHandler
RCShortStringListParamHandler
typedef TRCShortListParamHandler<
TSLong, RCSLongParamHandler
RCShortSLongListParamHandler
typedef TRCShortListParamHandler<
TLong, RCLongParamHandler
RCShortLongListParamHandler
typedef TRCShortListParamHandler<
TReal, RCRealParamHandler
RCShortRealListParamHandler
typedef TRCShortListParamHandler<
RCTriple, RCTripleParamHandler
RCShortTripleListParamHandler
typedef TRCShortListParamHandler<
RCVector, RCVectorParamHandler
RCShortVectorListParamHandler

Enumerations

enum  TSerializerMode {
  SM_READ,
  SM_WRITE
}
enum  TSerializerLevelType {
  SLT_SECTION = 0x01,
  SLT_ATTRIBUTES = 0x02,
  SLT_MEMBERS = 0x03,
  SLT_TYPE_MASK = 0x0F,
  SLT_LIST = 0x10,
  SLT_LIST_ENTRY = 0x20,
  SLT_LIST_MASK = 0xF0
}
enum  TLogLevel {
  LL_UNKNOWN,
  LL_ERROR,
  LL_WARNING,
  LL_INFO,
  LL_TRACE,
  LL_DEBUG,
  LL_ENTRY_COUNT
}
 log message level level for a log message
  • LL_UNKNOWN unknown, highest priority
  • LL_ERROR error that will definetly cause trouble
  • LL_WARNING error that might cause trouble
  • LL_INFO just a note for the user
  • LL_TRACE note that could be useful to find errors
  • LL_DEBUG debug information during development

enum  TIniTransfer {
  IT_READ_FROM,
  IT_WRITE_TO
}
enum  TParamGroupType {
  PGT_MEMBERS,
  PGT_CHILDS,
  PGT_SECTIONS,
  PGT_ENTRY_COUNT
}
enum  TFreedomFlags {
  FF_NONE = 0x0000,
  FF_MOVE_X = 0x0001,
  FF_MOVE_Y = 0x0002,
  FF_MOVE_Z = 0x0004,
  FF_MOVE_ANY = FF_MOVE_X | FF_MOVE_Y | FF_MOVE_Z,
  FF_ROTATE_X = 0x0010,
  FF_ROTATE_Y = 0x0020,
  FF_ROTATE_Z = 0x0040,
  FF_ROTATE_ANY = FF_ROTATE_X | FF_ROTATE_Y | FF_ROTATE_Z,
  FF_2D = FF_MOVE_X | FF_MOVE_Z | FF_ROTATE_Y,
  FF_ALL = 0x00FF
}

Functions

RCString operator+ (const TChar *lhs, const RCString &rhs)
template<class T>
DegreeToRad (T x)
 Converts the specified angle in degrees to the corresponding value in rad.
template<class T>
RadToDegree (T x)
 Converts the specified angle in rad to the corresponding value in degrees.
template<class T>
void MakeDegreeToRad (T &x)
template<class T>
void MakeRadToDegree (T &x)
template<class T>
AdaptAngleRad (T x)
template<class T>
AdaptAngleDegree (T x)
template<class T>
sqr (T x)
 Returns the the square of the specified value.
template<class T>
abs (T x)
 Returns the absolut value of the specified one.
template<class T>
Min (T x, T y)
 Returns the lower of the specified values.
template<class T>
Max (T x, T y)
 Returns the higher of the specified values.
template<class T>
Min (T x, T y, T z)
 Returns the lower of the specified values.
template<class T>
Max (T x, T y, T z)
 Returns the higher of the specified values.
template<class T>
void Minimize (T &x, T y)
 Adapts x to be the minimum of x and y.
template<class T>
void Maximize (T &x, T y)
 Adapts x to be the maximum of x and y.
template<class T>
void Swap (T &x, T &y)
 Swaps the values of x and y.
template<class T>
void MakeMinMax (T &x, T &y)
 Adapts the values that way that x is the lower and y the higher value.
template<class T>
Bounds (T x, T nMin, T nMax)
template<class T>
void ForceBounds (T &x, T nMin, T nMax)
template<class T>
TInt MaxIndex (T x, T y, T z)
template<class T>
sign (T x)
TSLong Round (TReal nValue)
TReal RandReal (TReal nMin, TReal nMax)
TBool operator== (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
TBool operator!= (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
TBool operator< (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
TBool operator> (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
TBool operator<= (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
TBool operator>= (const RCTypeInfo &lhs, const RCTypeInfo &rhs)
RCString CreateTypeKey (const RCTypeInfo &TypeInfo)
void DLLINTERFACE AddTypeNameRemove (const RCString &sRemove)
RCString DLLINTERFACE CreateTypeName (const RCTypeInfo &TypeInfo)
RCString DLLINTERFACE CreateTypeName2 (const RCTypeInfo &TypeInfo)
TSLongLong SystemTime ()
TSLongLong SleepTill (TSLongLong nTime)
RCTriple DLLINTERFACE Offset2DPos (const RCTriple &Pos, const RCTriple &Offset, TBool bInverse=false)
RCString DLLINTERFACE GetExeDirectory ()
void LogError (const RCString &sText, const RCString &sComment=RCLogInterface::NO_COMMENT, const RCString &sSender=RCLogInterface::SENDER_UNKNOWN)
void LogWarning (const RCString &sText, const RCString &sComment=RCLogInterface::NO_COMMENT, const RCString &sSender=RCLogInterface::SENDER_UNKNOWN)
void LogInfo (const RCString &sText, const RCString &sComment=RCLogInterface::NO_COMMENT, const RCString &sSender=RCLogInterface::SENDER_UNKNOWN)
void LogTrace (const RCString &sText, const RCString &sComment=RCLogInterface::NO_COMMENT, const RCString &sSender=RCLogInterface::SENDER_UNKNOWN)
void LogDebug (const RCString &sText, const RCString &sComment=RCLogInterface::NO_COMMENT, const RCString &sSender=RCLogInterface::SENDER_UNKNOWN)
template<class TEnum>
RCString EnumToString (TEnum nEnum)
template<class TEnum>
TBool EnumToString (TEnum nEnum, RCString &sStringRef)
template<class TEnum>
TBool StringToEnum (const RCString &sString, TEnum &nEnumRef)
 MDeclareStringEnumConversion (FreedomFlags) typedef TRCBitmaskParamHandler< TFreedomFlags > RCFreedomMaskParamHandler
 MDeclareStringEnumConversion (LogLevel) enum TRS232BaudRate
 MDeclareStringEnumConversion (RS232BaudRate) enum TRS232ByteSize
 MDeclareStringEnumConversion (RS232ByteSize) enum TRS232Parity
 MDeclareStringEnumConversion (RS232Parity) enum TRS232StopBits
 MDeclareStringEnumConversion (RS232StopBits) enum TRS232RtsControl
 MDeclareStringEnumConversion (RS232RtsControl) class DLLINTERFACE RCParameterGroup
void AddTypeNameRemove (const RCString &sRemove)
RCString CreateTypeName (const RCTypeInfo &TypeInfo)
RCString CreateTypeName2 (const RCTypeInfo &TypeInfo)
RCTriple Offset2DPos (const RCTriple &Pos, const RCTriple &Offset, TBool bInverse)
RCString GetExeDirectory ()

Variables

const TReal PI = 3.141592653589793238462643383279
 The value of the constant .
const TByte TByteMin = 0
 Minimal value that can be represented by a TSByte.
const TByte TByteMax = 255
 Maximal value that can be represented by a TSByte.
const TSByte TSByteMin = -128
 Minimal value that can be represented by a TSByte.
const TWord TWordMin = 0
 Minimal value that can be represented by a TWord.
const TSWord TSWordMin = -32768
 Minimal value that can be represented by a TSWord.
const TSWord TSWordMax = 32767
const TLong TLongMin = 0UL
 Maximal value that can be represented by a TSWord.
const TLong TLongMax = 4294967295UL
 Maximal value that can be represented by a TLong.
const TSLong TSLongMin = (-2147483647L - 1)
 Minimal value that can be represented by a TLong.
const TSLong TSLongMax = 2147483647L
 Maximal value that can be represented by a TSLong.
const TSInt TSIntMin = (-2147483647L - 1)
 Minimal value that can be represented by a TSInt.
const TSInt TSIntMax = 2147483647L
 Maximal value that can be represented by a TSInt.
const TInt TIntMin = 0UL
 Minimal value that can be represented by a TInt.
const TInt TIntMax = 4294967295UL
 Maximal value that can be represented by a TInt.
const TSLongLong TSLongLongMin = -9223372036854775806I64
const TSLongLong TSLongLongMax = 9223372036854775807I64
const TLongLong TLongLongMin = 0I64
const TLongLong TLongLongMax = 18446744073709551613I64
const TFloat TFloatMin = -3.402823466e+38F
 Minimal value that can be represented by a TFloat.
const TFloat TFloatMax = 3.402823466e+38F
 Maximal value that can be represented by a TFloat.
const TDouble TDoubleMin = -1.7976931348623158e+308
const TDouble TDoubleMax = 1.7976931348623158e+308
const TReal TRealMin = TDoubleMin
 Minimal value that can be represented by a TReal (depends on RDOUBLE).
const TReal TRealMax = TDoubleMax
 Maximal value that can be represented by a TReal (depends on RDOUBLE).
const TReal NANO = MReal(0.000000001)
const TReal MILLI = MReal(0.001)
const TSLongLong NANO_INV = 1000000000
const TSLongLong MILLI_INV = 1000
const TReal ZERO_LIMIT = MReal(0.000000001)
const TLong NO_TIMEOUT = 0xFFFFFFFF
template class DLLINTERFACE TRCList< RCString >
template class DLLINTERFACE TRCList< TSLong >
template class DLLINTERFACE TRCList< TLong >
template class DLLINTERFACE TRCList< TReal >
template class DLLINTERFACE TRCList< RCTriple >
template class DLLINTERFACE TRCList< RCVector >
template class DLLINTERFACE TRCComponentTypeHandler< RCPoseComponent, const RSPoseCtorArg & >


Detailed Description

Simulation independent utilities.

This namespace contains the basic definitions and classes for general purpuse like typedefs, basic datatypes, multitasking, parameter handling and math. Except the operating system specific multitaksing classes all code is written in standard C++.


Generated on Thu Feb 16 12:46:12 2006 for Simulator Bob by  doxygen 1.4.6-NO