// -*-C++-*-
/*!
 * @file  BatteryWatcherSVC_impl.cpp
 * @brief Service implementation code of BatteryWatcher.idl
 *
 */

#include "BatteryWatcherSVC_impl.h"

/*
 * Example implementational code for IDL interface BatteryAlert
 */
BatteryAlertSVC_impl::BatteryAlertSVC_impl()
{
  // Please add extra constructor code here.
}


BatteryAlertSVC_impl::~BatteryAlertSVC_impl()
{
  // Please add extra destructor code here.
}


/*
 * Methods corresponding to IDL attributes and operations
 */
void BatteryAlertSVC_impl::RH_InVoltageAlert(CORBA::Float voltage)
{
  // Please insert your code here and remove the following warning pragma
  std::cout << "---RH_InVoltageAlert[" << voltage << "]---" << std::endl;
  iamhungry=1;
}


// End of example implementational code



