VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Variables
scriptedTaskManager.h File Reference

Go to the source code of this file.

Classes

struct  DtScriptedTaskManagerCallbackInfo
 
class  DtScriptedTaskManager
 
struct  DtScriptedTaskManager::ScenarioSystemPair
 

Typedefs

typedef DtCallbackList< const
DtScriptedTaskManagerCallbackInfo & >
::DtCallbackFunctionType 
DtScriptedTaskManagerCallbackFcn
 

Variables

const int DtScriptedTaskManagerCallbackInfoAdded = 1
 
const int DtScriptedTaskManagerCallbackInfoRemoved = 2
 
const int DtScriptedTaskManagerCallbackInfoUpdated = 3
 
const int DtScriptedTaskManagerCallbackInfoScriptIdChanged = 4
 
const int DtScriptedTaskManagerCallbackInfoScriptChanged = 5
 
const int DtScriptedTaskManagerCallbackInfoScriptTypeChanged = 6
 
const int DtScriptedTaskManagerCallbackInfoDoctrineChangedBase = 100
 
const int DtScriptedTaskManagerCallbackFlagScenarioScriptExists = 0x00000001
 

Typedef Documentation

Callback function definition for any kind of scripted task change.

Variable Documentation

const int DtScriptedTaskManagerCallbackInfoAdded = 1

The scripted task manager contains information about all system level scripted tasks (loaded from the simulation model sets script directory plus whatever other directories are specified) as well as scripts for the currently loaded simulation.

Info structure for callback. Reasons can be:

const int DtScriptedTaskManagerCallbackInfoRemoved = 2
const int DtScriptedTaskManagerCallbackInfoUpdated = 3
const int DtScriptedTaskManagerCallbackInfoScriptIdChanged = 4
const int DtScriptedTaskManagerCallbackInfoScriptChanged = 5
const int DtScriptedTaskManagerCallbackInfoScriptTypeChanged = 6
const int DtScriptedTaskManagerCallbackInfoDoctrineChangedBase = 100

If the doctrine has changed, this is the base for that. The reason sent minus this number will be the force it has changed for.

const int DtScriptedTaskManagerCallbackFlagScenarioScriptExists = 0x00000001

Flag to tell that the system script is still around.


Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)