Rhino C++ API
8.14
|
#include <RhinoSdkPlugInManager.h>
Public Member Functions | |
CRhinoPlugInInfo ()=default | |
CRhinoPlugInInfo (const CRhinoPlugInInfo &src)=default | |
CRhinoPlugInInfo (const wchar_t *organization, const wchar_t *address, const wchar_t *country, const wchar_t *phone, const wchar_t *email, const wchar_t *website, const wchar_t *update_url, unsigned int sdk_version, unsigned int sdk_service_release, const wchar_t *fax, const wchar_t *plugin_path) | |
~CRhinoPlugInInfo ()=default | |
const ON_wString | Address () const |
const ON_wString | Country () const |
const ON_wString | EMail () const |
const ON_wString | Fax () const |
bool | GetPlugInId (ON_UUID &plugin_id) const |
bool | HasRequiredFields () const |
CRhinoPlugInInfo & | operator= (const CRhinoPlugInInfo &)=default |
const ON_wString | Organization () const |
const ON_wString | Phone () const |
const ON_wString | PlugInDescription () const |
unsigned int | PlugInIconResourceId () const |
const ON_wString | PlugInIconResourceName () const |
const ON_wString | PlugInPath () const |
const ON_wString | PlugInShortName () const |
const ON_wString | PlugInVersion () const |
const ON_wString | RuiFile () const |
const ON_wString | RuiLibraryFile () const |
unsigned int | SDKServiceRelease () const |
unsigned int | SDKVersion () const |
void | SetPlugInDescription (const wchar_t *plugin_description) |
void | SetPlugInIconResourceName (const wchar_t *plugin_icon_resource_name) |
void | SetPlugInId (ON_UUID plugin_id) |
void | SetPlugInShortName (const wchar_t *plugin_short_name) |
void | SetPlugInVersion (const wchar_t *plugin_version) |
const ON_wString | UpdateURL () const |
const ON_wString | WebSite () const |
Public Attributes | |
unsigned int | m_nSDKServiceRelease = 0 |
unsigned int | m_nSDKVersion = 0 |
ON_wString | m_wAddress |
ON_wString | m_wCountry |
ON_wString | m_wEMail |
ON_wString | m_wFax |
Optional fields. More... | |
ON_wString | m_wOrganization |
Required fields. More... | |
ON_wString | m_wPhone |
ON_wString | m_wPlugInPath |
ON_wString | m_wUpdateURL |
ON_wString | m_wWebSite |
Friends | |
class | CRhPlugInManager |
Copyright (c) 1993-2017 Robert McNeel & Associates. All rights reserved. Rhinoceros is a registered trademark of Robert McNeel & Associates.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. Stores information extracted from plug-in, or RHP, file.
|
default |
|
default |
|
default |
CRhinoPlugInInfo::CRhinoPlugInInfo | ( | const wchar_t * | organization, |
const wchar_t * | address, | ||
const wchar_t * | country, | ||
const wchar_t * | phone, | ||
const wchar_t * | email, | ||
const wchar_t * | website, | ||
const wchar_t * | update_url, | ||
unsigned int | sdk_version, | ||
unsigned int | sdk_service_release, | ||
const wchar_t * | fax, | ||
const wchar_t * | plugin_path | ||
) |
const ON_wString CRhinoPlugInInfo::Address | ( | ) | const |
Description: The address of the organization which created this plug-in.
const ON_wString CRhinoPlugInInfo::Country | ( | ) | const |
Description: The country of the organization which created this plug-in.
const ON_wString CRhinoPlugInInfo::EMail | ( | ) | const |
Description: The support e-mail address of the organization which created this plug-in.
const ON_wString CRhinoPlugInInfo::Fax | ( | ) | const |
Description: The fax number of the organization which created this plug-in.
bool CRhinoPlugInInfo::GetPlugInId | ( | ON_UUID & | plugin_id | ) | const |
Description: Plug-ins have an extern "C" function that returns the plug-in id. If the plug-in has that function, then GetPlugInId() will return true and set plugin_id to the value of the id. If the plug-in does not export this function, then GetPlugInId() will return false and set plugin_id to ON_nil_uuid.
bool CRhinoPlugInInfo::HasRequiredFields | ( | ) | const |
Description: Function used to validate information extracted from a plug-in. Returns: Return true if plug-in contains information required to load and register.
|
default |
const ON_wString CRhinoPlugInInfo::Organization | ( | ) | const |
Description: The organization which created this plug-in.
const ON_wString CRhinoPlugInInfo::Phone | ( | ) | const |
Description: The phone number of the organization which created this plug-in.
const ON_wString CRhinoPlugInInfo::PlugInDescription | ( | ) | const |
Description: Plug-ins have an extern "C" function that returns the plug-in's description that is displayed in the user interface. If the plug-in has this function, then PlugInDescription() will return a that string. If the plug-in is does not export this function, then PlugInDescription() will return an empty string.
unsigned int CRhinoPlugInInfo::PlugInIconResourceId | ( | ) | const |
Description: Plug-ins have an extern "C" function that returns the resource id of the plug-in's icon that is displayed in the user interface. If the plug-in has this function, then PlugInIconResourceId() will return that resource id. If the plug-in is does not export this function, then PlugInIconResourceId() will return 0.
const ON_wString CRhinoPlugInInfo::PlugInIconResourceName | ( | ) | const |
Description: .NET plug-ins can have a custom assembly attribute, PlugInDescriptionAttribute.Icon, that returns the resource name of the icon. If the plug-in has this attribute, then PlugInIconResourceName() will return that resource name. If the plug-in is does not have this attribute, then PlugInIconResourceName() will return an empty string.
const ON_wString CRhinoPlugInInfo::PlugInPath | ( | ) | const |
Description: The full path to plug-in assembly, DLL, or RHP file.
const ON_wString CRhinoPlugInInfo::PlugInShortName | ( | ) | const |
Description: Plug-ins have an extern "C" function that returns the plug-in's short name that is displayed in the user interface. If the plug-in has this function, then PlugInShortName() will return that string. If the plug-in does not export this function, then PlugInShortName() will return an empty string.
const ON_wString CRhinoPlugInInfo::PlugInVersion | ( | ) | const |
Description: Plug-ins have an extern "C" function that returns the plug-in's version that is displayed in the user interface. If the plug-in has this function, then PlugInVersion() will return a that string. If the plug-in is does not export this function, then PlugInVersion() will return an empty string.
const ON_wString CRhinoPlugInInfo::RuiFile | ( | ) | const |
Description: Plug-ins can have a user interface, or RUI, file which contains custom toolbar and menus. If this is the case, then an entry in the plug-in's registry key will exist and it points to an existing RUI file that will be loaded when Rhino starts. If a user closes the file at some point it will not get loaded unless the user runs the ToolbarReset command.
const ON_wString CRhinoPlugInInfo::RuiLibraryFile | ( | ) | const |
Description: Plug-ins can have a user interface, or RUI, file which contains custom toolbar and menus. If this is the case, then an entry in the plug-in's registry key may exist that poinst to a file will be loaded as a macro library.
unsigned int CRhinoPlugInInfo::SDKServiceRelease | ( | ) | const |
Description: The minimum service release version the plug-in requires. The SDK service release must be <= CRhinoApp::SdkServiceRelease() or the plug-in will not load. Remarks: Use ON_VersionNumberParse() to get major, minor, year, month, day of month and branch information from this version number.
unsigned int CRhinoPlugInInfo::SDKVersion | ( | ) | const |
Description: The version of the SDK that the plug-in requires. The SDK version must exactly match CRhinoApp::SdkVersion() or the plug-in will not load. Remarks: Use ON_VersionNumberParse() to get major, minor, year, month, day of month and branch information from this version number.
void CRhinoPlugInInfo::SetPlugInDescription | ( | const wchar_t * | plugin_description | ) |
void CRhinoPlugInInfo::SetPlugInIconResourceName | ( | const wchar_t * | plugin_icon_resource_name | ) |
void CRhinoPlugInInfo::SetPlugInId | ( | ON_UUID | plugin_id | ) |
void CRhinoPlugInInfo::SetPlugInShortName | ( | const wchar_t * | plugin_short_name | ) |
void CRhinoPlugInInfo::SetPlugInVersion | ( | const wchar_t * | plugin_version | ) |
const ON_wString CRhinoPlugInInfo::UpdateURL | ( | ) | const |
Description: The web address, or URL, that can be used to update the plug-in.
const ON_wString CRhinoPlugInInfo::WebSite | ( | ) | const |
Description: The web address, or URL, of the organization which created this plug-in.
|
friend |
unsigned int CRhinoPlugInInfo::m_nSDKServiceRelease = 0 |
unsigned int CRhinoPlugInInfo::m_nSDKVersion = 0 |
ON_wString CRhinoPlugInInfo::m_wAddress |
ON_wString CRhinoPlugInInfo::m_wCountry |
ON_wString CRhinoPlugInInfo::m_wEMail |
ON_wString CRhinoPlugInInfo::m_wFax |
Optional fields.
ON_wString CRhinoPlugInInfo::m_wOrganization |
Required fields.
ON_wString CRhinoPlugInInfo::m_wPhone |
ON_wString CRhinoPlugInInfo::m_wPlugInPath |
ON_wString CRhinoPlugInInfo::m_wUpdateURL |
ON_wString CRhinoPlugInInfo::m_wWebSite |