Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phPowerData.h

Go to the documentation of this file.
00001 #ifndef PHPOWERDATA_H
00002 #define PHPOWERDATA_H
00003 
00004 #include <stdint.h>
00005 #include <phLiveObject.h>
00006 
00007 /* ------------------------------------------------------------------------ */
00008 class phPowerData : public phLiveObject
00009 {
00010 private:
00011     double      m_charge;
00012 
00013 public:
00014     phPowerData();
00015 
00016     int copy( phObject *copyto_obj);
00017     int swap( phObject *obj);
00018 
00019     int copyData( phPowerData &copyfrom );
00020     int swapData( phPowerData &data );
00021 
00022     int reset();
00023 
00024     int set(double charge);
00025 
00026     int get(double *charge);
00027 
00028     double getCharge();
00029 
00030     void print_data( );
00031 };
00032 
00033 #endif /* PHPOWERDATA_H */




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:07 2007 for phission by  doxygen 1.4.4