|
Katana Plug-in APIs 0.1
|
00001 // Copyright (c) 2013 The Foundry Visionmongers Ltd. All Rights Reserved. 00002 00003 #ifndef FNRENDER_POSTCOMMANDRENDERACTION_H 00004 #define FNRENDER_POSTCOMMANDRENDERACTION_H 00005 00006 #include "FnAttribute/FnAttribute.h" 00007 #include "FnAttribute/FnGroupBuilder.h" 00008 #include "FnRender/FnRenderAPI.h" 00009 #include "FnRender/plugin/CopyRenderAction.h" 00010 00011 namespace Foundry 00012 { 00013 namespace Katana 00014 { 00015 namespace Render 00016 { 00030 class FNRENDER_API PostCommandsRenderAction : public CopyRenderAction 00031 { 00032 public: 00042 PostCommandsRenderAction(const std::string& renderTargetLocation, 00043 const std::string& tempRenderLocation, 00044 const std::vector<std::string>& postCommands); 00045 00046 virtual ~PostCommandsRenderAction() {} 00047 00048 virtual void buildAttribute(FnAttribute::GroupBuilder& builder) const; 00049 00050 void addCleanupFile(const std::string & cleanupFile); 00051 00052 protected: 00053 std::vector<std::string> _postCommands; 00054 std::vector<std::string> _cleanupFiles; 00055 }; 00056 00060 } 00061 } 00062 } 00063 00064 namespace FnKat = Foundry::Katana; 00065 00066 #endif
1.7.3