Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::EmptyGroup< N > Class Template Reference

Defines an empty group with no members, but blocking a certain amount of space in the rendered configuration. More...

#include <ConfigRepresentation.hxx>

Inheritance diagram for openlcb::EmptyGroup< N >:
openlcb::ConfigEntryBase openlcb::ConfigReference

Public Types

using base_type = ConfigEntryBase
 

Public Member Functions

constexpr unsigned end_offset () const
 
- Public Member Functions inherited from openlcb::ConfigReference
constexpr ConfigReference (unsigned offset)
 Initializes the config reference from a configuration space offset.
 
constexpr ConfigReference (const ConfigReference &ref)
 Initializes the config reference from an existing config reference.
 
constexpr unsigned offset () const
 

Static Public Member Functions

static constexpr int size ()
 
static constexpr EmptyGroupConfigRenderer config_renderer ()
 
- Static Public Member Functions inherited from openlcb::ConfigEntryBase
template<typename... Args>
static constexpr GroupConfigOptions group_opts (Args... args)
 
static void handle_events (const EventOffsetCallback &fn)
 

Additional Inherited Members

- Protected Member Functions inherited from openlcb::ConfigEntryBase
template<class T >
raw_read (int fd) const
 Reads a given typed variable from the configuration file.
 
template<class T >
void raw_write (int fd, const T &value) const
 Writes a given typed variable to the configuration file.
 
void repeated_read (int fd, void *buf, size_t size) const
 Performs a reliable read from the given FD.
 
void repeated_write (int fd, const void *buf, size_t size) const
 Performs a reliable write to the given FD.
 
- Protected Attributes inherited from openlcb::ConfigReference
unsigned offset_
 zero-based offset from the beginning of the configuration file.
 

Detailed Description

template<int N>
class openlcb::EmptyGroup< N >

Defines an empty group with no members, but blocking a certain amount of space in the rendered configuration.

Definition at line 382 of file ConfigRepresentation.hxx.

Member Typedef Documentation

◆ base_type

template<int N>
using openlcb::EmptyGroup< N >::base_type = ConfigEntryBase

Definition at line 385 of file ConfigRepresentation.hxx.

Member Function Documentation

◆ config_renderer()

template<int N>
static constexpr EmptyGroupConfigRenderer openlcb::EmptyGroup< N >::config_renderer ( )
inlinestaticconstexpr

Definition at line 395 of file ConfigRepresentation.hxx.

◆ end_offset()

template<int N>
constexpr unsigned openlcb::EmptyGroup< N >::end_offset ( ) const
inlineconstexpr

Definition at line 391 of file ConfigRepresentation.hxx.

◆ size()

template<int N>
static constexpr int openlcb::EmptyGroup< N >::size ( )
inlinestaticconstexpr

Definition at line 387 of file ConfigRepresentation.hxx.


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