DUDS
Distributed Update of Data from Something
PinConfiguration.hpp File Reference
#include <boost/property_tree/ptree_fwd.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <duds/hardware/interface/DigitalPinSet.hpp>
#include <duds/hardware/interface/DigitalPin.hpp>
#include <duds/hardware/interface/ChipSelect.hpp>
#include <unordered_map>
#include <set>
Include dependency graph for PinConfiguration.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  duds::hardware::interface::PinConfiguration::ChipSel
 Holds configuration data for a single chip select. More...
 
struct  duds::hardware::interface::PinConfiguration::index_gid
 Index in type Pins that is sorted by pin global ID. More...
 
struct  duds::hardware::interface::PinConfiguration::index_name
 Index in type Pins that is sorted by the optional pin name. More...
 
struct  duds::hardware::interface::PinConfiguration::index_pid
 Index in type Pins that is sorted by pin port ID. More...
 
struct  duds::hardware::interface::PinConfiguration::index_seq
 Index in type Pins that is maintained by parsing order. More...
 
struct  duds::hardware::interface::PinConfiguration::Pin
 Holds configuration data for a single digital I/O pin. More...
 
struct  duds::hardware::interface::PinBadIdError
 A given pin ID could not be parsed. More...
 
class  duds::hardware::interface::PinConfiguration
 Parses configuration data for DigitalPort, DigitalPin, DigitalPinSet, ChipSelectManager, and ChipSelect objects. More...
 
struct  duds::hardware::interface::PinConfigurationError
 Base for all errors directly thrown by PinConfiguration. More...
 
struct  duds::hardware::interface::PinConfiguration::PinSet
 Holds configuration data for a single digital pin set. More...
 
struct  duds::hardware::interface::PinConfiguration::Port
 Holds configuration data for a single digital port. More...
 
struct  duds::hardware::interface::PortBadPinIdError
 A given pin ID cannot be used with the port, such as an ID that is less than the port's ID offset. More...
 
struct  duds::hardware::interface::PortDoesNotExistError
 The requested port is not named in the configuration. More...
 
struct  duds::hardware::interface::PortDuplicateError
 The configuration gives the same name to more than one port. More...
 
struct  duds::hardware::interface::PortDuplicatePinIdError
 The same pin global ID is used for more than one pin. More...
 
struct  duds::hardware::interface::SelectBadStateError
 A selection logic state in the configuration could not be parsed. More...
 
struct  duds::hardware::interface::SelectDoesNotExistError
 The requested chip select does not exist. More...
 
struct  duds::hardware::interface::SelectDuplicateError
 The configuration gives the same name to more than one chip select. More...
 
struct  duds::hardware::interface::SelectManagerDoesNotExistError
 The requested chip select manager is not named in the configuration. More...
 
struct  duds::hardware::interface::SelectManagerDuplicateError
 The configuration gives the same name to more than one chip select manager. More...
 
struct  duds::hardware::interface::SelectManagerNotCreated
 A required chip select manager has not yet been created most likely because the port providing its pins has not yet been attached. More...
 
struct  duds::hardware::interface::SelectManagerUnknownTypeError
 A select manager was given an unknown type, or no type. More...
 
struct  duds::hardware::interface::SelectMultiplePortsError
 A chip selection manager was defined with pins from more than one port. More...
 
struct  duds::hardware::interface::SelectNoPinsError
 A chip selection manager was defined without any pins. More...
 
struct  duds::hardware::interface::PinConfiguration::SelMgr
 Holds configuration data for a single chip select manager. More...
 
struct  duds::hardware::interface::SetDoesNotExistError
 The requested pin set is not defined by the configuration. More...
 
struct  duds::hardware::interface::SetDuplicateError
 The configuration gives the same name to more than one pin set. More...
 
struct  duds::hardware::interface::SetMultiplePortsError
 A pin set was defined with pins from more than one port. More...
 
struct  duds::hardware::interface::SetNotCreatedError
 A required pin set has not yet been created most likely because the port providing its pins has not yet been attached. More...
 

Namespaces

 duds
 
 duds::hardware
 
 duds::hardware::interface
 Library code for interfacing with hardware external to the processor.
 

Typedefs

typedef boost::error_info< struct Info_PortId, std::string > duds::hardware::interface::PinBadId
 A pin name or number from the configuration that could not be used. More...
 
typedef boost::error_info< struct Info_PortName, std::string > duds::hardware::interface::PortName
 The name of the port as it appears in the configuration. More...
 
typedef boost::error_info< struct Info_PortPinId, unsigned int > duds::hardware::interface::PortPinId
 The global ID of a pin from a configuration that is involved in the error. More...
 
typedef boost::error_info< struct Info_SelectBadState, std::string > duds::hardware::interface::SelectBadState
 The string with a select logic state that could not be parsed. More...
 
typedef boost::error_info< struct Info_SelectBadType, std::string > duds::hardware::interface::SelectBadType
 The string with a chip selection manager type that is not valid. More...
 
typedef boost::error_info< struct Info_SelectManagerName, std::string > duds::hardware::interface::SelectManagerName
 The name of a chip select manager from a configuration. More...
 
typedef boost::error_info< struct Info_SelectName, std::string > duds::hardware::interface::SelectName
 The name of a chip select from a configuration. More...
 
typedef boost::error_info< struct Info_SetName, std::string > duds::hardware::interface::SetName
 The name of a pin set from a configuration. More...