VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
10 
15 
17 
19 {
20 public:
22 
23  virtual void scriptSetTickPeriod(const DtString& scriptId, double period) = 0;
24  virtual void scriptSetRespondToNewSensorContacts(const DtString& scriptId, bool tick) = 0;
25  virtual void scriptTaskComplete(int taskId, bool success) = 0;
26  virtual int scriptSendSubtask(DtSimTask& task, int parentTaskId) = 0;
27  virtual std::vector<int> scriptPendingSubstaskIds(int taskId) = 0;
28  virtual DtSubtaskStatusEntry* scriptSubtaskStatus(int subtaskId, int parentTaskId) = 0;
29  virtual void scriptClearSubtask(int subtaskId, int parentTaskId) = 0;
30  virtual int scriptSendTask(DtSimTask& task, const DtString& entityName, int parentTaskId, bool actAsSubtask = true) = 0;
31 
32  virtual void notifyScriptTaskError(const DtString& scriptId, int taskId) = 0;
33 
34  virtual int askUserQuestion(const DtString& scriptId, const DtTranslatableStream& title, const DtTranslatableStream& message,
35  const std::vector<DtTranslatableStream>& options, int displayFlag) = 0;
36  virtual int statusOfUserQuestion(int questionId) = 0;
37  virtual void cancelUserQuestion(int questionId) = 0;
38 
39 protected:
43 };
44 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)