TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/ofx/attribute/OfxhParamSetAccessor.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_HOST_OFX_PARAM_PARAMSETACCESSOR_HPP_
00002 #define _TUTTLE_HOST_OFX_PARAM_PARAMSETACCESSOR_HPP_
00003 
00004 #include <tuttle/host/ofx/property/OfxhSet.hpp>
00005 
00006 #include <ofxParam.h>
00007 
00008 namespace tuttle {
00009 namespace host {
00010 namespace ofx {
00011 namespace attribute {
00012 
00013 /// base class to the param set instance and param set descriptor
00014 class OfxhParamSetAccessor
00015 {
00016 public:
00017         virtual ~OfxhParamSetAccessor() = 0;
00018 
00019         /// obtain a handle on this set for passing to the C api
00020         virtual OfxParamSetHandle getParamSetHandle() const = 0;
00021 
00022         /// get the property handle that lives with the set
00023         /// The plugin descriptor/instance that derives from
00024         /// this will provide this.
00025         virtual property::OfxhSet& getParamSetProps() = 0;
00026 };
00027 
00028 }
00029 }
00030 }
00031 }
00032 
00033 #endif