Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::TargetItemPickerBase Class Referenceabstract

#include <TargetItemPicker.h>

Inheritance diagram for cnoid::TargetItemPickerBase:
cnoid::TargetItemPicker< ItemType > cnoid::TargetItemPicker< cnoid::AbstractTextItem > cnoid::TargetItemPicker< cnoid::BodyItem > cnoid::TargetItemPicker< cnoid::CoordinateFrameListItem > cnoid::TargetItemPicker< cnoid::IoConnectionMapItem > cnoid::TargetItemPicker< cnoid::Item > cnoid::TargetItemPicker< cnoid::MprMultiVariableListItem > cnoid::TargetItemPicker< cnoid::MprProgramItemBase >

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

ItemgetTargetItem ()
 
virtual ItemextractTargetItemCandidates (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
 

Constructor & Destructor Documentation

◆ TargetItemPickerBase()

TargetItemPickerBase::TargetItemPickerBase ( View view = nullptr)

◆ ~TargetItemPickerBase()

TargetItemPickerBase::~TargetItemPickerBase ( )

Member Function Documentation

◆ clearTargetItem()

void TargetItemPickerBase::clearTargetItem ( )

◆ extractTargetItemCandidates()

virtual Item* cnoid::TargetItemPickerBase::extractTargetItemCandidates ( ItemList<> &  io_items,
Item preferred,
bool  selectionChanged 
)
protectedpure virtual

◆ getTargetItem()

Item * TargetItemPickerBase::getTargetItem ( )
protected

◆ onDeactivated()

virtual void cnoid::TargetItemPickerBase::onDeactivated ( )
protectedpure virtual

◆ onTargetItemSpecified()

virtual void cnoid::TargetItemPickerBase::onTargetItemSpecified ( Item item,
bool  isChanged 
)
protectedpure virtual

◆ refresh()

void TargetItemPickerBase::refresh ( )

◆ restoreTargetItem()

void TargetItemPickerBase::restoreTargetItem ( const Archive archive,
const std::string &  key 
)

◆ restoreTargetItemLater()

void TargetItemPickerBase::restoreTargetItemLater ( const Archive archive,
const std::string &  key 
)

◆ setEnabled()

void TargetItemPickerBase::setEnabled ( bool  on)

◆ storeTargetItem()

void TargetItemPickerBase::storeTargetItem ( Archive archive,
const std::string &  key 
)

◆ targetPredicate()

virtual bool cnoid::TargetItemPickerBase::targetPredicate ( Item item)
protectedpure virtual

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