Interface headers for this module. Defines public funtions prototypes this module's interface library makes available to other modules. More...
#include <lar/lar.h>
#include <lar/powermanager_messages.h>
Enumerations | |
enum | ENUM_plc_outputs { Y0_LAS0 = 130, Y1_PTU, Y2_R1394_0, Y3_BUMBLEBEE, Y4_NA, Y5_NA, Y6_NA, Y7_NA, Y10_ROUTER, Y11_SWITCH, Y12_GPS, Y13_NA } |
Functions | |
int | powermanager_publish_status (powermanager_status_message *msg) |
int | powermanager_subscribe_status (powermanager_status_message *msg, carmen_handler_t handler, carmen_subscribe_t subscribe_how) |
int | powermanager_turn_on (ENUM_plc_outputs output) |
Turns on a given PLC output. | |
int | powermanager_turn_off (ENUM_plc_outputs output) |
Turns off a given PLC output. | |
int | powermanager_reset (ENUM_plc_outputs output) |
int | powermanager_subscribe_command (powermanager_command_message *msg, carmen_handler_t handler, carmen_subscribe_t subscribe_how) |
Subscribes powermanager_command_message messages. Uses broadcast to all subscribers. Should not be used by other modules. This is an interface private function. Should only be used by powermanager module. |
Interface headers for this module. Defines public funtions prototypes this module's interface library makes available to other modules.