TuttleOFX  1
ofxsCore.h File Reference
#include "ofxsMemory.h"
#include <ofxCore.h>
#include <ofxImageEffect.h>
#include <ofxInteract.h>
#include <ofxKeySyms.h>
#include <ofxMemory.h>
#include <ofxMessage.h>
#include <ofxMultiThread.h>
#include <ofxParam.h>
#include <ofxProperty.h>
#include <tuttle/common/utils/backtrace.hpp>
#include <tuttle/common/exceptions.hpp>
#include <cmath>
#include <cassert>
#include <vector>
#include <string>
#include <map>
#include <exception>
#include <stdexcept>
#include <sstream>
#include <ostream>
Include dependency graph for ofxsCore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  OFX::Exception::Suite
 thrown when a suite returns a failure status code More...
class  OFX::Exception::PropertyUnknownToHost
 Exception indicating that a host doesn't know about a property that is should do. More...
class  OFX::Exception::PropertyValueIllegalToHost
 exception indicating that the host thinks a property has an illegal value More...
class  OFX::Exception::TypeRequest
 exception indicating a request for a named thing exists (eg: a param), but is of the wrong type, should never make it back to the main entry indicates a logical error in the code. Asserts are raised in debug code in these situations. More...
class  OFX::Exception::HostInadequate
 exception indicating a required host feature is missing More...
class  OFX::PropertySet
 This class wraps up an OFX property set. More...

Namespaces

namespace  OFX
 

The core 'OFX Support' namespace, used by plugin implementations. All code for these are defined in the common support libraries.


namespace  OFX::Exception
 

namespace for OFX support lib exceptions, all derive from std::exception, calling it


Defines

#define mDeclareProtectedAssignAndCC(CLASS)
 Nasty macro used to define empty protected copy ctors and assign ops.

Enumerations

enum  OFX::PropertyTypeEnum { OFX::ePointer, OFX::eInt, OFX::eString, OFX::eDouble }
 Enumerates the different types a property can be. More...
enum  OFX::InstanceChangeReason { OFX::eChangeUserEdit, OFX::eChangePluginEdit, OFX::eChangeTime }
 Enumerates the reasons a plug-in instance may have had one of its values changed. More...

Functions

bool operator== (const OfxRectI &a, const OfxRectI &b)
bool operator!= (const OfxRectI &a, const OfxRectI &b)
bool operator== (const OfxRangeI &a, const OfxRangeI &b)
bool operator!= (const OfxRangeI &a, const OfxRangeI &b)
bool operator== (const OfxRangeD &a, const OfxRangeD &b)
bool operator!= (const OfxRangeD &a, const OfxRangeD &b)
bool operator== (const OfxPointI &a, const OfxPointI &b)
bool operator!= (const OfxPointI &a, const OfxPointI &b)
OfxPointDoperator+= (OfxPointD &p1, const OfxPointD &p2)
OfxPointDoperator+= (OfxPointD &p, const double v)
OfxPointDoperator-= (OfxPointD &p1, const OfxPointD &p2)
OfxPointDoperator-= (OfxPointD &p, const double v)
OfxPointDoperator/= (OfxPointD &p1, const OfxPointD &p2)
OfxPointDoperator/= (OfxPointD &p, const double v)
OfxPointDoperator*= (OfxPointD &p1, const OfxPointD &p2)
OfxPointDoperator*= (OfxPointD &p, const double v)
bool operator== (const OfxPointD &p1, const OfxPointD &p2)
bool operator!= (const OfxPointD &p1, const OfxPointD &p2)
OfxPointD operator+ (const OfxPointD &p1, const OfxPointD &p2)
OfxPointD operator+ (const OfxPointD &p, const double t)
OfxPointD operator- (const OfxPointD &p)
OfxPointD operator- (const OfxPointD &p1, const OfxPointD &p2)
OfxPointD operator- (const OfxPointD &p, const double t)
OfxPointD operator* (const double t, const OfxPointD &p)
OfxPointD operator* (const OfxPointD &p, const double t)
OfxPointD operator* (const OfxPointD &a, const OfxPointD &b)
OfxPointD operator/ (const OfxPointD &a, const OfxPointD &b)
OfxPointD operator/ (const OfxPointD &p, const double t)
OfxPointD operator/ (const double t, const OfxPointD &p)
OfxRectI rectDoubleToInt (const OfxRectD &r)
OfxRectD rectIntToDouble (const OfxRectI &r)
std::string OFX::mapStatusToString (const OfxStatus stat)
 maps a status to a string for debugging purposes, note a c-str for printf
