Open Lighting Architecture
Main Page
Modules
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
olad
PortConstants.h
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 2 of the License, or
5
* (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU Library General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software
14
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
*
16
* PortConstants.h
17
* Header file for the Port Constants.
18
* Copyright (C) 2005-2010 Simon Newton
19
*/
20
21
#ifndef INCLUDE_OLAD_PORTCONSTANTS_H_
22
#define INCLUDE_OLAD_PORTCONSTANTS_H_
23
24
namespace
ola {
25
typedef
enum
{
26
PRIORITY_MODE_INHERIT,
27
PRIORITY_MODE_OVERRIDE,
28
PRIORITY_MODE_END,
29
} port_priority_mode;
30
31
typedef
enum
{
32
CAPABILITY_NONE,
// port doesn't support priorities at all
33
CAPABILITY_STATIC,
// port allows a static priority assignment
34
CAPABILITY_FULL,
// port can either inherit or use a static assignment
35
} port_priority_capability;
36
}
// namespace ola
37
#endif // INCLUDE_OLAD_PORTCONSTANTS_H_
Generated on Fri Apr 4 2014 11:54:23 for Open Lighting Architecture by
1.8.1.2