VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
scriptTaskControllerInterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
#pragma once
6
7
#include "
vrftasks/simTask.h
"
8
#include "
vrfobjcore/vrfobjcoreDefines.h
"
9
#include "
vrfobjcore/taskStatusEntry.h
"
10
15
class
DT_DLL_vrfobjcore
DtScriptTaskControllerInterface
16
{
17
public
:
18
virtual
~
DtScriptTaskControllerInterface
();
19
20
virtual
void
scriptSetTickPeriod(
const
DtString
& scriptId,
double
period) = 0;
21
virtual
void
scriptTaskComplete(
int
taskId,
bool
success) = 0;
22
virtual
int
scriptSendSubtask(
DtSimTask
&
task
,
int
parentTaskId) = 0;
23
virtual
std::vector<int> scriptPendingSubstaskIds(
int
taskId) = 0;
24
virtual
DtSubtaskStatusEntry
* scriptSubtaskStatus(
int
subtaskId,
int
parentTaskId) = 0;
25
virtual
void
scriptClearSubtask(
int
subtaskId,
int
parentTaskId) = 0;
26
virtual
int
scriptSendTask(
DtSimTask
& task,
const
DtString
& entityName,
int
parentTaskId,
bool
actAsSubtask =
true
) = 0;
27
28
virtual
void
notifyScriptTaskError(
const
DtString
& scriptId,
int
taskId) = 0;
29
30
protected
:
31
DtScriptTaskControllerInterface
();
32
DtScriptTaskControllerInterface
(
const
DtScriptTaskControllerInterface
& other);
33
DtScriptTaskControllerInterface
& operator=(
const
DtScriptTaskControllerInterface
& other);
34
};
35
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)