TuttleOFX  1
tuttle::host::ofx::OfxhPluginDesc Class Reference

#include <OfxhPluginDesc.hpp>

Inheritance diagram for tuttle::host::ofx::OfxhPluginDesc:
Collaboration diagram for tuttle::host::ofx::OfxhPluginDesc:

Public Types

typedef OfxhPluginDesc This

Public Member Functions

 OfxhPluginDesc ()
 OfxhPluginDesc (const std::string &api, int apiVersion, const std::string &identifier, const std::string &rawIdentifier, int versionMajor, int versionMinor)
 OfxhPluginDesc (OfxPlugin &ofxPlugin)
virtual ~OfxhPluginDesc ()
bool operator== (const This &other) const
bool operator!= (const This &other) const
const std::string & getPluginApi () const
int getApiVersion () const
const OfxhPluginIdentgetIdentity () const
OfxhPluginIdentgetIdentity ()
const std::string & getIdentifier () const
const std::string & getRawIdentifier () const
int getVersionMajor () const
int getVersionMinor () const
std::size_t getHash () const

Protected Attributes

std::string _pluginApi
 the API I implement
int _apiVersion
 the version of the API
OfxhPluginIdent _ident
 The plugin identity.

Private Member Functions

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

Friends

class boost::serialization::access

Detailed Description

C++ version of the information kept inside an OfxPlugin struct

Definition at line 51 of file OfxhPluginDesc.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

tuttle::host::ofx::OfxhPluginDesc::OfxhPluginDesc ( )

Definition at line 9 of file OfxhPluginDesc.cpp.

tuttle::host::ofx::OfxhPluginDesc::OfxhPluginDesc ( const std::string &  api,
int  apiVersion,
const std::string &  identifier,
const std::string &  rawIdentifier,
int  versionMajor,
int  versionMinor 
)

Definition at line 13 of file OfxhPluginDesc.cpp.

tuttle::host::ofx::OfxhPluginDesc::OfxhPluginDesc ( OfxPlugin &  ofxPlugin)

constructor for the case where we have already loaded the plugin binary and are populating this object from it

Definition at line 31 of file OfxhPluginDesc.cpp.

References _ident, and tuttle::host::ofx::OfxhPluginIdent::_identifier.

tuttle::host::ofx::OfxhPluginDesc::~OfxhPluginDesc ( ) [virtual]

Definition at line 24 of file OfxhPluginDesc.cpp.


Member Function Documentation

int tuttle::host::ofx::OfxhPluginDesc::getApiVersion ( ) const [inline]

Definition at line 89 of file OfxhPluginDesc.hpp.

References _apiVersion.

Referenced by tuttle::host::ofx::OfxhPluginCache::serialize().

std::size_t tuttle::host::ofx::OfxhPluginDesc::getHash ( ) const

Definition at line 48 of file OfxhPluginDesc.cpp.

References getIdentifier(), and getVersionMajor().

Referenced by tuttle::host::ImageEffectNode::getLocalHashAtTime().

Here is the call graph for this function:

const OfxhPluginIdent& tuttle::host::ofx::OfxhPluginDesc::getIdentity ( ) const [inline]

Definition at line 94 of file OfxhPluginDesc.hpp.

References _ident.

Referenced by tuttle::host::ofx::OfxhPluginCache::addPlugin().

OfxhPluginIdent& tuttle::host::ofx::OfxhPluginDesc::getIdentity ( ) [inline]

Definition at line 99 of file OfxhPluginDesc.hpp.

References _ident.

const std::string& tuttle::host::ofx::OfxhPluginDesc::getPluginApi ( ) const [inline]

Definition at line 84 of file OfxhPluginDesc.hpp.

References _pluginApi.

Referenced by tuttle::host::ofx::OfxhPluginCache::serialize().

const std::string& tuttle::host::ofx::OfxhPluginDesc::getRawIdentifier ( ) const [inline]
bool tuttle::host::ofx::OfxhPluginDesc::operator!= ( const This other) const [inline]

Definition at line 81 of file OfxhPluginDesc.hpp.

References operator==().

Here is the call graph for this function:

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

Definition at line 39 of file OfxhPluginDesc.cpp.

References _apiVersion, _ident, and _pluginApi.

Referenced by operator!=().

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

Friends And Related Function Documentation

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

Field Documentation

the version of the API

Definition at line 58 of file OfxhPluginDesc.hpp.

Referenced by getApiVersion(), operator==(), and serialize().

the API I implement

Definition at line 57 of file OfxhPluginDesc.hpp.

Referenced by getPluginApi(), operator==(), and serialize().


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