BehaveRT Namespace Reference


Classes

class  CommonResources
 This class shares the GPU info througout the BehaveRT's classes. More...
class  DeviceArrayWrapper
 This class provides some utilities for host/device memory allocation. More...
struct  DataInfo
 Single element of the DeviceDataRepository, so-called "feature". They are shared between host and device. More...
struct  SupportedDataType
 Deprecated data type. More...
struct  SimParams
 Simulation parameters shared between host and device. More...
struct  debugType
 Deprecated data type. More...
struct  DeviceInfo
 This struct contains the GPU information. Used to tune the application. More...
class  DeviceDataWrapper
 Generic feature data type. For futher extensions. More...
class  DeviceInterface
 Interface between c++ classes and CUDA kernels. More...
class  InstallableEntity
 Base class installable into the BehaveRT community. More...
class  SimEnginePlugInInstallationToken
 Represents the installable token associated to each plugIn. More...
class  AbstractSimEnginePlugIn
 Default SimEngine plugIn template. More...
class  SimEnginePlugIn
 SimEngine plugIn concrete template. More...
class  DummyPlugIn
 Default extension base for SimEngine chains. More...
class  UtilityConfigFile
 Class for quickly loading settings from a text file. More...
class  UtilityLogger
 This class provide a simple managment of a finite set of string, for logging purposes. More...
class  StringUtil
 Utility class for manipulating Strings. More...
class  StringConverter
 Class for converting the core Ogre data types to/from Strings. More...
class  ContentReplacer
 Itearate plugIn names and sobstitutes their content. More...
class  PlugInMaker
 PlugIn generation tool. More...

Typedefs

typedef std::vector
< InstallableEntity * > 
InstalledEntities
 List of installed entities.
typedef unsigned int uint
 Definition of the type unsigned int (in addition to vector_types).
typedef void(* genericKernelFuncPointer )()
 Generic kenel signature.
typedef void(* kernelBoundaryFuncPointer )()
 Kernel's boundary functions signature: before/after kernel call.
typedef DataInfo DeviceDataRepository [DEVICEDATAREPOSITORY_SIZE]
 DeviceDataRepository type.
typedef SupportedDataType SupportedDataTypeList [DEVICEDATAREPOSITORY_SIZE]
 Deprecated.

Enumerations

enum  InstallableEntityId
 Enumeration of installable types.

Functions

template<class T >
interpolate (float alpha, const T &x0, const T &x1)
 Generic interpolation.
float clip (const float x, const float min, const float max)
template<class T >
void blendIntoAccumulator (const float smoothRate, const T &newValue, T &smoothedAccumulator)
void RadixSort (KeyValuePair *pData0, KeyValuePair *pData1, uint elements, uint bits)

Detailed Description

Classes envolved in the


Function Documentation

template<class T >
void BehaveRT::blendIntoAccumulator ( const float  smoothRate,
const T &  newValue,
T &  smoothedAccumulator 
) [inline]

blends new values into an accumulator to produce a smoothed time series

Modifies its third argument, a reference to the float accumulator holding the "smoothed time series."
The first argument (smoothRate) is typically made proportional to "dt" the simulation time step. If smoothRate is 0 the accumulator will not change, if smoothRate is 1 the accumulator will be set to the new value with no smoothing. Useful values are "near zero".
Usage: blendIntoAccumulator (dt * 0.4f, currentFPS, smoothedFPS);

float BehaveRT::clip ( const float  x,
const float  min,
const float  max 
) [inline]

Constrain a given value (x) to be between two (ordered) bounds: min and max. Returns x if it is between the bounds, otherwise returns the nearer bound.

void BehaveRT::RadixSort ( KeyValuePair *  pData0,
KeyValuePair *  pData1,
BehaveRT::uint  elements,
BehaveRT::uint  bits 
)

Perform a radix sort Sorting performed in place on passed arrays.

Parameters:
pData0 input and output array - data will be sorted
pData1 additional array to allow ping pong computation
elements number of elements to sort


Generated on Mon Oct 19 13:19:44 2009 for BehaveRT by  doxygen 1.5.7.1