start of implementation (ha...
Stefan Schuermans authored 13 years ago
|
1) /* JFlexiPix - Java implementation of FlexiPix output library
2) *
3) * Copyright 2010-2011 Stefan Schuermans <stefan blinkenarea org>
4) *
5) * This program is free software: you can redistribute it and/or modify
6) * it under the terms of the GNU General Public License as published by
7) * the Free Software Foundation, version 3 of the License.
8) *
9) *
10) * This program is distributed in the hope that it will be useful,
11) * but WITHOUT ANY WARRANTY; without even the implied warranty of
12) * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13) * GNU General Public License for more details.
14) *
15) * You should have received a copy of the GNU Lesser General Public License
16) * along with this program. If not, see <http://www.gnu.org/licenses/>.
17) */
18)
19) package org.blinkenarea.JFlexiPix;
20)
21) import java.util.Arrays;
22)
23) /// FlexiPix distributor
24) class Distri
25) {
26) /**
27) * @brief constructor
28) * @param[in] distri number of this distributor
29) * @param[in] outputCnt number of outputs
30) * @param[in] pixelCnt number pixels connected to every output
31) */
32) Distri(int distri, int outputCnt, int pixelCnt)
33) {
34) // save constructor parameters
35) m_distri = distri;
36) m_outputCnt = outputCnt;
37) m_pixelCnt = pixelCnt;
38)
|