Code/Tools/AssetProcessor
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -26,8 +26,8 @@ namespace AssetBuilder
|
||||
void EnableDebugMode(bool enable);
|
||||
|
||||
bool OnAssert(const char* message) override;
|
||||
bool OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message);
|
||||
bool OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message);
|
||||
bool OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message) override;
|
||||
bool OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message) override;
|
||||
bool OnException(const char* message) override;
|
||||
bool OnPrintf(const char* window, const char* message) override;
|
||||
bool OnOutput(const char* window, const char* message) override;
|
||||
|
||||
@@ -122,8 +122,8 @@ namespace AssetProcessor
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// AzToolsFramework::ToolsAssetSystemBus::Handler
|
||||
void RegisterSourceAssetType(const AZ::Data::AssetType& assetType, const char* assetFileFilter);
|
||||
void UnregisterSourceAssetType(const AZ::Data::AssetType& assetType);
|
||||
void RegisterSourceAssetType(const AZ::Data::AssetType& assetType, const char* assetFileFilter) override;
|
||||
void UnregisterSourceAssetType(const AZ::Data::AssetType& assetType) override;
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//! given some absolute path, please respond with its relative product path. For now, this will be a
|
||||
@@ -163,9 +163,9 @@ namespace AssetProcessor
|
||||
AZ::Outcome<AZStd::vector<AZ::Data::ProductDependency>, AZStd::string> GetAllProductDependenciesFilter(
|
||||
const AZ::Data::AssetId& id,
|
||||
const AZStd::unordered_set<AZ::Data::AssetId>& exclusionList,
|
||||
const AZStd::vector<AZStd::string>& wildcardPatternExclusionList);
|
||||
const AZStd::vector<AZStd::string>& wildcardPatternExclusionList) override;
|
||||
|
||||
bool DoesAssetIdMatchWildcardPattern(const AZ::Data::AssetId& assetId, const AZStd::string& wildcardPattern);
|
||||
bool DoesAssetIdMatchWildcardPattern(const AZ::Data::AssetId& assetId, const AZStd::string& wildcardPattern) override;
|
||||
|
||||
void AddAssetDependencies(
|
||||
const AZ::Data::AssetId& searchAssetId,
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace AssetProcessor
|
||||
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
|
||||
QVariant data(const QModelIndex& index, int role) const;
|
||||
QVariant data(const QModelIndex& index, int role) const override;
|
||||
|
||||
void markAsProcessing(RCJob* rcJob);
|
||||
void markAsStarted(RCJob* rcJob);
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ namespace SerializationDependencyTests
|
||||
// Use an arbitrary ID for the asset type.
|
||||
return AZ::Data::AssetType("{03FD33E2-DA2F-4021-A266-0DC9714FF84D}");
|
||||
}
|
||||
virtual const char* GetFileFilter() const
|
||||
const char* GetFileFilter() const override
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -49,13 +49,13 @@ namespace
|
||||
bool m_deleteFenceFileResult = false;
|
||||
|
||||
protected:
|
||||
virtual QString CreateFenceFile(unsigned int fenceId)
|
||||
QString CreateFenceFile(unsigned int fenceId) override
|
||||
{
|
||||
m_numTimesCreateFenceFileCalled++;
|
||||
m_fenceId = fenceId;
|
||||
return m_fenceFileName;
|
||||
}
|
||||
virtual bool DeleteFenceFile(QString fenceFileName)
|
||||
bool DeleteFenceFile(QString fenceFileName) override
|
||||
{
|
||||
m_numTimesDeleteFenceFileCalled++;
|
||||
return m_deleteFenceFileResult;
|
||||
|
||||
@@ -543,7 +543,7 @@ public:
|
||||
Q_EMIT UnitTestPassed();
|
||||
}
|
||||
|
||||
bool OnPreAssert(const char* /*fileName*/, int /*line*/, const char* /*func*/, const char* /*message*/)
|
||||
bool OnPreAssert(const char* /*fileName*/, int /*line*/, const char* /*func*/, const char* /*message*/) override
|
||||
{
|
||||
m_assertTriggered = true;
|
||||
return true;
|
||||
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
|
||||
void Rescan();
|
||||
|
||||
bool IsAssetProcessorManagerIdle() const;
|
||||
bool IsAssetProcessorManagerIdle() const override;
|
||||
bool CheckFullIdle();
|
||||
Q_SIGNALS:
|
||||
void CheckAssetProcessorManagerIdleState();
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace AssetProcessor
|
||||
virtual ~AssetServerHandler();
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// AssetServerBus::Handler overrides
|
||||
bool IsServerAddressValid();
|
||||
bool IsServerAddressValid() override;
|
||||
//! StoreJobResult will store all the files in the the temp folder provided by AP to a zip file on the network drive
|
||||
//! whose file name will be based on the server key
|
||||
bool StoreJobResult(const AssetProcessor::BuilderParams& builderParams, AZStd::vector<AZStd::string>& sourceFileList) override;
|
||||
|
||||
Reference in New Issue
Block a user