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) |
void | defaultUpdate (void *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 29 of file Updateable.c.
int defaultEnable | ( | struct Updateable * | self | ) |
Default enable function for Updateable objects.
self | Pointer to the Updateable object. |
Definition at line 24 of file Updateable.c.
int defaultStatus | ( | struct Updateable * | self | ) |
Default status function for Updateable objects.
self | Pointer to the Updateable object. |
Definition at line 20 of file Updateable.c.
void defaultUpdate | ( | void * | self | ) |
Default update function for Updateable objects.
self | Pointer to the object to update. |
Definition at line 16 of file Updateable.c.
void initUpdateable | ( | Updateable * | updateable, |
const char * | name, | ||
int | hz | ||
) |
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 34 of file Updateable.c.