30 #ifndef GENAPI_ISELECTOR_H 31 #define GENAPI_ISELECTOR_H 36 # pragma warning ( push ) 37 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 49 virtual bool IsSelector()
const = 0;
81 return ref::m_Ptr->GetSelectedFeatures( Features );
90 return ref::m_Ptr->GetSelectingFeatures( Features );
99 return ref::m_Ptr->IsSelector();
112 # pragma warning ( pop ) 115 #endif // GENAPI_ISELECTOR_H virtual void GetSelectedFeatures(FeatureList_t &) const =0
retrieve the group of selected features
virtual void GetSelectingFeatures(FeatureList_t &Features) const
retrieve the group of features selecting this node
CSelectorRefT< ISelector > CSelectorRef
Reference to an ISelector pointer.
interface GENAPI_DECL_ABSTRACT IBase
Base interface common to all nodes.
interface GENAPI_DECL_ABSTRACT ISelector
Interface for groups of features selected by a single one.
virtual bool IsSelector() const
true iff this feature selects a group of features
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
virtual void GetSelectedFeatures(FeatureList_t &Features) const
Get all features of the Selector.
virtual void GetSelectingFeatures(FeatureList_t &) const =0
retrieve the group of features selecting this node
declspec's to be used for GenApi Windows dll
Part of the generic device API.