Public Types

LibGeoDecomp::APITraits::HasStaticData< STATIC_DATA > Class Template Reference

Some models have a need for static, but mutable data blocks, e.g. More...

#include <apitraits.h>

List of all members.

Public Types

typedef void SupportsStaticData
typedef STATIC_DATA StaticData

Detailed Description

template<typename STATIC_DATA>
class LibGeoDecomp::APITraits::HasStaticData< STATIC_DATA >

Some models have a need for static, but mutable data blocks, e.g.

coefficients which need to be controlled by steerers. This class allows users to appropriately flag their classes so that LibGeoDecomp can take over handling of these. Handling refers to synchronizing them on a GPU and between time steps.


Member Typedef Documentation

template<typename STATIC_DATA >
typedef STATIC_DATA LibGeoDecomp::APITraits::HasStaticData< STATIC_DATA >::StaticData
template<typename STATIC_DATA >
typedef void LibGeoDecomp::APITraits::HasStaticData< STATIC_DATA >::SupportsStaticData

The documentation for this class was generated from the following file: