SMIL  1.1.1-dev
Core Class Reference

Core module instance. More...

Detailed Description

Core module instance.

#include <DCoreInstance.h>

+ Inheritance diagram for Core:
+ Collaboration diagram for Core:

Public Member Functions

UINT getNumberOfThreads ()
 
UINT getNumberOfCores ()
 
UINT getMaxNumberOfThreads ()
 
RES_T setNumberOfThreads (UINT nbr)
 
void resetNumberOfThreads ()
 
size_t getAllocatedMemory ()
 
const CpuIDgetCpuID ()
 
void registerObject (BaseObject *obj)
 
void unregisterObject (BaseObject *obj)
 
vector< BaseObject * > getRegisteredObjects ()
 
vector< BaseImage * > getImages ()
 
void showAllImages ()
 
void hideAllImages ()
 
void deleteAllImages ()
 
int getImageIndex (BaseImage *img)
 
void getCompilationInfos (ostream &outStream=std::cout)
 

Public Attributes

bool keepAlive
 
bool autoResizeImages
 
Signal onBaseImageCreated
 
Signal onBaseImageDestroyed
 

Protected Member Functions

void deleteRegisteredObjects ()
 

Protected Attributes

UINT coreNumber
 
UINT threadNumber
 
UINT maxThreadNumber
 
const char * systemName
 
const char * targetArchitecture
 
const bool supportOpenMP
 
vector< BaseObject * > registeredObjects
 
vector< BaseImage * > registeredImages
 
const CpuID cpuID
 

Friends

class UniqueInstance< Core >
 

Additional Inherited Members

- Static Public Member Functions inherited from UniqueInstance< Core >
static CoregetInstance ()
 
static RES_T initialize ()
 
static void kill ()
 
- Static Protected Attributes inherited from UniqueInstance< Core >
static Core_instance
 

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