LRT14
1.0
|
Provides control over launcher loading mechanism, including the safety mechanism. More...
#include <LauncherLoader.h>
Public Member Functions | |
void | OnEnabled () |
Called the first cycle that the component is enabled. | |
void | OnDisabled () |
Called the first cycle that the component is disabled. | |
void | UpdateEnabled () |
Allows the component to update itself when enabled. | |
void | UpdateDisabled () |
Allows the component to execute code when disabled. | |
void | Configure () |
Overload this function to apply new configuration when configuration is loaded. | |
void | Send () |
Sends data to the LiveNetworkSender. | |
![]() | |
Component (const char *name, int driverStationDigitalIn) | |
Constructs a component with a name. | |
virtual | ~Component () |
Frees the resources allocated by the component. | |
void | Update () |
Updates the component each cycle. | |
bool | EnableRequired () |
Returns whether or not the robot requires to be in an enabled state to run the enabled function. | |
int | GetDigitalIn () |
Gets the driver station digital input channel for the component. | |
const char * | GetName () |
Gets the component's name. | |
Additional Inherited Members | |
![]() | |
static void | CreateComponents () |
Creates all components. | |
static void | DestroyComponents () |
Destroys all components. | |
static void | UpdateAll () |
Calls Update() on all created components. | |
![]() | |
template<typename T > | |
void | SendToNetwork (T value, std::string key, std::string table) |
Sends a value to the network through LiveNetworkSender. | |
Provides control over launcher loading mechanism, including the safety mechanism.