Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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>();
}
};
Static information about a processor. Needed mostly for the processor list and factories.
Definition processorinfo.h:45
A traits class for getting the Processor info from a processor. This provides a customization point i...
Definition processortraits.h:79

The default behaviour returns the static member processorInfo_;


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