Leosac  0.8.0
Open Source Access Control
Leosac::Hardware::LEDSerializer Struct Reference

Serializer code is copy-pasted from buzzer's serializer. More...

#include <LEDSerializer.hpp>

Static Public Member Functions

static json serialize (const Hardware::LED &in, const SecurityContext &sc)
 
static void unserialize (Hardware::LED &out, const json &in, const SecurityContext &sc)
 

Detailed Description

Serializer code is copy-pasted from buzzer's serializer.

Definition at line 35 of file LEDSerializer.hpp.

Member Function Documentation

◆ serialize()

json Leosac::Hardware::LEDSerializer::serialize ( const Hardware::LED in,
const SecurityContext sc 
)
static

Definition at line 35 of file LEDSerializer.cpp.

◆ unserialize()

void Leosac::Hardware::LEDSerializer::unserialize ( Hardware::LED out,
const json in,
const SecurityContext sc 
)
static

Definition at line 56 of file LEDSerializer.cpp.


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