void OFX::throwSuiteStatusException (OfxStatus stat)
 Throws an OFX::Exception::Suite depending on the status flag passed in.
void OFX::throwHostMissingSuiteException (const std::string &name)

Define Documentation

#define mDeclareProtectedAssignAndCC (   CLASS)
Value:
CLASS& operator=( const CLASS& v1 ) { assert( false ); return *this; }  \
    CLASS( const CLASS &v ) { assert( false ); }

Nasty macro used to define empty protected copy ctors and assign ops.

Definition at line 199 of file ofxsCore.h.


Function Documentation

bool operator!= ( const OfxRectI a,
const OfxRectI b 
) [inline]

Definition at line 121 of file ofxsCore.h.

References OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

bool operator!= ( const OfxRangeI a,
const OfxRangeI b 
) [inline]

Definition at line 125 of file ofxsCore.h.

References OfxRangeI::max, and OfxRangeI::min.

bool operator!= ( const OfxRangeD a,
const OfxRangeD b 
) [inline]

Definition at line 128 of file ofxsCore.h.

References OfxRangeD::max, and OfxRangeD::min.

bool operator!= ( const OfxPointI a,
const OfxPointI b 
) [inline]

Definition at line 131 of file ofxsCore.h.

References OfxPointI::x, and OfxPointI::y.

bool operator!= ( const OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 143 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator* ( const double  t,
const OfxPointD p 
) [inline]

Definition at line 149 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator* ( const OfxPointD p,
const double  t 
) [inline]

Definition at line 150 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator* ( const OfxPointD a,
const OfxPointD b 
) [inline]

Definition at line 151 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator*= ( OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 139 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator*= ( OfxPointD p,
const double  v 
) [inline]

Definition at line 140 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator+ ( const OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 144 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator+ ( const OfxPointD p,
const double  t 
) [inline]

Definition at line 145 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator+= ( OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 133 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator+= ( OfxPointD p,
const double  v 
) [inline]

Definition at line 134 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator- ( const OfxPointD p) [inline]

Definition at line 146 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator- ( const OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 147 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator- ( const OfxPointD p,
const double  t 
) [inline]

Definition at line 148 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator-= ( OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 135 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator-= ( OfxPointD p,
const double  v 
) [inline]

Definition at line 136 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator/ ( const OfxPointD a,
const OfxPointD b 
) [inline]

Definition at line 152 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator/ ( const OfxPointD p,
const double  t 
) [inline]

Definition at line 153 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD operator/ ( const double  t,
const OfxPointD p 
) [inline]

Definition at line 168 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator/= ( OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 137 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxPointD& operator/= ( OfxPointD p,
const double  v 
) [inline]

Definition at line 138 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

bool operator== ( const OfxRectI a,
const OfxRectI b 
) [inline]

Definition at line 119 of file ofxsCore.h.

References OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

bool operator== ( const OfxRangeI a,
const OfxRangeI b 
) [inline]

Definition at line 124 of file ofxsCore.h.

References OfxRangeI::max, and OfxRangeI::min.

bool operator== ( const OfxRangeD a,
const OfxRangeD b 
) [inline]

Definition at line 127 of file ofxsCore.h.

References OfxRangeD::max, and OfxRangeD::min.

bool operator== ( const OfxPointI a,
const OfxPointI b 
) [inline]

Definition at line 130 of file ofxsCore.h.

References OfxPointI::x, and OfxPointI::y.

bool operator== ( const OfxPointD p1,
const OfxPointD p2 
) [inline]

Definition at line 142 of file ofxsCore.h.

References OfxPointD::x, and OfxPointD::y.

OfxRectI rectDoubleToInt ( const OfxRectD r) [inline]