Inviwo  0.9.10.1
Inviwo documentation
inviwo::ProcessorTraits< T > Class Template Reference

A traits class for getting the Processor info from a processor. This provides a customization point if one wants to generate the processor info dynamically, by specializing the traits for your kind of processor: More...

#include <processortraits.h>

Static Public Member Functions

static ProcessorInfo getProcessorInfo ()
 

Detailed Description

template<typename T>
class inviwo::ProcessorTraits< T >

A traits class for getting the Processor info from a processor. This provides a customization point if one wants to generate the processor info dynamically, by specializing the traits for your kind of processor:

template <typename T>
struct ProcessorTraits<MyProcessor<T>> {
static ProcessorInfo getProcessorInfo() {
return generateMyProcessorInfo<T>();
}
};

The default behaviour returns the static member processorInfo_;


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