Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
IProvider Class Referenceabstract

Data Provider. More...

#include <provider.h>

Inheritance diagram for IProvider:
NullProvider

Public Types

using Ptr = std::shared_ptr<IProvider>
 ptr
 

Public Member Functions

Constructor & Destructor
 IProvider ()
 Default constructor.
 
virtual ~IProvider ()
 Destructor.
 
Search
virtual void search (IItem::Vector &out, const SearchToken::Vector &tokens, const Yuni::String &text="")=0
 Rebuild the result list from a list of tokens.
 
void redoResearch ()
 Redo the research.
 
Selection
virtual bool onSelect (IItem::Ptr &item)
 Event: an item has been selected.
 
virtual bool onSelect (const IItem::Vector &items)
 Event: a list of items have been selected (more than one)
 
virtual bool onDoubleClickSelect (IItem::Ptr &item)
 Event: an item has been selected.
 

Component

Spotlight * pSpotlightComponent
 The parent component (can be null)
 
class Spotlight
 
Spotlight * component () const
 Get the pointer of the attached component (can be null)
 

Detailed Description

Data Provider.


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