#include <virtual_library.h>
Public Member Functions | |
| virtual | ~virtual_library () |
| we define a virtual destructor. | |
| virtual virtual_library * | create_instance (vl_data_pack ¶meters)=0 |
| this is a factory method that is required by all virtual libraries. | |
Definition at line 34 of file virtual_library.h.
| library_plugins::virtual_library::~virtual_library | ( | ) | [virtual] |
| virtual virtual_library* library_plugins::virtual_library::create_instance | ( | vl_data_pack & | parameters | ) | [pure virtual] |
this is a factory method that is required by all virtual libraries.
when the virtual_library is loaded, this function will be sought and called. the implementation must construct a new instance of the most derived type of virtual_library that it knows about. the library's implementation should ensure that the "parameters" are of the expected type. any failure should cause NIL to be returned.
1.5.1