#include <Description.h>
Public Types | |
typedef Node *(* | NodeBuilder) (void *) |
typedef std::vector< Description * > | DescriptionList |
Public Attributes | |
const char * | compiled |
const char * | plugin |
License * | license |
Protected Member Functions | |
void | ctor (void(*f)(Description *)) |
void | ctor (void(*f)(Description *), NodeBuilder nodeBuilder) |
Describes an object provided by a plugin. Each different class of object has it's own subclass of Description. The base class mostly provides licensing check information. Writers of plugins can take advantage of this to prevent their plugin from working on unauthorized systems.
|
inlineprotected |
Subclasses should call this as part of their constructor. These constructors should be written in-line so that the compile-time information is inserted into the description.
The function f will be called if license is null or if the license check works.
Referenced by slr::SlrPlugin::Description::Description().
const char* DD::Image::Description::compiled |
Date and DD_IMAGE_VERSION_LONG this was compiled for
Referenced by slr::SlrPlugin::Description::Description().
const char* DD::Image::Description::plugin |
Set to the plugin filename
License* DD::Image::Description::license |
If non-null, license check is run
Referenced by slr::SlrPlugin::Description::Description().
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |