Go to the source code of this file.
#define mObtainDataPack |
( |
|
var, |
|
|
|
type, |
|
|
|
mgrid, |
|
|
|
newid |
|
) |
| |
Value:{ \
if ( var ) \
var = 0; \
} \
\
DataPack* __dp =
DPM( mgrid ).
obtain( newid ); \
mDynamicCastGet( type, __dummy, __dp ); \
if ( !__dummy && __dp )
\ else \
var = __dummy; \
}
void release(DataPack::ID)
DataPack * obtain(DataPack::ID dpid)
Definition: datapack.h:161
DataPackMgr & DPM(DataPackMgr::ID)
will create a new mgr if needed
#define mObtainDataPackToLocalVar |
( |
|
var, |
|
|
|
type, |
|
|
|
mgrid, |
|
|
|
newid |
|
) |
| |
Value:#define mObtainDataPack(var, type, mgrid, newid)
Definition: datapack.h:308
will create a new mgr if needed
will return empty dummy mgr if mgr ID not found