Improve Modules Interface
Now the modules are created using a factory instead of static allocated. The same module can be applied to different sequences. Pain in the ass memory free
This commit is contained in:
1 parent
bec150f705
commit
73bf370e6e
18 files changed
+432
-210
No files matched your search
@@ -28,8 +28,9 @@
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
PlaYUVerAppModuleIf::PlaYUVerAppModuleIf() :
|
||||
m_pcAction( NULL ),
|
||||
PlaYUVerAppModuleIf::PlaYUVerAppModuleIf( QObject* parent, QAction* action, PlaYUVerModuleIf* module ) :
|
||||
m_pcModuleAction( action ),
|
||||
m_pcModule( module ),
|
||||
m_pcDisplaySubWindow( NULL ),
|
||||
m_pcDockWidget( NULL ),
|
||||
m_pcModuleDock( NULL ),
|
||||
@@ -37,6 +38,7 @@ PlaYUVerAppModuleIf::PlaYUVerAppModuleIf() :
|
||||
m_pcProcessedFrame( NULL ),
|
||||
m_dMeasurementResult( 0 )
|
||||
{
|
||||
setParent( parent );
|
||||
for( Int i = 0; i < MAX_NUMBER_FRAMES; i++ )
|
||||
{
|
||||
m_pcSubWindow[i] = NULL;
|
||||
|
||||
Reference in new issue
Block a user