Skip to content
Snippets Groups Projects
Select Git revision
  • fca68602b8dd327574d6e1c1ab68e2f092e79ed4
  • 5.4 default protected
  • 5.5
  • dev/5.5
  • dev/5.4
  • dev/5.3_downgrade
  • feature/experimenttime_hack
  • 5.3 protected
  • _IntenSelect5.3
  • IntenSelect5.3
  • 4.27 protected
  • 4.26 protected
  • 5.0 protected
  • 4.22 protected
  • 4.21 protected
  • UE5.4-2024.1
  • UE5.4-2024.1-rc1
  • UE5.3-2023.1-rc3
  • UE5.3-2023.1-rc2
  • UE5.3-2023.1-rc
20 results

BP_RWTHVRPawn_Default.uasset

Blame
  • compcache.h 693 B
    #include <string>
    #include <vector>
    #include <map>
    #include <complex>
    
    #include "eistype.h"
    
    namespace eis
    {
    
    std::string getTempdir();
    
    struct CompiledObject
    {
    	void* objectCode;
    	std::vector<std::complex<fvalue>>(*symbol)(const std::vector<fvalue>&, const std::vector<fvalue>&);
    };
    
    class CompCache
    {
    public:
    
    private:
    
    	inline static CompCache* instance = nullptr;
    	std::map<size_t, CompiledObject*> objects;
    	CompCache() {};
    
    public:
    
    	static CompCache* getInstance();
    	CompCache(const CompCache&) = delete;
    	CompCache& operator=(const CompCache&) = delete;
    	bool addObject(size_t uuid, const CompiledObject& object);
    	CompiledObject* getObject(size_t uuid);
    	void dropAllObjects();
    };
    
    }