OpenZWave Library 1.6.1914
Loading...
Searching...
No Matches
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
35namespace OpenZWave
36{
37 namespace Internal
38 {
39 namespace CC
40 {
41
43 {
44 public:
45 SimpleAVCommandItem(uint16 const _code, string _name, string _description, uint16 const _version);
47 string GetName();
48 string GetDescription();
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
unsigned short uint16
Definition Defs.h:88
Definition SimpleAVCommandItem.h:43
string GetDescription()
Definition SimpleAVCommandItem.cpp:84
SimpleAVCommandItem(uint16 const _code, string _name, string _description, uint16 const _version)
Definition SimpleAVCommandItem.cpp:45
uint16 GetVersion()
Definition SimpleAVCommandItem.cpp:66
string GetName()
Definition SimpleAVCommandItem.cpp:75
static vector< SimpleAVCommandItem > GetCommands()
Definition SimpleAVCommandItem.cpp:93
uint16 GetCode()
Definition SimpleAVCommandItem.cpp:57
Definition Bitfield.cpp:31