IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipsdk::processor::InstructionSetManager Class Reference

Singleton allowing to globaly enable and disable given instruction sets for processing. More...

#include <InstructionSetManager.h>

Inheritance diagram for ipsdk::processor::InstructionSetManager:

Public Member Functions

 ~InstructionSetManager ()
 Desctructor.
 

Static Public Member Functions

static InstructionSetManagergetInstance ()
 retrieve unique instance of object
 
static const InstructionSetCollgetCpuSupportedIS ()
 retrieve collection of cpu supported instruction sets
 
static const InstructionSetCollgetEnabledIS ()
 
static bool isSupportedIS (const eInstructionSet &instructionSet)
 check whether a given instruction set is supported
 
static bool isEnableIS (const eInstructionSet &instructionSet)
 check whether a given instruction set is enable
 
static bool disableIS (const eInstructionSet &instructionSet)
 disable a given instruction set More...
 
static bool enableIS (const eInstructionSet &instructionSet)
 enable a given instruction set More...
 

Protected Member Functions

 InstructionSetManager ()
 Constructor.
 

Protected Attributes

InstructionSetColl _cpuSupportedIS
 collection of cpu supported instruction sets
 
InstructionSetColl _enabledIS
 

Detailed Description

Singleton allowing to globaly enable and disable given instruction sets for processing.

Author
E.Noirfalise
Date
2017/03/27

Member Function Documentation

◆ getEnabledIS()

static const InstructionSetColl& ipsdk::processor::InstructionSetManager::getEnabledIS ( )
static

retrieve collection of enabled instruction set (sub set of cpu supported instruction sets)

◆ disableIS()

static bool ipsdk::processor::InstructionSetManager::disableIS ( const eInstructionSet instructionSet)
static

disable a given instruction set

Returns
false if instruction set is not supported by cpu or if user request to disable eInstructionSet::eIS_Standard

◆ enableIS()

static bool ipsdk::processor::InstructionSetManager::enableIS ( const eInstructionSet instructionSet)
static

enable a given instruction set

Returns
false if instruction set is not supported by cpu

Member Data Documentation

◆ _enabledIS

InstructionSetColl ipsdk::processor::InstructionSetManager::_enabledIS
protected

collection of enabled instruction set (sub set of cpu supported instruction sets)


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