|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
extern |
Ensure the current thread has taken the DRAMA task lock.
Throw an exception if not.
This won't do anything unless DRAMA was compiled with the DRAMA2_LOCK_DEBUG macro defined.
This method is static and uses an internal static variable to find the drama::Task object.
func, file and lineNum are used in constructing the exception so you know the source of the call.
| func | Name of the function where the call was made |
| file | Name of the file in which the call was made |
| lineNum | Line number where the call was made. |
Referenced by drama::Task::GetTaskType().