/**
* This file is part of license combination gpl version 3 license and eCos.
* The corresponding license terms are below.
*
* gpl version 3 Licence:
*
* The file were developed during the student thesis "Datensammlung in Wireless
* Sensor Networks fuer Autonomic Home NetworkingÒ of Thomas Kothmayr and is
* included in the dissertation "Secure Data Transmission in Wireless
* Sensor Networks" by Corinna Schmitt during employment at the Technische
* UniversitŠt MŸnchen, Department Computer Science, Chair Network
* Architectures and Services (Germany).
* Copyright (C) 2013
* Authors: Thomas Kothmayr and Corinna Schmitt (schmitt[at]net.in.tum.de)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
Please refer to TEP 115 for more information about this component and its
intended use.
This is the internal implementation of the standard power management
policy for managing the power states of non-virtualized devices.
Non-virtualized devices are shared using a parameterized Resource
interface, and are powered down according to some policy whenever there
are no more pending requests to that Resource. The policy implemented
by this component is to power down a device as soon as it becomes free.
Such a policy is useful whenever a device has a negligible wake-up
latency. There is no cost associated with waiting for the device to
power up, so it can be powered on and off as often as possible.
Powerdown of the device is done through the AsyncStdControl
interface, so this component can only be used with those devices that
provide that interface.
For devices providing either the StdControl
or
SplitControl
interfaces, please use either the
StdControlPowerManagerC
component or the
SplitControlPowerManagerC
component respectively.