-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdmxtransceiver.h
37 lines (30 loc) · 1.02 KB
/
dmxtransceiver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Kabuki Tek Toolkit @version 0.x
@link https://github.com/kabuki-starship/kabuki.toolkit.tek.git
@file /dmx_receiver.h
@author Cale McCollough <https://cookingwithcale.org>
@license Copyright 2014-20 (C) Kabuki Starship (TM) <kabukistarship.com>.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not distributed with this file, You can obtain one
at <https://mozilla.org/MPL/2.0/>. */
#pragma once
#include <_config.h>
#ifndef KABUKI_TEK_DMX_DMXTRANSCEIVER_H
#define KABUKI_TEK_DMX_DMXTRANSCEIVER_H
#include "dmxreceiver.h"
#include "dmxtransmitter.h"
namespace _ {
template <IUA NumPorts>
class DMXTransceiver {
public:
/* Default constructor. */
DMXTransceiver();
/* Returns a reference to the DMXTransmitter. */
DMXTransmitter& GetTransmitter();
/* Returns a reference to the DMXReceiver. */
DMXReceiver& GetReceiver;
private:
DMXTransmitter transmitter_;
DMXReceiver receiver_;
};
} // namespace _
#endif