2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of MayaDataModel.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
10
#ifndef __MayaDM_MUTE_H__
11
#define __MayaDM_MUTE_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMDependNode.h"
17
class Mute : public DependNode
23
Mute(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:DependNode(file, name, parent, "mute", shared, create){}
27
void setHoldTime(double ht)
30
fprintf(mFile,"\tsetAttr \".ht\" %f;\n", ht);
34
if(m == false) return;
35
fprintf(mFile,"\tsetAttr \".m\" %i;\n", m);
39
fprintf(mFile,"\"%s.i\"",mName.c_str());
43
fprintf(mFile,"\"%s.h\"",mName.c_str());
45
void getHoldTime()const
47
fprintf(mFile,"\"%s.ht\"",mName.c_str());
51
fprintf(mFile,"\"%s.m\"",mName.c_str());
55
fprintf(mFile,"\"%s.o\"",mName.c_str());
58
Mute(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
59
:DependNode(file, name, parent, nodeType, shared, create) {}
63
#endif//__MayaDM_MUTE_H__