Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#include <power.hpp>
Public Member Functions | |
virtual | ~PowerDevice () |
virtual bool | has_config ()=0 |
virtual bool | state (const std::string &device)=0 |
virtual bool | switch_on (const std::string &device)=0 |
virtual bool | switch_off (const std::string &device)=0 |
Abstract base class used to represent an device which is capable of switching a power device.
|
inlinevirtual |
|
pure virtual |
Implemented in cypress::NetIO4, and cypress::energenie.
|
pure virtual |
Returns the state of the device with the given name. If the device cannot be controlled, false should be returned.
device | is the canonical backend name (returned by backend.name()) of the device for which the state should be returned. |
Implemented in cypress::NetIO4, and cypress::energenie.
|
pure virtual |
Switches the device with teh given name off.
device | is the canonical backend name (returned by backend.name()) of the device that should be controlled. |
Implemented in cypress::NetIO4, and cypress::energenie.
|
pure virtual |
Switches the device with teh given name on.
device | is the canonical backend name (returned by backend.name()) of the device that should be controlled. |
Implemented in cypress::NetIO4, and cypress::energenie.