Choreonoid
1.8
|
#include <TargetItemPicker.h>
Public Types | |
typedef ref_ptr< ItemType > | ItemTypePtr |
Public Member Functions | |
TargetItemPicker () | |
TargetItemPicker (View *view) | |
void | setTargetPredicate (std::function< bool(ItemType *item)> predicate) |
template<class Interface > | |
void | setTargetInterface () |
ItemType * | currentItem () |
const ItemList< ItemType > & | selectedItems () |
SignalProxy< void(ItemType *targetItem)> | sigTargetItemSpecified () |
SignalProxy< void(ItemType *targetItem)> | sigTargetItemChanged () |
SignalProxy< void(const ItemList< ItemType > &selected)> | sigSelectedItemsChanged () |
Public Member Functions inherited from cnoid::TargetItemPickerBase | |
TargetItemPickerBase (View *view=nullptr) | |
~TargetItemPickerBase () | |
void | setEnabled (bool on) |
void | clearTargetItem () |
void | refresh () |
void | storeTargetItem (Archive &archive, const std::string &key) |
void | restoreTargetItem (const Archive &archive, const std::string &key) |
void | restoreTargetItemLater (const Archive &archive, const std::string &key) |
Protected Member Functions | |
virtual Item * | extractTargetItemCandidates (ItemList<> &io_items, Item *preferred, bool selectionChanged) override |
virtual bool | targetPredicate (Item *item) override |
virtual void | onTargetItemSpecified (Item *item, bool isChanged) override |
virtual void | onDeactivated () override |
Protected Member Functions inherited from cnoid::TargetItemPickerBase | |
Item * | getTargetItem () |
typedef ref_ptr<ItemType> cnoid::TargetItemPicker< ItemType >::ItemTypePtr |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements cnoid::TargetItemPickerBase.
|
inlineoverrideprotectedvirtual |
Implements cnoid::TargetItemPickerBase.
|
inlineoverrideprotectedvirtual |
Implements cnoid::TargetItemPickerBase.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements cnoid::TargetItemPickerBase.