TReK Python
5.3.3
Telemetry/Command API
|
Abstract Base Class for Enumerators. More...
Inherits NamedItem.
Inherited by Enumerator, and RangeEnumerator.
Public Member Functions | |
Initialize / Finalize | |
Functions handling class initialization and finalization. | |
def | clone ( -> object -> def -> def ) -> def |
Creates a new instance of the object with the same contents. More... | |
Enumeration Values | |
Functions handling enumeration names and values. | |
def | add_enum (int_value: int, str_value: str, end_value: int=0 -> None -> def -> def ) -> def |
Adds the string values as enumeration for the unsigned integer value. More... | |
def | get_enum_name (enum_value: int -> str -> def -> def ) -> def |
Finds the corresponding string value for the specified unsigned integer. More... | |
def | get_enum_names ( -> List[str] -> def -> def ) -> def |
Gets a list of the string enumerations. More... | |
def | get_enum_ranges ( -> List[EnumeratorRangePoint] -> def -> def ) -> def |
Gets a list of the begin and end values for which enumerators exist. More... | |
def | get_enum_value (enum_name: str -> int -> def -> def ) -> def |
Finds the corresponding unsigned integer value for the specified string. More... | |
def | get_enum_values ( -> List[int] -> def -> def ) -> def |
Gets a list of the integer values. More... | |
def | get_number_of_enumerations ( -> int -> def -> def ) -> def |
Returns the current number of enumerations. More... | |
def | remove_enum_all ( -> None -> def -> def ) -> def |
Remove all enumerations. More... | |
def | remove_enum_name (enum_name: str -> None -> def -> def ) -> def |
Removes the enumeration specifed by the string. More... | |
def | remove_enum_value (enum_value: int -> None -> def -> def ) -> def |
Removes the enumeration specifed by the integer. More... | |
![]() | |
def | BaseEnumerator ( Optional[NamedItem] named_item=None -> None -> def -> def ) -> def |
Class initializer. More... | |
def | __eq__ (named_item: object -> bool -> def -> def ) -> def |
Equality operator "==". More... | |
def | copy (copy_from: object -> None -> def -> def ) -> def |
Copies the contents of the provided 'copy_from' NamedItem into this NamedItem. More... | |
def | initialize ( -> None -> def -> def ) -> def |
Initializes the object. More... | |
def | get_alias ( -> str -> def -> def ) -> def |
Returns the alias of the item. More... | |
def | get_name ( -> str -> def -> def ) -> def |
Returns the name of the item. More... | |
def | get_long_description ( -> str -> def -> def ) -> def |
Returns the long description of the item. More... | |
def | get_short_description ( -> str -> def -> def ) -> def |
Returns the short description of the item. More... | |
def | get_user_description ( -> str -> def -> def ) -> def |
Returns the user description of the item. More... | |
def | get_owner ( -> str -> def -> def ) -> def |
Returns the owner of the item. More... | |
def | set_name (name: str -> None -> def -> def ) -> def |
Sets the name of the item. More... | |
def | set_alias (alias: str -> None -> def -> def ) -> def |
Sets the alias of the item. More... | |
def | set_short_description (description: str -> None -> def -> def ) -> def |
Sets the short description of the item. More... | |
def | set_long_description (description: str -> None -> def -> def ) -> def |
Sets the long description of the item. More... | |
def | set_user_description (description: str -> None -> def -> def ) -> def |
Sets the user description of the item. More... | |
def | set_owner (owner: str -> None -> def -> def ) -> def |
Sets the owner of the item. More... | |
Abstract Base Class for Enumerators.
( | int_value | : int |