VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
luaAsyncJob.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
10 #include "vrfLua/vrfLuaDefines.h"
12 #include "vrfutil/objectCounter.h"
13 
14 #include <boost/shared_ptr.hpp>
15 #include <boost/enable_shared_from_this.hpp>
16 #include <boost/noncopyable.hpp>
17 
18 #include <luabind/luabind.hpp>
19 
20 class DtSimManager;
21 
30  : public DtAsciiSerializable
31  , public boost::noncopyable
32  , public boost::enable_shared_from_this<DtLuaAsyncJob>
33  , public DtObjectDebugger<DtLuaAsyncJob>
34 {
35 public:
36 
43  virtual luabind::object getObject(lua_State* L, int& index, std::string& message) = 0;
44 
48  virtual luabind::object getDebugObject(lua_State* L) = 0;
49 
51  virtual void cancel(lua_State* L) = 0;
52 
54  void init(void* userData);
55 
56 protected:
57  DtLuaAsyncJob();
58  explicit DtLuaAsyncJob(DtSimManager*);
59 
61 };
62 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)