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 
46  void init(void* userData);
47 
48 protected:
49  DtLuaAsyncJob();
50  explicit DtLuaAsyncJob(DtSimManager*);
51 
53 };
54 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)