Category Properties(Categoryプロパティ)
Categoryプロパティは、PropertyMap内のすべてのプロパティ間のツリー関係を定義します。 詳細...
関数
| bool | ic4_prop_category_get_features (struct IC4_PROPERTY *prop, struct IC4_PROPERTY_LIST **ppFeatures) Categoryプロパティ内のプロパティ一覧を取得します。 |
詳細説明
Categoryプロパティは、PropertyMap内のすべてのプロパティ間のツリー関係を定義します。
ツリーのルートは常に、Rootという名前のCategoryプロパティです。
あるCategoryからどのプロパティがリンクされているかを調べるには、ic4_prop_category_get_features()を使用します。この関数はIC4_PROPERTY_LISTを返します。
Categoryは、他のCategoryを再帰的に含むことができます。非常に単純なCategoryツリーは次のようになります。
Root(category)AcquisitionControl(category)AcquisitionStart(command)AcquisitionStop(command)AcquisitionFrameRate(float)
ImageFormatControl(category)Width(integer)Height(integer)
関数ドキュメント
◆ ic4_prop_category_get_features()
| bool ic4_prop_category_get_features | ( | struct IC4_PROPERTY * | prop, |
| struct IC4_PROPERTY_LIST ** | ppFeatures | ||
| ) |
Categoryプロパティ内のプロパティ一覧を取得します。
- パラメータ
-
[in] prop Categoryプロパティ [in] ppFeatures Category prop内のプロパティ一覧を受け取るPropertyListへのポインタ。PropertyListが不要になったら、ic4_proplist_unref()を使用してオブジェクト参照を解放してください。
- 戻り値
- 成功した場合は
true、それ以外の場合はfalse。
エラー情報を照会するにはic4_get_last_error()を使用してください。
- 備考
propがCategoryプロパティでない場合、この関数はfalseを返し、エラー値はIC4_ERROR_GENICAM_TYPE_MISMATCHに設定されます。


