Identifies a device node. More...

#include <DevNode.h>

Collaboration diagram for IO::DevNode:

Public Types

enum  State {
  State::off, State::on, State::someon, State::unknown,
  State::MAX
}
 
using List = std::vector< DevNode >
 
using ID = uint16_t
 
using States = BitSet< uint8_t, State, size_t(State::MAX)>
 

Public Member Functions

bool operator== (const DevNode &other) const
 

Public Attributes

ID id {}
 

Detailed Description

Identifies a device node.

Member Typedef Documentation

◆ ID

◆ List

using IO::DevNode::List = std::vector<DevNode>

◆ States

Member Enumeration Documentation

◆ State

enum IO::DevNode::State
strong
Enumerator
off 
on 
someon 
unknown 
MAX 

Member Function Documentation

◆ operator==()

bool IO::DevNode::operator== ( const DevNode other) const
inline

Member Data Documentation

◆ id

ID IO::DevNode::id {}

The documentation for this struct was generated from the following file: