AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DebugCommands.h
1 //
2 // Copyright 2017 Animal Logic
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.//
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 #pragma once
17 
18 #include "../Api.h"
19 
20 #include "maya/MPxCommand.h"
21 
22 #include "pxr/pxr.h"
23 #include "AL/usdmaya/utils/ForwardDeclares.h"
24 #include "AL/maya/utils/Api.h"
25 #include "AL/maya/utils/MayaHelperMacros.h"
26 
27 PXR_NAMESPACE_USING_DIRECTIVE
28 
29 namespace AL {
30 namespace usdmaya {
31 namespace cmds {
32 
33 //----------------------------------------------------------------------------------------------------------------------
36 //----------------------------------------------------------------------------------------------------------------------
38  : public MPxCommand
39 {
40  MArgDatabase makeDatabase(const MArgList& args);
41 public:
42  AL_MAYA_DECLARE_COMMAND();
43 private:
44  bool isUndoable() const override;
45  MStatus doIt(const MArgList& args) override;
46 };
47 
49 AL_USDMAYA_PUBLIC
50 void constructDebugCommandGuis();
51 
52 } // cmds
53 } // usdmaya
54 } // AL
55 
56 
57 
A command that allows you to query and modify the current status of the TfDebug symbols.
Definition: DebugCommands.h:37