TuttleOFX  1
tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor Class Reference

#include <OfxhImageEffectNodeDescriptor.hpp>

Inheritance diagram for tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor:
Collaboration diagram for tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor:

Public Types

typedef
OfxhImageEffectNodeDescriptor 
This
typedef std::map< std::string,
attribute::OfxhClipImageDescriptor * > 
ClipImageDescriptorMap
typedef boost::ptr_vector
< attribute::OfxhClipImageDescriptor
ClipImageDescriptorVector

Public Member Functions

 OfxhImageEffectNodeDescriptor (OfxhPlugin &plug)
 used to construct the global description
 OfxhImageEffectNodeDescriptor (const OfxhImageEffectNodeDescriptor &rootContext, OfxhPlugin &plug)
 used to construct a context description, 'other' is the main context
 OfxhImageEffectNodeDescriptor (const std::string &bundlePath, OfxhPlugin &plug)
 used to construct populate the cache
virtual ~OfxhImageEffectNodeDescriptor ()
 dtor
bool operator== (const This &other) const
bool operator!= (const This &other) const
property::OfxhSetgetParamSetProps ()
 implemented for ParamDescriptorSet
OfxhPlugingetPlugin () const
 get the plugin I belong to
virtual
attribute::OfxhClipImageDescriptor
defineClip (const std::string &name)
 create a new clip and add this to the clip map
const ClipImageDescriptorMapgetClips () const
 get the clips
void addClip (const std::string &name, attribute::OfxhClipImageDescriptor *clip)
 add a new clip
const ClipImageDescriptorVectorgetClipsByOrder () const
 get the clips in order of construction
ClipImageDescriptorVectorgetClipsByOrder ()
 get the clips in order of construction
const
interact::OfxhInteractDescriptor
getOverlayDescriptor () const
void initOverlayDescriptor (int bitDepthPerComponent=8, bool hasAlpha=false)

Protected Attributes

OfxhPlugin_plugin
 the plugin I belong to
ClipImageDescriptorMap _clips
 clips descriptors by name
ClipImageDescriptorVector _clipsByOrder
 clip descriptors in order of declaration
interact::OfxhInteractDescriptor _overlayDescriptor
 descriptor to use for overlays, it has delayed description

Private Member Functions

 OfxhImageEffectNodeDescriptor (const OfxhImageEffectNodeDescriptor &other)
 OfxhImageEffectNodeDescriptor ()
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

an image effect plugin descriptor

Definition at line 20 of file OfxhImageEffectNodeDescriptor.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::OfxhImageEffectNodeDescriptor ( const OfxhImageEffectNodeDescriptor other) [inline, private]

Definition at line 38 of file OfxhImageEffectNodeDescriptor.hpp.

tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::OfxhImageEffectNodeDescriptor ( ) [private]
Todo:
tuttle...

Definition at line 45 of file OfxhImageEffectNodeDescriptor.cpp.

tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::OfxhImageEffectNodeDescriptor ( const OfxhImageEffectNodeDescriptor rootContext,
OfxhPlugin plug 
)
tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::OfxhImageEffectNodeDescriptor ( const std::string &  bundlePath,
OfxhPlugin plug 
)
tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::~OfxhImageEffectNodeDescriptor ( ) [virtual]

dtor

Definition at line 76 of file OfxhImageEffectNodeDescriptor.cpp.


Member Function Documentation

void tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::addClip ( const std::string &  name,
attribute::OfxhClipImageDescriptor clip 
)

add a new clip

Definition at line 113 of file OfxhImageEffectNodeDescriptor.cpp.

References _clips, and _clipsByOrder.

attribute::OfxhClipImageDescriptor * tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::defineClip ( const std::string &  name) [virtual]

create a new clip and add this to the clip map

Definition at line 91 of file OfxhImageEffectNodeDescriptor.cpp.

References _clips, and _clipsByOrder.

const ClipImageDescriptorMap& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getClips ( ) const [inline]

get the clips

Definition at line 74 of file OfxhImageEffectNodeDescriptor.hpp.

References _clips.

Referenced by tuttle::host::ofx::imageEffect::operator<<().

const ClipImageDescriptorVector& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getClipsByOrder ( ) const [inline]

get the clips in order of construction

Definition at line 80 of file OfxhImageEffectNodeDescriptor.hpp.

References _clipsByOrder.

ClipImageDescriptorVector& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getClipsByOrder ( ) [inline]

get the clips in order of construction

Definition at line 83 of file OfxhImageEffectNodeDescriptor.hpp.

References _clipsByOrder.

const interact::OfxhInteractDescriptor& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getOverlayDescriptor ( ) const [inline]
Todo:
tuttle some modifs here... doc needs updates... Get the interact description, this will also call describe on the interact This will return NULL if there is not main entry point or if the description failed otherwise it will return the described overlay

Definition at line 91 of file OfxhImageEffectNodeDescriptor.hpp.

References _overlayDescriptor.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getOverlayDescriptor().

property::OfxhSet& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getParamSetProps ( ) [inline, virtual]
OfxhPlugin& tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::getPlugin ( ) const [inline]

get the plugin I belong to

Definition at line 68 of file OfxhImageEffectNodeDescriptor.hpp.

References _plugin.

void tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::initOverlayDescriptor ( int  bitDepthPerComponent = 8,
bool  hasAlpha = false 
)
bool tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::operator!= ( const This other) const [inline]

Reimplemented from tuttle::host::ofx::attribute::OfxhParamSetDescriptor.

Definition at line 59 of file OfxhImageEffectNodeDescriptor.hpp.

References operator==().

Here is the call graph for this function:

bool tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::operator== ( const This other) const

Reimplemented from tuttle::host::ofx::attribute::OfxhParamSetDescriptor.

Definition at line 79 of file OfxhImageEffectNodeDescriptor.cpp.

References _clipsByOrder.

Referenced by operator!=().

template<class Archive >
void tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::serialize ( Archive &  ar,
const unsigned int  version 
) [inline, private]

Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Field Documentation

descriptor to use for overlays, it has delayed description

Todo:
tuttle: remove mutable

Definition at line 34 of file OfxhImageEffectNodeDescriptor.hpp.

Referenced by getOverlayDescriptor(), and initOverlayDescriptor().

the plugin I belong to

Definition at line 31 of file OfxhImageEffectNodeDescriptor.hpp.

Referenced by getPlugin().


The documentation for this class was generated from the following files: