#include <Image.h>
Inherits NSPipeline::TFrame.
Inheritance diagram for NSPipeline::TFrameReal:
Public Member Functions | |
virtual const TImageSet * | GetImageSet (void) const |
Vrati skupinu obrazu ulozenych v tomto snimku. | |
virtual const TTimeStamp & | GetTimestamp (void) const |
Vrati casovou znacku tohoto objektu. | |
virtual void | AddRefs (void) |
Zvyseni poctu referenci na snimek. | |
virtual void | Release (void) |
Snizeni poctu referenci nad danym snimkem. | |
virtual DWORD | GetRefs (void) const |
Vrati pocet referenci na snimek. | |
virtual DWORD | AddLock (void) |
Pridani zamku na tento snimek. | |
virtual DWORD | ReleaseLock (void) |
Uvolneni zamku ze snimku. | |
virtual DWORD | GetLockCount (void) const |
Vrati pocet zamku tohoto snimku. | |
Static Public Member Functions | |
static TFrameReal * | Create (TImageSetReal *images) |
Vytvoreni snimku z pripravene mnoziny obrazu. | |
Private Member Functions | |
virtual | ~TFrameReal (void) |
Soukromy virtualni destruktor. | |
TFrameReal (const TFrameReal &orig) | |
falesny kopirovaci konstruktor | |
void | operator= (const TFrameReal &orig) |
falesny operator prirazeni | |
TFrameReal (TImageSetReal *images) | |
Konstruktor. | |
Private Attributes | |
DWORD | m_refs |
pocet referenci na snimek | |
DWORD | m_locks |
pocet zamku na snimku | |
TCriticalSection | m_critSection |
TCriticalSection | m_critSection2 |
TTimeStamp | m_time |
cas vytvoreni snimku | |
TImageSetReal * | m_image |
data v tomto snimku |
Snimek muze obsahovat vice obrazu (v ruznych formatech), ktere jsou dostupne pres metodu TFrame::GetImageSet().
Kazdy snimek ma prirazenu casovou znacku jeho vytvoreni, takze lze jednotlive snimky snadno identifikovat. Casova znacka obsahuje take identifikator, kterym lze rozpoznat poradi snimku ve kterem byly generovany.
Definition at line 477 of file Image.h.
|
Soukromy virtualni destruktor. Je volany z metody TFrameReal::Release() v okamziku kdy je pocet referenci roven 0. Nehrozi tedy kolize s ostatnimi vlakny. Automaticky vraci alokovany snimek zpatky do manazeru snimku. Definition at line 974 of file Image.cpp. References NSPipeline::TImageSetReal::GetManager(), m_image, and NSPipeline::TImageSetManager::ReleaseImageSet(). Here is the call graph for this function: ![]() |
|
falesny kopirovaci konstruktor
Referenced by Create(). |
|
Konstruktor. Vytvori objekt s poctem referenci 1, zadnym zamkem a casem vytvoreni rovnym casu volani metody.
|
|
Pridani zamku na tento snimek. Zamek muze pridat napriklad vypocetni jednotka pokud je pozadovano, aby dochazelo k synchronizaci zobrazovani s timto snimkem. Metoda vraci pocet zamku na snimek po zvyseni poctu zamku. Implements NSPipeline::TFrame. Definition at line 924 of file Image.cpp. References NSPipeline::TCriticalSection::Enter(), NSPipeline::TCriticalSection::Leave(), m_critSection2, and m_locks. Referenced by NSPipeline::TDispatcher::GetLockedFrame(), and NSPipeline::TDispatcher::SetFrame(). Here is the call graph for this function: ![]() |
|
Zvyseni poctu referenci na snimek.
Implements NSPipeline::TFrame. Definition at line 864 of file Image.cpp. References NSPipeline::TCriticalSection::Enter(), NSPipeline::TCriticalSection::Leave(), m_critSection, and m_refs. Referenced by NSPipeline::TFrameQueue::AddFrame(), NSPipeline::TDispatcher::GetFrame(), NSPipeline::TDispatcher::GetLockedFrame(), and NSPipeline::TDispatcher::SetFrame(). Here is the call graph for this function: ![]() |
|
Vytvoreni snimku z pripravene mnoziny obrazu.
Definition at line 525 of file Image.h. References TFrameReal(). Referenced by NSPipeline::TCameraThread::TCameraDLLRun(). Here is the call graph for this function: ![]() |
|
Vrati skupinu obrazu ulozenych v tomto snimku.
Implements NSPipeline::TFrame. Definition at line 848 of file Image.cpp. References m_image. |
|
Vrati pocet zamku tohoto snimku.
Implements NSPipeline::TFrame. Definition at line 961 of file Image.cpp. References m_locks. |
|
Vrati pocet referenci na snimek.
Implements NSPipeline::TFrame. Definition at line 911 of file Image.cpp. References m_refs. |
|
Vrati casovou znacku tohoto objektu.
Implements NSPipeline::TFrame. Definition at line 856 of file Image.cpp. References m_time. |
|
falesny operator prirazeni
|
|
Snizeni poctu referenci nad danym snimkem. Po dosazeni poctu referenci na 0 je snimek odstranen. Implements NSPipeline::TFrame. Definition at line 875 of file Image.cpp. References NSPipeline::TCriticalSection::Enter(), NSPipeline::TCriticalSection::Leave(), m_critSection, and m_refs. Referenced by NSPipeline::TDispatcher::Free(), NSPipeline::TDispatcher::SetFrame(), NSPipeline::TCameraThread::TCameraDLLRun(), and NSPipeline::TDispatcher::~TDispatcher(). Here is the call graph for this function: ![]() |
|
Uvolneni zamku ze snimku. Pokud je pocet zamku 0 pak muze snimek opustit frontu snimku a byt zobrazen. Metoda vraci pocet zamku na snimek po snizeni poctu zamku. Implements NSPipeline::TFrame. Definition at line 941 of file Image.cpp. References NSPipeline::TCriticalSection::Enter(), NSPipeline::TCriticalSection::Leave(), m_critSection2, and m_locks. Referenced by NSPipeline::TDispatcher::Free(), NSPipeline::TDispatcher::SetFrame(), and NSPipeline::TDispatcher::~TDispatcher(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 515 of file Image.h. Referenced by AddLock(), and ReleaseLock(). |
|
data v tomto snimku
Definition at line 518 of file Image.h. Referenced by GetImageSet(), TFrameReal(), and ~TFrameReal(). |
|
pocet zamku na snimku
Definition at line 513 of file Image.h. Referenced by AddLock(), GetLockCount(), ReleaseLock(), and TFrameReal(). |
|
pocet referenci na snimek
Definition at line 512 of file Image.h. Referenced by AddRefs(), GetRefs(), Release(), and TFrameReal(). |
|
cas vytvoreni snimku
Definition at line 517 of file Image.h. Referenced by GetTimestamp(). |