OpenZWave Library
1.6.1392
cpp
src
command_classes
SimpleAVCommandItem.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
//
3
// SimpleAVCommandItem.h
4
//
5
// Implementation of the Z-Wave COMMAND_CLASS_SIMPLE_AV_CONTROL
6
//
7
// Copyright (c) 2018
8
//
9
// SOFTWARE NOTICE AND LICENSE
10
//
11
// This file is part of OpenZWave.
12
//
13
// OpenZWave is free software: you can redistribute it and/or modify
14
// it under the terms of the GNU Lesser General Public License as published
15
// by the Free Software Foundation, either version 3 of the License,
16
// or (at your option) any later version.
17
//
18
// OpenZWave is distributed in the hope that it will be useful,
19
// but WITHOUT ANY WARRANTY; without even the implied warranty of
20
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
// GNU Lesser General Public License for more details.
22
//
23
// You should have received a copy of the GNU Lesser General Public License
24
// along with OpenZWave. If not, see <http://www.gnu.org/licenses/>.
25
//
26
//-----------------------------------------------------------------------------
27
28
#ifndef _SimpleAVCommandItem_H
29
#define _SimpleAVCommandItem_H
30
31
#include <string>
32
#include <vector>
33
#include "
Defs.h
"
34
35
namespace
OpenZWave
36
{
37
namespace
Internal
38
{
39
namespace
CC
40
{
41
42
class
SimpleAVCommandItem
43
{
44
public
:
45
SimpleAVCommandItem
(
uint16
const
_code,
string
_name,
string
_description,
uint16
const
_version);
46
uint16
GetCode
();
47
string
GetName
();
48
string
GetDescription
();
49
uint16
GetVersion
();
50
51
static
vector<SimpleAVCommandItem>
GetCommands
();
52
53
private
:
54
uint16
m_code;
55
string
m_name;
56
string
m_description;
57
uint16
m_version;
58
};
59
}
// namespace CC
60
}
// namespace Internal
61
}
// namespace CC
62
63
#endif
OpenZWave::Internal::CC::SimpleAVCommandItem::GetDescription
string GetDescription()
Definition:
SimpleAVCommandItem.cpp:84
OpenZWave::Internal::CC::SimpleAVCommandItem::GetVersion
uint16 GetVersion()
Definition:
SimpleAVCommandItem.cpp:66
OpenZWave::Internal::CC::SimpleAVCommandItem::GetCommands
static vector< SimpleAVCommandItem > GetCommands()
Definition:
SimpleAVCommandItem.cpp:93
OpenZWave::Internal::CC::SimpleAVCommandItem::SimpleAVCommandItem
SimpleAVCommandItem(uint16 const _code, string _name, string _description, uint16 const _version)
Definition:
SimpleAVCommandItem.cpp:45
OpenZWave::Internal::CC::SimpleAVCommandItem
Definition:
SimpleAVCommandItem.h:43
OpenZWave::Internal::CC::SimpleAVCommandItem::GetName
string GetName()
Definition:
SimpleAVCommandItem.cpp:75
Defs.h
uint16
unsigned short uint16
Definition:
Defs.h:88
OpenZWave::Internal::CC::SimpleAVCommandItem::GetCode
uint16 GetCode()
Definition:
SimpleAVCommandItem.cpp:57
OpenZWave
Definition:
Bitfield.cpp:31
Generated on Thu Jul 30 2020 00:00:00 for OpenZWave Library by
1.8.20