icub-client
homeostasisManager.h
Go to the documentation of this file.
1 #ifndef HOMEO_MANAGER
2 #define HOMEO_MANAGER
3 
4 #include <string>
5 #include <iostream>
6 #include <iomanip>
7 #include <vector>
8 #include "homeostasis.h"
9 
14 {
15 
16 public:
17 
18  std::vector<Drive*> drives;
19 
26  void addDrive(Drive* D);
27 
35  void removeDrive(int D);
36 
42  void sleep(int D, double time);
43 
48  bool updateDrives();
49 
50 
51 };
52 
53 #endif
void sleep(int D, double time)
sleep cancels update function for a time
bool updateDrives()
updateDrives updates all internal values
void removeDrive(int D)
removeDrive Removes a drive in homeostasis manager.
std::vector< Drive * > drives
void addDrive(Drive *D)
addDrive Generates a drive in the homeostasis manager.