6#ifndef YARP_MANAGER_PRIMRESOURCE
7#define YARP_MANAGER_PRIMRESOURCE
26 Memory(
const char* szName);
95 const char*
getIP4() {
return strIP4.c_str(); }
96 const char*
getIP6() {
return strIP6.c_str(); }
97 const char*
getMAC() {
return strMAC.c_str(); }
129 strArchitecure = arch;
142 const char*
getModel() {
return strModel.c_str(); }
151 std::string strArchitecure;
152 std::string strModel;
216 bool satisfyComputer(
Computer* comp);
bool satisfy(GenericResource *resource) override
void setProcessor(Processor &proc)
void setNetwork(Network &net)
Computer()
Class Computer.
int peripheralCount() const
bool addPeripheral(GenericResource &res)
GenericResource & getPeripheralAt(int index) const
void setPlatform(Platform &os)
Processor & getProcessor()
void setStorage(Storage &stg)
void setMemory(Memory &mem)
Computer & operator=(const Computer &rhs)
ProcessContainer & getProcesses()
void setFreeSpace(Capacity c)
bool satisfy(GenericResource *resource) override
void setTotalSpace(Capacity c)
void setIP4(const char *ip)
void setIP6(const char *ip)
bool satisfy(GenericResource *resource) override
void setMAC(const char *mac)
const LoadAvg & getCPULoad()
bool satisfy(GenericResource *resource) override
const char * getArchitecture()
void setArchitecture(const char *arch)
Processor()
Class Processor.
void setSiblings(size_t n)
void setCPULoad(const LoadAvg &avg)
void setModel(const char *model)
void setFrequency(double f)
bool satisfy(GenericResource *resource) override
void setFreeSpace(Capacity c)
void setTotalSpace(Capacity c)
struct yarp::manager::_Process Process
Class Computer.
std::vector< Computer >::iterator ComputerIterator
std::vector< Computer > ComputerContainer
std::vector< GenericResource * > ResourcePContainer
std::vector< Process >::iterator ProcessIterator
std::vector< Process > ProcessContainer
struct yarp::manager::_LoadAvg LoadAvg
double loadAverageInstant