[136] | 1 | /*
|
---|
| 2 | ###############################################################################
|
---|
| 3 | #
|
---|
| 4 | # Temboo Arduino library
|
---|
| 5 | #
|
---|
| 6 | # Copyright 2014, Temboo Inc.
|
---|
| 7 | #
|
---|
| 8 | # Licensed under the Apache License, Version 2.0 (the "License");
|
---|
| 9 | # you may not use this file except in compliance with the License.
|
---|
| 10 | # You may obtain a copy of the License at
|
---|
| 11 | #
|
---|
| 12 | # http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 13 | #
|
---|
| 14 | # Unless required by applicable law or agreed to in writing,
|
---|
| 15 | # software distributed under the License is distributed on an
|
---|
| 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
---|
| 17 | # either express or implied. See the License for the specific
|
---|
| 18 | # language governing permissions and limitations under the License.
|
---|
| 19 | #
|
---|
| 20 | ###############################################################################
|
---|
| 21 | */
|
---|
| 22 |
|
---|
| 23 | #ifndef CHOREOOUTPUT_H_
|
---|
| 24 | #define CHOREOOUTPUT_H_
|
---|
| 25 | #include "TembooGlobal.h"
|
---|
| 26 |
|
---|
| 27 | class ChoreoOutput {
|
---|
| 28 | public:
|
---|
| 29 | ChoreoOutput(ChoreoOutput* prev, const char* name, const char* path, const char* var);
|
---|
| 30 | const char* getName() const {return m_name;}
|
---|
| 31 | const char* getPath() const {return m_path;}
|
---|
| 32 | const char* getVariable() const {return m_var;}
|
---|
| 33 | void setPath(const char* path) {m_path = path;}
|
---|
| 34 | void setVariable(const char* variable) {m_var = variable;}
|
---|
| 35 | ChoreoOutput* getNext() const {return m_next;}
|
---|
| 36 |
|
---|
| 37 | private:
|
---|
| 38 | ChoreoOutput* m_next;
|
---|
| 39 | const char* m_name;
|
---|
| 40 | const char* m_path;
|
---|
| 41 | const char* m_var;
|
---|
| 42 | };
|
---|
| 43 |
|
---|
| 44 | #endif
|
---|