Debian Codegraph @

Testing/Data/5031-test.cpp

raw
1 #include "Test.h"
2
3 template <class T>
4 Test<T>::Test
5 (
6 T & iObject ,
7 void (T::* iAlloc)( HCBuffer & ) ,
8 void (T::* iFree )( HCBuffer & ) ,
9 size_t iSize , test,
10 int iIsLocked ,
11 int iSeverity ,
12 int iIsFIFO ,
13 TestRestoreIF * iMemoryRestore
14 )
15 : Test( kTypeAlienMemory , iIsLocked , iSeverity , iIsFIFO , 0 , iMemoryRestore )
16 , mObject ( iObject )
17 , mAlloc ( iAlloc )
18 , mFree ( iFree )
19 , mIsOwner( 1 )
20 {
21 // optional allocate buffer
22 if( iSize )
23 Alloc( iSize );
24 }