Choreonoid
1.8
|
#include <TargetItemPicker.h>
Public Member Functions | |
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 | |
Item * | getTargetItem () |
virtual Item * | extractTargetItemCandidates (ItemList<> &io_items, Item *preferred, bool selectionChanged)=0 |
virtual bool | targetPredicate (Item *item)=0 |
virtual void | onTargetItemSpecified (Item *item, bool isChanged)=0 |
virtual void | onDeactivated ()=0 |
TargetItemPickerBase::TargetItemPickerBase | ( | View * | view = nullptr | ) |
TargetItemPickerBase::~TargetItemPickerBase | ( | ) |
void TargetItemPickerBase::clearTargetItem | ( | ) |
|
protectedpure virtual |
Implemented in cnoid::TargetItemPicker< ItemType >, cnoid::TargetItemPicker< cnoid::CoordinateFrameListItem >, cnoid::TargetItemPicker< cnoid::Item >, cnoid::TargetItemPicker< cnoid::MprProgramItemBase >, cnoid::TargetItemPicker< cnoid::MprMultiVariableListItem >, cnoid::TargetItemPicker< cnoid::BodyItem >, cnoid::TargetItemPicker< cnoid::AbstractTextItem >, and cnoid::TargetItemPicker< cnoid::IoConnectionMapItem >.
|
protected |
|
protectedpure virtual |
Implemented in cnoid::TargetItemPicker< ItemType >, cnoid::TargetItemPicker< cnoid::CoordinateFrameListItem >, cnoid::TargetItemPicker< cnoid::Item >, cnoid::TargetItemPicker< cnoid::MprProgramItemBase >, cnoid::TargetItemPicker< cnoid::MprMultiVariableListItem >, cnoid::TargetItemPicker< cnoid::BodyItem >, cnoid::TargetItemPicker< cnoid::AbstractTextItem >, and cnoid::TargetItemPicker< cnoid::IoConnectionMapItem >.
|
protectedpure virtual |
Implemented in cnoid::TargetItemPicker< ItemType >, cnoid::TargetItemPicker< cnoid::CoordinateFrameListItem >, cnoid::TargetItemPicker< cnoid::Item >, cnoid::TargetItemPicker< cnoid::MprProgramItemBase >, cnoid::TargetItemPicker< cnoid::MprMultiVariableListItem >, cnoid::TargetItemPicker< cnoid::BodyItem >, cnoid::TargetItemPicker< cnoid::AbstractTextItem >, and cnoid::TargetItemPicker< cnoid::IoConnectionMapItem >.
void TargetItemPickerBase::refresh | ( | ) |
void TargetItemPickerBase::restoreTargetItem | ( | const Archive & | archive, |
const std::string & | key | ||
) |
void TargetItemPickerBase::restoreTargetItemLater | ( | const Archive & | archive, |
const std::string & | key | ||
) |
void TargetItemPickerBase::setEnabled | ( | bool | on | ) |
void TargetItemPickerBase::storeTargetItem | ( | Archive & | archive, |
const std::string & | key | ||
) |
|
protectedpure virtual |
Implemented in cnoid::TargetItemPicker< ItemType >, cnoid::TargetItemPicker< cnoid::CoordinateFrameListItem >, cnoid::TargetItemPicker< cnoid::Item >, cnoid::TargetItemPicker< cnoid::MprProgramItemBase >, cnoid::TargetItemPicker< cnoid::MprMultiVariableListItem >, cnoid::TargetItemPicker< cnoid::BodyItem >, cnoid::TargetItemPicker< cnoid::AbstractTextItem >, and cnoid::TargetItemPicker< cnoid::IoConnectionMapItem >.