/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ namespace EMotionFX { class ObjectAffectedByParameterChanges { public: AZ_RTTI(ObjectAffectedByParameterChanges, "{5B0BC730-F5FF-490F-93E6-706080058D08}") virtual ~ObjectAffectedByParameterChanges() = default; MOCK_CONST_METHOD1(AddRequiredParameters, void(AZStd::vector& parameterNames)); MOCK_CONST_METHOD0(GetParameters, AZStd::vector()); MOCK_CONST_METHOD0(GetParameterAnimGraph, AnimGraph*()); MOCK_METHOD1(ParameterMaskChanged, void(const AZStd::vector& newParameterMask)); MOCK_METHOD1(ParameterAdded, void(const AZStd::string& newParameterName)); MOCK_METHOD2(ParameterRenamed, void(const AZStd::string& oldParameterName, const AZStd::string& newParameterName)); MOCK_METHOD2(ParameterOrderChanged, void(const ValueParameterVector& beforeChange, const ValueParameterVector& afterChange)); MOCK_METHOD1(ParameterRemoved, void(const AZStd::string& oldParameterName)); MOCK_METHOD2(BuildParameterRemovedCommands, void(MCore::CommandGroup& commandGroup, const AZStd::string& oldParameterName)); static void SortAndRemoveDuplicates(AnimGraph* animGraph, AZStd::vector& parameterNames); }; }