|
Telescience Resource Kit
TReK Python
5.4.0 ART
|
This class holds all of the responses associated with a single command uplink. More...
Public Member Functions | |
Initialize / Finalize | |
Functions handling class initialization and finalization. | |
def | TrackItem ( Optional[c_void_p] native_ptr=None -> None ) -> def |
Default constructor. More... | |
TrackItem Properties | |
Functions handling TrackItem properties. | |
def | get_command_name ( -> str ) -> def |
Returns the command name associated with the uplink. More... | |
def | get_token ( -> int ) -> def |
Returns the token associated with the command uplink. | |
def | get_uplink_time (time: TrekTime -> None ) -> def |
Returns the time associated with the command uplink. More... | |
def | set_command_name (name: str -> None ) -> def |
Set the command name. More... | |
def | set_token (token: int -> None ) -> def |
Set the current token. More... | |
Responses | |
Functions handling responses. | |
def | get_number_of_responses ( -> int ) -> def |
Returns the number of responses available. More... | |
def | get_response (index: int -> ResponseItem ) -> def |
Gets the information about the specified response. More... | |
This class holds all of the responses associated with a single command uplink.
Only methods that are expected to be used by user applications are documented.
( | native_ptr | : Optional[c_void_p] | ) | -> None |
Default constructor.
[in] | native_ptr | (Optional) Internal parameter, do not provide. |
( | ) | -> str |
Returns the command name associated with the uplink.
( | ) | -> int |
Returns the number of responses available.
( | index | : int | ) | -> ResponseItem |
Gets the information about the specified response.
Throws exception if attempting retrieve a response outside array bounds.
[in] | index | Index into an array of responses [0 <= get_number_of_responses()] |
TrekError | 11004 - CMD_API_DOES_NOT_EXIST |
( | time | : TrekTime | ) | -> None |
Returns the time associated with the command uplink.
[in,out] | time | TrekTime class to place the time. |
( | name | : str | ) | -> None |
Set the command name.
[in] | name | Command name. |
( | token | : int | ) | -> None |
Set the current token.
[in] | token | Token value. |