powermanager_interface.cpp File Reference

Interface file for this module. Defines public funtions this module's interface library makes available to other modules. More...

#include "powermanager_interface.h"
#include <lar/lar.h>
#include <lar/powermanager_messages.h>
Include dependency graph for powermanager_interface.cpp:
This graph shows which files directly or indirectly include this file:

Functions

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.
int powermanager_subscribe_status (powermanager_status_message *msg, carmen_handler_t handler, carmen_subscribe_t subscribe_how)
int powermanager_publish_status (powermanager_status_message *msg)
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)

Detailed Description

Interface file for this module. Defines public funtions this module's interface library makes available to other modules.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3