creaImageIO_lib
creaImageIO::WxViewerPlayer Class Reference
Inheritance diagram for creaImageIO::WxViewerPlayer:
Collaboration diagram for creaImageIO::WxViewerPlayer:

Public Member Functions

 WxViewerPlayer (WxViewer *v)
 
void * Entry ()
 
void OnExit ()
 

Private Attributes

WxViewermWxViewer
 

Detailed Description

Definition at line 47 of file creaImageIOWxViewer.cpp.

Constructor & Destructor Documentation

creaImageIO::WxViewerPlayer::WxViewerPlayer ( WxViewer v)
inline

Definition at line 50 of file creaImageIOWxViewer.cpp.

51  :
52  mWxViewer(v)
{}

Member Function Documentation

void * creaImageIO::WxViewerPlayer::Entry ( )

Definition at line 368 of file creaImageIOWxViewer.cpp.

References GimmickDebugMessage, mWxViewer, creaImageIO::WxViewer::SetValue(), and creaImageIO::WxViewer::ShowNextImage().

369  {
370 
371  GimmickDebugMessage(6,"WxViewerPlayer::Entry()"<<std::endl);
372 
373  while(!TestDestroy())
374  {
375 
377  mWxViewer->SetValue();
378  ::wxWakeUpIdle();
379  clock_t endwait;
380  endwait = clock () + 0.2 * CLOCKS_PER_SEC ;
381  while (clock() < endwait ) {}
382 
383  }
384  return 0;
385  }

Here is the call graph for this function:

void creaImageIO::WxViewerPlayer::OnExit ( )

Definition at line 390 of file creaImageIOWxViewer.cpp.

References GimmickDebugMessage.

391  {
392  GimmickDebugMessage(6,"WxViewerPlayer::OnExit() "<<std::endl);
393  }

Member Data Documentation

WxViewer* creaImageIO::WxViewerPlayer::mWxViewer
private

Definition at line 59 of file creaImageIOWxViewer.cpp.

Referenced by Entry().


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