C:/quickbuild-1.2.13/working/root/Docs/TGEA_Offline_Docs/checkouts/engine/source/core/util/journal/journal.h File Reference
Define Documentation
Value: static typename ReturnType<Func>::ValueType Result Arg1 { \ typename ReturnType<Func>::ValueType value; \ if (_Dispatching) \ return; \ if (_State == PlayState) { \ _start(); \ IOHelper::reads(mFile,value); \ _finish(); \ return value; \ } \ _Dispatching = true; \ value = (*func) Arg2; \ _Dispatching = false; \ if (_State == RecordState) { \ _start(); \ IOHelper::writes(mFile,value); \ _finish(); \ } \ return value; \ } The return value of the function is stored into the journal and retrieved during playback. During playback the function is not executed.
Value: static void Call Arg1 { \ if (_Dispatching) \ return; \ if (_State == PlayState) \ return; \ if (_State == RecordState) { \ Id id = _getFunctionId((VoidPtr)func,0); \ AssertFatal(id,"Journal: Function must be be declared before being called"); \ _start(); \ IOHelper::writes Arg2; \ _finish(); \ } \ _Dispatching = true; \ (*func) Arg3; \ _Dispatching = false; \ return; \ } The return value of the function is stored into the journal and retrieved during playback. During playback the function is not executed.
Value: static void Call Arg1 { \ if (_Dispatching) \ return; \ if (_State == PlayState) \ return; \ if (_State == RecordState) { \ Id id = _getFunctionId((VoidPtr)obj,(VoidMethod)method); \ AssertFatal(id != 0,"Journal: Function must be be declared before being called"); \ _start(); \ IOHelper::writes Arg2; \ _finish(); \ } \ _Dispatching = true; \ (obj->*method) Arg3; \ _Dispatching = false; \ return; \ } The return value of the function is stored into the journal and retrieved during playback. During playback the function is not executed.
Value: static inline bool Writes Arg1 { \ if (_State == RecordState) { \ _start(); IOHelper::writes Arg2; _finish(); \ return true; \ } \ return false; \ } The return value of the function is stored into the journal and retrieved during playback. During playback the function is not executed.
Value: static inline bool Reads Arg1 { \ if (_State == PlayState) { \ _start(); IOHelper::reads Arg2; _finish(); \ return true; \ } \ return false; \ } The return value of the function is stored into the journal and retrieved during playback. During playback the function is not executed.
|