Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
Go to the source code of this file.
Functions | |
void | initUpdateable (Updateable *updateable, const char *name, int hz, UpdateableType utype, void *child) |
int | defaultUpdate (Updateable *self) |
Default update function for Updateable objects. More... | |
int | defaultStatus (struct Updateable *self) |
Default status function for Updateable objects. More... | |
int | defaultEnable (struct Updateable *self) |
Default enable function for Updateable objects. More... | |
int | defaultDisable (struct Updateable *self) |
Default disable function for Updateable objects. More... | |
int | writeDataToFileImplementation (const char *filename, void *self) |
Write data to a file. More... | |
int defaultDisable | ( | struct Updateable * | self | ) |
Default disable function for Updateable objects.
self | Pointer to the Updateable object. |
Definition at line 35 of file Updateable.c.
int defaultEnable | ( | struct Updateable * | self | ) |
Default enable function for Updateable objects.
self | Pointer to the Updateable object. |
Definition at line 30 of file Updateable.c.
int defaultStatus | ( | struct Updateable * | self | ) |
Default status function for Updateable objects.
self | Pointer to the Updateable object. |
Definition at line 26 of file Updateable.c.
int defaultUpdate | ( | struct Updateable * | self | ) |
Default update function for Updateable objects.
self | Pointer to the Updateable object to update. |
Definition at line 20 of file Updateable.c.
void initUpdateable | ( | Updateable * | updateable, |
const char * | name, | ||
int | hz, | ||
UpdateableType | utype, | ||
void * | child | ||
) |
Definition at line 6 of file Updateable.c.
int writeDataToFileImplementation | ( | const char * | filename, |
void * | self | ||
) |
Write data to a file.
filename | Name of the file to write to. |
self | Pointer to the object whose data is to be written. |
Definition at line 40 of file Updateable.c.