|
Open Model Railroad Network (OpenMRN)
|
#include "executor/StateFlow.hxx"#include "utils/Buffer.hxx"#include "utils/LimitedPool.hxx"#include "utils/ScheduledQueue.hxx"Go to the source code of this file.
Classes | |
| class | Bus< MessageType > |
| This is a namespace class that contains a variety of related classes for handling a bus that needs a polling loop. More... | |
| class | Bus< MessageType >::Activity |
| Abstract class that gets scheduled for polling and when the master decides to take it, gets a buffer to fill in with a packet. More... | |
| class | Bus< MessageType >::Master |
| The Bus Master class. More... | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
An abstract controller to manage a shared bus which needs to be polled.
Definition in file BusMaster.hxx.