Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
IfCan.cxx File Reference

Go to the source code of this file.

Classes

class  openlcb::GlobalCanMessageWriteFlow
 This write flow inherits all the business logic from the parent, just maintains a separate allocation queue. More...
 
class  openlcb::AliasConflictHandler
 This class listens for incoming CAN messages, and if it sees a local alias conflict, then takes the appropriate action: More...
 
class  openlcb::RemoteAliasCacheUpdater
 This class listens for alias mapping frames and updates the remote alias cache with the incoming information. More...
 
class  openlcb::AMEQueryHandler
 This class listens for alias mapping enquiry frames targeted for local nodes, and replies with AMD frames. More...
 
class  openlcb::AMEGlobalQueryHandler
 This class listens for Alias Mapping Enquiry frames with no destination node ID (aka global alias enquiries) and sends back as many frames as wel have local aliases mapped. More...
 
class  openlcb::FrameToGlobalMessageParser
 This class listens for incoming CAN frames of regular unaddressed global OpenLCB messages, then translates it in a generic way into a message, computing its MTI. More...
 
class  openlcb::FrameToAddressedMessageParser
 This class listens for incoming CAN frames of regular addressed OpenLCB messages destined for local nodes, then translates them in a generic way into a message, computing its MTI. More...
 

Namespaces

namespace  openlcb
 

Variables

size_t openlcb::g_alias_use_conflicts = 0
 Counts the number of alias conflicts that we see for aliases that we already reserved.
 
long long openlcb::ADDRESSED_MESSAGE_LOOKUP_TIMEOUT_NSEC = SEC_TO_NSEC(1)
 Specifies how long to wait for a response to an alias mapping enquiry message when trying to send an addressed message to a destination.
 

Detailed Description

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

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.

Asynchronous NMRAnet interface.

Author
Balazs Racz
Date
3 Dec 2013

Definition in file IfCan.cxx.