Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Wraps around a third-party plugin, such that it can be messaged or otherwise manipulated. More...
#include <hdicoreThirdPartyPlugin.h>
Public Types | |
enum | Options { NoOptions = 0 , AutoSelectsResultsOption = 1 << 0 , RetainsPartialPathSelectionOption = 1 << 1 } |
Identifies the configuration of various plug-in behaviors. | |
Public Member Functions | |
ThirdPartyPlugin () | |
Constructs an empty ThirdPartyPlugin object. | |
ThirdPartyPlugin (const ThirdPartyPlugin &p_) | |
Constructs a new ThirdPartyPlugin object from an existing ThirdPartyPlugin object (copy constructor) | |
virtual | ~ThirdPartyPlugin () |
Destructs a ThirdPartyPlugin object. | |
virtual ThirdPartyPlugin & | operator= (const ThirdPartyPlugin &rhs_) |
Assigns one ThirdPartyPlugin object to another. | |
virtual bool | operator== (const ThirdPartyPlugin &rhs_) const |
Tests whether a given ThirdPartyPlugin object is the same as another. | |
virtual bool | operator!= (const ThirdPartyPlugin &rhs_) const |
Tests whether a given ThirdPartyPlugin object is not the same as another. | |
virtual SPPluginRef | spPluginRef () const |
Gets the plugin ref around which this object is wrapped. | |
virtual bool | isEmpty () const |
Gets whether the target ThirdPartyPlugin object is empty (constructed with the default ctor) | |
virtual std::string | filePath () const |
Gets the full path of the plugin file at runtime. | |
virtual std::string | fileName () const |
Gets the name of the plugin file at runtime. | |
virtual std::string | name () const |
Gets the plugin name. | |
virtual Options | options () const |
Gets the plugin's options. | |
virtual bool | started () const |
Gets whether the plugin has started. | |
virtual bool | broken () const |
Gets whether the plugin has reported an error condition that makes it unavailable. | |
virtual bool | prepMessageData (SPMessageData &message__) const |
Initializes a message to be sent to the target plugin with message() | |
virtual SPErr | message (const std::string &caller_, const std::string &selector_, SPMessageData *const message_, SPErr &result__) const |
Sends a message to the target plugin. | |
virtual bool | cleanMessageData (SPMessageData &message__) const |
Destroys a message that has already been sent to the target plugin with message() | |
Friends | |
aip::ThirdPartyPlugin * | __accessImpl (const ThirdPartyPlugin &) |
ThirdPartyPlugin | __accessCtor (aip::ThirdPartyPlugin *&) |
Wraps around a third-party plugin, such that it can be messaged or otherwise manipulated.
hdi::core::ThirdPartyPlugin::ThirdPartyPlugin | ( | ) |
Constructs an empty ThirdPartyPlugin object.
hdi::core::ThirdPartyPlugin::ThirdPartyPlugin | ( | const ThirdPartyPlugin & | p_ | ) |
Constructs a new ThirdPartyPlugin object from an existing ThirdPartyPlugin object (copy constructor)
p_ | Existing ThirdPartyPlugin object |
|
virtual |
Destructs a ThirdPartyPlugin object.
|
virtual |
Gets whether the plugin has reported an error condition that makes it unavailable.
|
virtual |
Destroys a message that has already been sent to the target plugin with message()
message__ | A reference to an existent SPMessageData object that needs to be cleaned up |
|
virtual |
Gets the name of the plugin file at runtime.
|
virtual |
Gets the full path of the plugin file at runtime.
|
virtual |
Gets whether the target ThirdPartyPlugin object is empty (constructed with the default ctor)
|
virtual |
Sends a message to the target plugin.
caller_ | Caller to send to the plugin |
selector_ | Selector for caller_ to send to the plugin |
message_ | Message data to send to the plugin. See notes. |
result__ | Return-by-reference for the output error from the target plugin |
|
virtual |
Gets the plugin name.
|
virtual |
Tests whether a given ThirdPartyPlugin object is not the same as another.
rhs_ | ThirdPartyPlugin to compare against (righthand side of inequality operator) |
|
virtual |
Assigns one ThirdPartyPlugin object to another.
rhs_ | Existing ThirdPartyPlugin object to copy values from |
|
virtual |
Tests whether a given ThirdPartyPlugin object is the same as another.
rhs_ | ThirdPartyPlugin to compare against (righthand side of equality operator) |
|
virtual |
Gets the plugin's options.
|
virtual |
Initializes a message to be sent to the target plugin with message()
message__ | A reference to an existent SPMessageData object that needs to be initialized |
|
virtual |
Gets the plugin ref around which this object is wrapped.
|
virtual |
Gets whether the plugin has started.