Open Lighting Architecture: include/olad/PortConstants.h Source File

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
PortConstants.h
Go to the documentation of this file.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
15 *
16 * PortConstants.h
17 * Header file for the Port Constants.
18 * Copyright (C) 2005 Simon Newton
19 */
20
21#ifndef INCLUDE_OLAD_PORTCONSTANTS_H_
22#define INCLUDE_OLAD_PORTCONSTANTS_H_
33
34namespace ola {
35
40
44 typedef enum {
46 PRIORITY_MODE_INHERIT,
49 PRIORITY_MODE_STATIC,
52 PRIORITY_MODE_END,
53 } port_priority_mode;
54
58 typedef enum {
60 CAPABILITY_NONE,
62 CAPABILITY_STATIC,
64 CAPABILITY_FULL,
65 } port_priority_capability;
66
68
69} // namespace ola
70#endif // INCLUDE_OLAD_PORTCONSTANTS_H_
ola::port_priority_capability
port_priority_capability
Defines the priority capability of a Port.
Definition PortConstants.h:58
ola::port_priority_mode
port_priority_mode
Defines the different priority modes that OLA supports.
Definition PortConstants.h:44
ola::CAPABILITY_STATIC
@ CAPABILITY_STATIC
Definition PortConstants.h:62
ola::CAPABILITY_FULL
@ CAPABILITY_FULL
Definition PortConstants.h:64
ola::CAPABILITY_NONE
@ CAPABILITY_NONE
Definition PortConstants.h:60
ola::PRIORITY_MODE_END
@ PRIORITY_MODE_END
Definition PortConstants.h:52
ola::PRIORITY_MODE_STATIC
@ PRIORITY_MODE_STATIC
Definition PortConstants.h:49
ola::PRIORITY_MODE_INHERIT
@ PRIORITY_MODE_INHERIT
Definition PortConstants.h:46
ola
The namespace containing all OLA symbols.
Definition Credentials.cpp:44