kanzi::DataSourceListItemGenerator< TBaseGenerator > Class Template Reference

#include <kanzi/ui/node/concept/list_box/data_source_list_item_generator.hpp>

Inheritance diagram for kanzi::DataSourceListItemGenerator< TBaseGenerator >:

Public Types

typedef shared_ptr< DataSourceListItemGenerator< TBaseGenerator > > DataSourceListItemGeneratorSharedPtr
 

Public Member Functions

virtual void attach (typename TBaseGenerator::ListBoxType &node) KZ_OVERRIDE
 
virtual void detach (typename TBaseGenerator::ListBoxType &node) KZ_OVERRIDE
 
virtual TBaseGenerator::ItemSharedPtr acquireItem (size_t index) KZ_OVERRIDE
 
virtual void releaseItem (typename TBaseGenerator::ItemSharedPtr object) KZ_OVERRIDE
 
virtual optional< size_t > getItemIndex (typename TBaseGenerator::ItemSharedPtr object) KZ_OVERRIDE
 
virtual TBaseGenerator::VectorType getItemSize (size_t index) KZ_OVERRIDE
 
virtual size_t getCount () KZ_OVERRIDE
 
virtual ~DataSourceListItemGenerator ()
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
static DataSourceListItemGeneratorSharedPtr create (Domain *domain, string_view name)
 

Protected Member Functions

 DataSourceListItemGenerator (Domain *domain)
 
DataObjectListSharedPtr updateItemsSource (typename TBaseGenerator::ListBoxType *listBox)
 
PrefabTemplateSharedPtr updateItemPrototype (typename TBaseGenerator::ListBoxType *listBox)
 
TBaseGenerator::ItemSharedPtr acquireItem (ResourceSharedPtr dataObjectResource)
 
void freeRecycledItems ()
 

Static Protected Member Functions

static ResourceSharedPtr getDataContext (Node &node)
 

Member Typedef Documentation

template<typename TBaseGenerator>
typedef shared_ptr<DataSourceListItemGenerator<TBaseGenerator> > kanzi::DataSourceListItemGenerator< TBaseGenerator >::DataSourceListItemGeneratorSharedPtr

Constructor & Destructor Documentation

template<typename TBaseGenerator >
kanzi::DataSourceListItemGenerator< TBaseGenerator >::~DataSourceListItemGenerator ( )
virtual
template<typename TBaseGenerator >
kanzi::DataSourceListItemGenerator< TBaseGenerator >::DataSourceListItemGenerator ( Domain domain)
explicitprotected

Member Function Documentation

template<typename TBaseGenerator >
PropertyTypeEditorInfoSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::makeEditorInfo ( )
static
template<typename TBaseGenerator >
DataSourceListItemGenerator< TBaseGenerator >::DataSourceListItemGeneratorSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::create ( Domain domain,
string_view  name 
)
static
template<typename TBaseGenerator>
void kanzi::DataSourceListItemGenerator< TBaseGenerator >::attach ( typename TBaseGenerator::ListBoxType &  node)
virtual
template<typename TBaseGenerator>
void kanzi::DataSourceListItemGenerator< TBaseGenerator >::detach ( typename TBaseGenerator::ListBoxType &  node)
virtual
template<typename TBaseGenerator >
TBaseGenerator::ItemSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::acquireItem ( size_t  index)
virtual
template<typename TBaseGenerator>
void kanzi::DataSourceListItemGenerator< TBaseGenerator >::releaseItem ( typename TBaseGenerator::ItemSharedPtr  object)
virtual
template<typename TBaseGenerator>
optional< size_t > kanzi::DataSourceListItemGenerator< TBaseGenerator >::getItemIndex ( typename TBaseGenerator::ItemSharedPtr  object)
virtual
template<typename TBaseGenerator >
TBaseGenerator::VectorType kanzi::DataSourceListItemGenerator< TBaseGenerator >::getItemSize ( size_t  index)
virtual
template<typename TBaseGenerator >
size_t kanzi::DataSourceListItemGenerator< TBaseGenerator >::getCount ( )
virtual
template<typename TBaseGenerator>
DataObjectListSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::updateItemsSource ( typename TBaseGenerator::ListBoxType *  listBox)
protected
template<typename TBaseGenerator>
PrefabTemplateSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::updateItemPrototype ( typename TBaseGenerator::ListBoxType *  listBox)
protected
template<typename TBaseGenerator >
TBaseGenerator::ItemSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::acquireItem ( ResourceSharedPtr  dataObjectResource)
protected
template<typename TBaseGenerator >
ResourceSharedPtr kanzi::DataSourceListItemGenerator< TBaseGenerator >::getDataContext ( Node node)
staticprotected
template<typename TBaseGenerator >
void kanzi::DataSourceListItemGenerator< TBaseGenerator >::freeRecycledItems ( )
protected

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