Katana Plug-in APIs 0.1

FileLocation.h

00001 // Copyright (c) 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
00002 
00003 #ifndef INCLUDED_FILELOCATION_H
00004 #define INCLUDED_FILELOCATION_H
00005 
00006 #include <FnAttribute/FnAttribute.h>
00007 #include <FnRenderOutputLocation/plugin/FnRenderOutputLocationPlugin.h>
00008 
00009 
00010 class FileLocation : public Foundry::Katana::FnRenderOutputLocationPlugin
00011 {
00012 public:
00013     FileLocation();
00014     virtual ~FileLocation();
00015 
00016     static FnAttribute::GroupAttribute getLocationSettingsAttr(
00017             const std::string & outputType,
00018             const FnAttribute::GroupAttribute & incomingOutputAttr);
00019 
00020     virtual std::string computeFilePath(
00021             const FnAttribute::GroupAttribute & outputAttrs,
00022             const FnAttribute::GroupAttribute & locationAttrs,
00023             const FnAttribute::GroupAttribute & renderSettingsAttrs,
00024             const FnAttribute::GroupAttribute & imageInfo,
00025             bool makeVersionTemplate);
00026 
00027     virtual std::string computeLocation(
00028             const FnAttribute::GroupAttribute & outputAttrs,
00029             const FnAttribute::GroupAttribute & locationAttrs,
00030             const FnAttribute::GroupAttribute & renderSettingsAttrs,
00031             const FnAttribute::GroupAttribute & imageInfo);
00032 
00033     static Foundry::Katana::FnRenderOutputLocationPlugin * create();
00034 };
00035 
00036 #endif  // INCLUDED_FILELOCATION_H
 All Classes Functions Variables Typedefs Enumerations Enumerator