<commit_before>#pragma once

#include "../defines.h"
#include "../Input/Gestures/GestureManager.h"
#include "../Helpers/Stopwatch.h"
#include <vector>
#include <memory>

namespace star 
{
	struct Context;
	class Object;
	class CameraComponent;
	class BaseCamera;

	class BaseScene
	{
	public:
		BaseScene(const tstring & name);
		virtual ~BaseScene();
		
		void	BaseInitialize();
		void	BaseAfterInitializedObjects();
		void	BaseOnActivate();
		void	BaseOnDeactivate();
		void	BaseUpdate(const Context& context);
		void	BaseDraw();


		virtual void OnSaveState(void** pData,size_t* pSize);
		virtual void OnConfigurationChanged();
		virtual void OnLowMemory();

		const tstring & GetName() const;
		bool IsInitialized() const;

		void AddObject(Object * object); 
		void RemoveObject(Object * object);

		void SetActiveCamera(BaseCamera* pCamera);
		BaseCamera* GetActiveCamera() const;

		std::shared_ptr<Stopwatch> GetStopwatch() const;

	protected:
		virtual void CreateObjects();
		virtual void AfterInitializedObjects();
		virtual void OnActivate();
		virtual void OnDeactivate();
		virtual void Update(const Context& context);
		virtual void Draw();

		std::shared_ptr<GestureManager> m_GestureManagerPtr;

		std::vector<Object*> m_Objects;
		BaseCamera* m_pDefaultCamera;
		std::shared_ptr<Stopwatch> m_pStopwatch;

	private:
		bool m_Initialized;
		tstring m_Name;
	
		BaseScene(const BaseScene& t);
		BaseScene(BaseScene&& t);
		BaseScene& operator=(const BaseScene& t);
	};
}<commit_msg>HotFix<commit_after>#pragma once

#include "../defines.h"
#include "../Input/Gestures/GestureManager.h"
#include "../Helpers/Stopwatch.h"
#include <vector>
#include <memory>

namespace star 
{
	struct Context;
	class Object;
	class CameraComponent;
	class BaseCamera;

	class BaseScene
	{
	public:
		BaseScene(const tstring & name);
		virtual ~BaseScene();
		
		void	BaseInitialize();
		void	BaseAfterInitializedObjects();
		void	BaseOnActivate();
		void	BaseOnDeactivate();
		void	BaseUpdate(const Context& context);
		void	BaseDraw();


		virtual void OnSaveState(void** pData,size_t* pSize);
		virtual void OnConfigurationChanged();
		virtual void OnLowMemory();

		const tstring & GetName() const;
		bool IsInitialized() const;

		void AddObject(Object * object); 
		void RemoveObject(Object * object);

		void SetActiveCamera(BaseCamera* pCamera);
		BaseCamera* GetActiveCamera() const;

		std::shared_ptr<Stopwatch> GetStopwatch() const;

		std::shared_ptr<GestureManager> GetGestureManager() const;

	protected:
		virtual void CreateObjects();
		virtual void AfterInitializedObjects();
		virtual void OnActivate();
		virtual void OnDeactivate();
		virtual void Update(const Context& context);
		virtual void Draw();

		std::shared_ptr<GestureManager> m_GestureManagerPtr;

		std::vector<Object*> m_Objects;
		BaseCamera* m_pDefaultCamera;
		std::shared_ptr<Stopwatch> m_pStopwatch;

	private:
		bool m_Initialized;
		tstring m_Name;
	
		BaseScene(const BaseScene& t);
		BaseScene(BaseScene&& t);
		BaseScene& operator=(const BaseScene& t);
	};
}
{'fraction_non_alphanumeric': 0.11380780583797967, 'fraction_numerical': 0.0, 'mean_word_length': 5.3146997929606625, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5374489', 'n_tokens_mistral': 1045, 'n_tokens_neox': 947, 'n_words': 243}