C# Class GoodAI.Core.Observers.MyMemoryBlockObserver

Inheritance: MyAbstractMemoryBlockObserver
Show file Open project: GoodAI/BrainSimulator Class Usage Examples

Protected Properties

Property Type Description
m_rgbKernel MyCudaKernel
m_tiledKernel MyCudaKernel
m_vectorKernel MyCudaKernel

Private Properties

Property Type Description
ComputeCustomTextureSize System.Drawing.Size
ComputeTextureSizeForVector System.Drawing.Size
ComputeTiledTextureSize System.Drawing.Size
GetTileDimensions GoodAI.Core.Memory.TensorDimensions
ResetBounds void
SetTextureDimensions void
ShrinkSizeForRenderingMethod int

Public Methods

Method Description
MyMemoryBlockObserver ( ) : GoodAI.Core.Utils
MyMemoryBlockObserver_TargetChanged ( object sender, PropertyChangedEventArgs e ) : void

Protected Methods

Method Description
Execute ( ) : void
Reset ( ) : void

Private Methods

Method Description
ComputeCustomTextureSize ( TensorDimensions dims, GoodAI.Core.Memory.CustomDimensionsHint customDims, RenderingMethod method, int vectorElements, string &warning ) : Size
ComputeTextureSizeForVector ( int elementCount, bool isRowVector, RenderingMethod method, int vectorElements, string divisorName, string &warning ) : Size
ComputeTiledTextureSize ( TensorDimensions dims, MyAbstractMemoryBlock target ) : Size
GetTileDimensions ( ) : TensorDimensions
ResetBounds ( ) : void
SetTextureDimensions ( ) : void
ShrinkSizeForRenderingMethod ( int size, RenderingMethod method, int vectorElements, bool &isDivisible ) : int

Method Details

Execute() protected method

protected Execute ( ) : void
return void

MyMemoryBlockObserver() public method

public MyMemoryBlockObserver ( ) : GoodAI.Core.Utils
return GoodAI.Core.Utils

MyMemoryBlockObserver_TargetChanged() public method

public MyMemoryBlockObserver_TargetChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
return void

Reset() protected method

protected Reset ( ) : void
return void

Property Details

m_rgbKernel protected property

protected MyCudaKernel m_rgbKernel
return MyCudaKernel

m_tiledKernel protected property

protected MyCudaKernel m_tiledKernel
return MyCudaKernel

m_vectorKernel protected property

protected MyCudaKernel m_vectorKernel
return MyCudaKernel