SMIL  0.11.3-dev
Core Data Structures

Detailed Description

About group Core...

+ Collaboration diagram for Core Data Structures:

Modules

 Useful Basic Types
 Some useful data types when handling images.
 
 Graph Data Types
 
 Image Class and Methods
 
 Numpy Interface
 

Classes

class  Core
 Core module instance. More...
 
class  SharedImage< T >
 Image that uses an existing (1D) data pointer. More...
 

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)
 
void deleteRegisteredObjects ()
 

Variables

bool keepAlive
 
bool autoResizeImages
 
Signal onBaseImageCreated
 
Signal onBaseImageDestroyed
 
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 >
 
enum  RES_T {
  RES_OK = 1, RES_ERR = -100, RES_ERR_BAD_ALLOCATION, RES_ERR_BAD_SIZE,
  RES_ERR_IO, RES_ERR_NOT_IMPLEMENTED, RES_ERR_UNKNOWN
}
 
const char * getErrorMessage (const RES_T &res)