This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2015 Sammy James | |
#include "TaskTypes.h" | |
#include "Jobs/Job.h" | |
#include "Fibers/Fiber.h" | |
#include "Threads/Thread.h" | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "Jobs/Jobs.h" | |
#include <functional> | |
#include <memory> | |
namespace Jobs | |
{ | |
class IJob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "Jobs/Jobs.h" | |
#include <functional> | |
namespace Jobs | |
{ | |
class IJob | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template< typename T > | |
struct TLuaFunction | |
{ | |
public: | |
using ArgType = typename TFunctionArgs< T >::Type; | |
using ResultType = typename TFunctionResult< T >::Type; | |
static ArgType Unwind( lua_State* L ) | |
{ | |
return Helper( L, std::make_index_sequence< std::tuple_size< ArgType >::value >{} ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Onyx.exe!Onyx::UIObject::Testing(int One, float Two, bool Three) Line 19 C++ | |
Onyx.exe!TLuaClass<Onyx::UIObject>::TFunctionType<std::basic_string<char,std::char_traits<char>,std::allocator<char> > (__cdecl Onyx::UIObject::*)(int,float,bool)const __ptr64>::Apply<std::tuple<int,float,bool> & __ptr64,0,1,2>(void * Object, std::tuple<int,float,bool> & Tuple, std::integer_sequence<unsigned __int64,0,1,2> __formal) Line 185 C++ | |
Onyx.exe!TLuaClass<Onyx::UIObject>::TFunctionType<std::basic_string<char,std::char_traits<char>,std::allocator<char> > (__cdecl Onyx::UIObject::*)(int,float,bool)const __ptr64>::InternalCall(lua_State * L, void * Object) Line 176 C++ | |
Onyx.exe!TLuaClass<Onyx::UIObject>::FunctionType::Call(lua_State * L, void * Object) Line 28 C++ | |
Onyx.exe!TLuaClass<Onyx::UIObject>::Apply(lua_State * L) Line 420 C++ | |
Onyx.exe!luaD_precall() C | |
Onyx.exe!luaV_execute() C | |
Onyx.exe!luaD_call() C | |
Onyx.exe!luaD_rawrunprotected() C | |
Onyx.exe!luaD_pcall() C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2015 Sammy James | |
#pragma once | |
#include <lua.hpp> | |
#include <utility> | |
#include <functional> | |
#include <list> | |
template< class T > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2015 Sammy James | |
#pragma once | |
#include <lua.hpp> | |
#include <utility> | |
#include <functional> | |
#include <list> | |
template< class T > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Onyx.exe!TLuaRead<int>::Read(lua_State * L, int Index) Line 84 C++ | |
Onyx.exe!TLuaFunction<void (__cdecl Onyx::UIObject::*)(int,float,bool) __ptr64>::Work<int>(int & Index, lua_State * L) Line 223 C++ | |
Onyx.exe!TLuaFunction<void (__cdecl Onyx::UIObject::*)(int,float,bool) __ptr64>::Work<int,float,bool>(int & Index, lua_State * L) Line 230 C++ | |
Onyx.exe!TLuaFunction<void (__cdecl Onyx::UIObject::*)(int,float,bool) __ptr64>::Helper<0,1,2>(lua_State * L, std::integer_sequence<unsigned __int64,0,1,2> __formal) Line 237 C++ | |
Onyx.exe!TLuaFunction<void (__cdecl Onyx::UIObject::*)(int,float,bool) __ptr64>::Call(lua_State * L, void * Object) Line 246 C++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared_ptr<_Ty> shared_from_this() | |
{ // return shared_ptr | |
return (shared_ptr<_Ty>(_Wptr)); | |
} | |
shared_ptr<const _Ty> shared_from_this() const | |
{ // return shared_ptr | |
return (shared_ptr<const _Ty>(_Wptr)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template< typename T > | |
static void Test( T&& Arg ) | |
{ | |
} | |
template< typename T, typename... TS > | |
static void Test( T&& Arg, TS&&... Args ) | |
{ | |
Test( std::forward< T >( Arg ) ); |