|
CTRE Phoenix C++ 5.35.1
|
Interface for uart gadgeteer devices. More...
#include <ctre/phoenix/core/GadgeteerUartClient.h>
Classes | |
| struct | GadgeteerUartStatus |
| The status of the gadgeteer device. More... | |
Public Types | |
| enum | GadgeteerProxyType { General = 0 , Pigeon = 1 , PC_HERO = 2 } |
| Device connected to gadgeteer. More... | |
| enum | GadgeteerConnection { NotConnected = 0 , Connecting = 1 , Connected = 2 } |
| Method of connection to gadgeteer. More... | |
Public Member Functions | |
| IGadgeteerUartClient () | |
| virtual | ~IGadgeteerUartClient () |
| virtual int | GetGadgeteerStatus (GadgeteerUartStatus &status)=0 |
| Gets gadgeteer status. | |
Static Public Member Functions | |
| static std::string | ToString (IGadgeteerUartClient::GadgeteerProxyType gpt) |
| Gets the string representation of GadgeteerProxyType. | |
| static std::string | ToString (IGadgeteerUartClient::GadgeteerConnection gc) |
| Gets the string representation of GadgeteerConnection. | |
Interface for uart gadgeteer devices.
|
inline |
|
inlinevirtual |
|
pure virtual |
Gets gadgeteer status.
| status | status object to fill |
|
inlinestatic |
Gets the string representation of GadgeteerConnection.
| gc | GadgeteerConnection to get the string of |
|
inlinestatic |
Gets the string representation of GadgeteerProxyType.
| gpt | GadgeteerProxyType to get the string of |