|
Antares Simulator
Power System Simulator
|
Data Provider. More...
#include <provider.h>
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) | |
Data Provider.