neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::DesignStudio::element_library_plugin< ElementLibrary > Class Template Reference

#include <element_library_plugin.hpp>

Inheritance diagram for neogfx::DesignStudio::element_library_plugin< ElementLibrary >:
neolib::reference_counted< neolib::i_plugin > neolib::i_plugin neolib::i_discoverable neolib::i_reference_counted

Public Types

typedef ElementLibrary library_type
 
- Public Types inherited from neolib::i_plugin
typedef i_plugin abstract_type
 

Public Member Functions

 element_library_plugin (neolib::i_application &aApplication, const neolib::uuid &aId=library_type::library_id(), std::string const &aName=library_type::library_name(), std::string const &aDescription=library_type::library_description(), const neolib::version &aVersion=library_type::library_version(), std::string const &aCopyright=library_type::library_copyright())
 
bool discover (const neolib::uuid &aId, void *&aObject) override
 
const neolib::uuidid () const override
 
const neolib::i_stringname () const override
 
const neolib::i_stringdescription () const override
 
const neolib::i_versionversion () const override
 
const neolib::i_stringcopyright () const override
 
bool load () override
 
bool unload () override
 
bool loaded () const override
 
bool open_uri (const neolib::i_string &aUri) override
 
- Public Member Functions inherited from neolib::reference_counted< neolib::i_plugin >
 reference_counted () noexcept
 
 reference_counted (const reference_counted &aOther) noexcept
 
 ~reference_counted ()
 
reference_countedoperator= (const reference_counted &)
 
void add_ref () const noexcept override
 
void release () const override
 
int32_t use_count () const noexcept override
 
const base_typerelease_and_take_ownership () const override
 
base_typerelease_and_take_ownership () override
 
void pin () const noexcept override
 
void unpin () const override
 
i_ref_control_blockcontrol_block () override
 
- Public Member Functions inherited from neolib::i_discoverable
template<typename Interface >
bool discover (i_ref_ptr< Interface > &aObject)
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 

Detailed Description

template<typename ElementLibrary>
class neogfx::DesignStudio::element_library_plugin< ElementLibrary >

Definition at line 33 of file element_library_plugin.hpp.

Member Typedef Documentation

◆ library_type

template<typename ElementLibrary >
typedef ElementLibrary neogfx::DesignStudio::element_library_plugin< ElementLibrary >::library_type

Definition at line 36 of file element_library_plugin.hpp.

Constructor & Destructor Documentation

◆ element_library_plugin()

template<typename ElementLibrary >
neogfx::DesignStudio::element_library_plugin< ElementLibrary >::element_library_plugin ( neolib::i_application aApplication,
const neolib::uuid aId = library_type::library_id(),
std::string const &  aName = library_type::library_name(),
std::string const &  aDescription = library_type::library_description(),
const neolib::version aVersion = library_type::library_version(),
std::string const &  aCopyright = library_type::library_copyright() 
)
inline

Definition at line 38 of file element_library_plugin.hpp.

Member Function Documentation

◆ copyright()

template<typename ElementLibrary >
const neolib::i_string & neogfx::DesignStudio::element_library_plugin< ElementLibrary >::copyright ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 83 of file element_library_plugin.hpp.

◆ description()

template<typename ElementLibrary >
const neolib::i_string & neogfx::DesignStudio::element_library_plugin< ElementLibrary >::description ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 75 of file element_library_plugin.hpp.

◆ discover()

template<typename ElementLibrary >
bool neogfx::DesignStudio::element_library_plugin< ElementLibrary >::discover ( const neolib::uuid aId,
void *&  aObject 
)
inlineoverridevirtual

Implements neolib::i_discoverable.

Definition at line 55 of file element_library_plugin.hpp.

◆ id()

template<typename ElementLibrary >
const neolib::uuid & neogfx::DesignStudio::element_library_plugin< ElementLibrary >::id ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 67 of file element_library_plugin.hpp.

◆ load()

template<typename ElementLibrary >
bool neogfx::DesignStudio::element_library_plugin< ElementLibrary >::load ( )
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 87 of file element_library_plugin.hpp.

◆ loaded()

template<typename ElementLibrary >
bool neogfx::DesignStudio::element_library_plugin< ElementLibrary >::loaded ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 97 of file element_library_plugin.hpp.

◆ name()

template<typename ElementLibrary >
const neolib::i_string & neogfx::DesignStudio::element_library_plugin< ElementLibrary >::name ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 71 of file element_library_plugin.hpp.

◆ open_uri()

template<typename ElementLibrary >
bool neogfx::DesignStudio::element_library_plugin< ElementLibrary >::open_uri ( const neolib::i_string aUri)
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 101 of file element_library_plugin.hpp.

◆ unload()

template<typename ElementLibrary >
bool neogfx::DesignStudio::element_library_plugin< ElementLibrary >::unload ( )
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 92 of file element_library_plugin.hpp.

◆ version()

template<typename ElementLibrary >
const neolib::i_version & neogfx::DesignStudio::element_library_plugin< ElementLibrary >::version ( ) const
inlineoverridevirtual

Implements neolib::i_plugin.

Definition at line 79 of file element_library_plugin.hpp.


The documentation for this class was generated from the following file: