mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
Add a constant that can be used to identify groups.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1653 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
223af24398
commit
099ca305c9
@ -652,6 +652,7 @@ AP_Meta_class::Type_id AP_Var::k_typeid_float16; ///< meta_type_id() value fo
|
|||||||
AP_Meta_class::Type_id AP_Var::k_typeid_int32; ///< meta_type_id() value for AP_Int32
|
AP_Meta_class::Type_id AP_Var::k_typeid_int32; ///< meta_type_id() value for AP_Int32
|
||||||
AP_Meta_class::Type_id AP_Var::k_typeid_int16; ///< meta_type_id() value for AP_Int16
|
AP_Meta_class::Type_id AP_Var::k_typeid_int16; ///< meta_type_id() value for AP_Int16
|
||||||
AP_Meta_class::Type_id AP_Var::k_typeid_int8; ///< meta_type_id() value for AP_Int8
|
AP_Meta_class::Type_id AP_Var::k_typeid_int8; ///< meta_type_id() value for AP_Int8
|
||||||
|
AP_Meta_class::Type_id AP_Var::k_typeid_group; ///< meta_type_id() value for AP_Var_group
|
||||||
|
|
||||||
/// A special class used to initialise the k_typeid_* values that AP_Var exports.
|
/// A special class used to initialise the k_typeid_* values that AP_Var exports.
|
||||||
///
|
///
|
||||||
@ -678,6 +679,7 @@ AP_Var_typesetup::AP_Var_typesetup(void)
|
|||||||
AP_Var::k_typeid_int32 = AP_Meta_class::meta_type_id<AP_Int32>();
|
AP_Var::k_typeid_int32 = AP_Meta_class::meta_type_id<AP_Int32>();
|
||||||
AP_Var::k_typeid_int16 = AP_Meta_class::meta_type_id<AP_Int16>();
|
AP_Var::k_typeid_int16 = AP_Meta_class::meta_type_id<AP_Int16>();
|
||||||
AP_Var::k_typeid_int8 = AP_Meta_class::meta_type_id<AP_Int8>();
|
AP_Var::k_typeid_int8 = AP_Meta_class::meta_type_id<AP_Int8>();
|
||||||
|
AP_Var::k_typeid_group = AP_Meta_class::meta_type_id<AP_Var_group>();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Cause the AP_Var_typesetup constructor to be run.
|
/// Cause the AP_Var_typesetup constructor to be run.
|
||||||
|
@ -153,6 +153,7 @@ public:
|
|||||||
static AP_Meta_class::Type_id k_typeid_int32; ///< meta_type_id() value for AP_Int32
|
static AP_Meta_class::Type_id k_typeid_int32; ///< meta_type_id() value for AP_Int32
|
||||||
static AP_Meta_class::Type_id k_typeid_int16; ///< meta_type_id() value for AP_Int16
|
static AP_Meta_class::Type_id k_typeid_int16; ///< meta_type_id() value for AP_Int16
|
||||||
static AP_Meta_class::Type_id k_typeid_int8; ///< meta_type_id() value for AP_Int8
|
static AP_Meta_class::Type_id k_typeid_int8; ///< meta_type_id() value for AP_Int8
|
||||||
|
static AP_Meta_class::Type_id k_typeid_group; ///< meta_type_id() value for AP_Var_group
|
||||||
|
|
||||||
/// Constructor for a freestanding variable
|
/// Constructor for a freestanding variable
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user