VISR  0.11.1
Versatile Interactive Scene Renderer
port_base.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_PORT_BASE_HPP_INCLUDED
4 #define VISR_PORT_BASE_HPP_INCLUDED
5 
6 #include "export_symbols.hpp"
7 
8 namespace visr
9 {
10 
11 // Forward declaration(s)
12 class Component;
13 
19 class VISR_CORE_LIBRARY_SYMBOL PortBase
20 {
21 public:
22  enum class Direction
23  {
24  Input = 1,
25  Output = 2,
26  All = Input | Output
27  };
28 };
29 
30 VISR_CORE_LIBRARY_SYMBOL PortBase::Direction operator|( PortBase::Direction lhs, PortBase::Direction rhs );
31 
32 VISR_CORE_LIBRARY_SYMBOL PortBase::Direction operator&( PortBase::Direction lhs, PortBase::Direction rhs );
33 
34 } // namespace visr
35 
36 #endif // #ifndef VISR_PORT_BASE_HPP_INCLUDED
Definition: port_base.hpp:19
Direction
Definition: port_base.hpp:22
Definition: options.cpp:10
PortBase::Direction operator|(PortBase::Direction lhs, PortBase::Direction rhs)
Definition: port_base.cpp:10
PortBase::Direction operator&(PortBase::Direction lhs, PortBase::Direction rhs)
Definition: port_base.cpp:16