#include <ImageResStruct.h>
Collaboration diagram for NSSimpleUnit::TImageRGBResultManager:
Public Member Functions | |
TImageRGBResultManager (DWORD width, DWORD height, DWORD initSize) | |
Vytvori manager obrazku typu RGB. | |
~TImageRGBResultManager (void) | |
Zrusi manager. | |
TImageRGBResult * | GetObject (void) |
Vrati novy objekt. | |
Private Member Functions | |
void | InsertObject (TImageRGBResult *image) |
Metoda vrati objekt zpet do manageru. | |
TImageRGBResultManager (const TImageRGBResultManager &orig) | |
falesny kopirovaci konstruktor | |
void | operator= (const TImageRGBResultManager &orig) |
falesny operator prirazeni | |
Private Attributes | |
friend | TImageRGBResult |
DWORD | m_width |
sirka vytvarenych obrazku | |
DWORD | m_height |
vyska vytvarenych obrazku | |
int | m_exportCount |
pocet objektu vydanych timto managerem do aplikace | |
vector< TImageRGBResult * > | m_object |
pole s objekty | |
TCriticalSection | m_cs |
criticka sekce pro soubezny pristup k objektum |
Pred jeho znicenim musi byt z aplikace odstraneny vsechny objekty vytvorene timto managerem.
Metody GetObject() a InsertObject() jsou synchronizovany pro vicenasobny pristup.
Soukroma metoda InsertObject() vraci snimek zpatky do manageru. Je volana primo ze snimku v okmaziku, kdy dojde k uvolneni posledni reference snimku.
Definition at line 226 of file ImageResStruct.h.
|
Vytvori manager obrazku typu RGB.
Definition at line 56 of file ImageResStruct.cpp. References m_exportCount, m_height, m_object, and m_width. |
|
Zrusi manager.
Definition at line 75 of file ImageResStruct.cpp. References m_exportCount, and m_object. |
|
falesny kopirovaci konstruktor
|
|
Vrati novy objekt. Objekt ma jednu referenci a velikost platneho obdelnika je nastavena na cely obrazek. Metoda je synchronizovana pro soubezny pristup. Definition at line 96 of file ImageResStruct.cpp. References NSPipeline::TCriticalSection::Enter(), m_cs, and m_object. Here is the call graph for this function: ![]() |
|
Metoda vrati objekt zpet do manageru. Metoda je volana z metody Release vraceneho objektu v okamziku kdy pocet referenci klesne na 0. Metoda je synchronizovana pro soubezny pristup.
Definition at line 133 of file ImageResStruct.cpp. References NSPipeline::TCriticalSection::Enter(), NSPipeline::TCriticalSection::Leave(), m_cs, m_exportCount, and m_object. Referenced by NSSimpleUnit::TImageRGBResult::Release(). Here is the call graph for this function: ![]() |
|
falesny operator prirazeni
|
|
criticka sekce pro soubezny pristup k objektum
Definition at line 256 of file ImageResStruct.h. Referenced by GetObject(), and InsertObject(). |
|
pocet objektu vydanych timto managerem do aplikace
Definition at line 251 of file ImageResStruct.h. Referenced by InsertObject(), TImageRGBResultManager(), and ~TImageRGBResultManager(). |
|
vyska vytvarenych obrazku
Definition at line 249 of file ImageResStruct.h. Referenced by TImageRGBResultManager(). |
|
pole s objekty
Definition at line 254 of file ImageResStruct.h. Referenced by GetObject(), InsertObject(), TImageRGBResultManager(), and ~TImageRGBResultManager(). |
|
sirka vytvarenych obrazku
Definition at line 248 of file ImageResStruct.h. Referenced by TImageRGBResultManager(). |
|
Definition at line 228 of file ImageResStruct.h. |