model_server/gala/src/controlObjects.cxx
//---------------------------------------------------------------------------------------------------------
// constructs image buffer with selected number of cells
//---------------------------------------------------------------------------------------------------------
constructs image buffer with selected number of cells
constructs image buffer with selected number of cells
imageBuffer::imageBuffer(int size) {
		register i;
		if(size < 2) size = 2;
		m_Buffer = new BufferEntryPtr [size];
		m_bufSize=size;
		for(i=0;i<m_bufSize;i++) m_Buffer[i]=NULL;
	}
imageBuffer :: imageBuffer ( int size ) { register i ; if ( size < 2 ) size = 2 ; m_Buffer = new BufferEntryPtr [ size ] ; m_bufSize = size ; for ( i = 0 ; i < m_bufSize ; i ++ ) m_Buffer [ i ] = NULL ; }
constructs image buffer with selected number of cells
constructs image buffer with selected number of cells