18 #ifndef EQFABRIC_PATHS_H 19 #define EQFABRIC_PATHS_H 32 explicit NodePath(
const uint32_t index = 0)
39 struct PipePath :
public NodePath
41 explicit PipePath(
const uint32_t index = 0)
45 explicit PipePath(
const NodePath& p)
53 struct WindowPath :
public PipePath
55 explicit WindowPath(
const uint32_t index = 0)
59 explicit WindowPath(
const PipePath& p)
67 struct ChannelPath :
public WindowPath
69 explicit ChannelPath(
const uint32_t index = 0)
73 explicit ChannelPath(
const WindowPath& p)
78 uint32_t channelIndex;
84 explicit CanvasPath(
const uint32_t index = 0)
91 struct SegmentPath :
public CanvasPath
93 explicit SegmentPath(
const uint32_t index = 0)
97 explicit SegmentPath(
const CanvasPath& p)
102 uint32_t segmentIndex;
107 explicit ObserverPath(
const uint32_t index = 0)
108 : observerIndex(index)
111 uint32_t observerIndex;
116 explicit LayoutPath(
const uint32_t index = 0)
120 uint32_t layoutIndex;
123 struct ViewPath :
public LayoutPath
125 explicit ViewPath(
const uint32_t index = 0)
129 explicit ViewPath(
const LayoutPath& p)
138 inline std::ostream&
operator<<(std::ostream& os,
const NodePath& path)
140 os <<
"node " << path.nodeIndex;
143 inline std::ostream&
operator<<(std::ostream& os,
const PipePath& path)
145 os << static_cast<const NodePath&>(path) <<
" pipe " << path.pipeIndex;
148 inline std::ostream&
operator<<(std::ostream& os,
const WindowPath& path)
150 os << static_cast<const PipePath&>(path) <<
" window " << path.windowIndex;
153 inline std::ostream&
operator<<(std::ostream& os,
const ChannelPath& path)
155 os << static_cast<const WindowPath&>(path) <<
" channel " 156 << path.channelIndex;
160 inline std::ostream&
operator<<(std::ostream& os,
const ObserverPath& path)
162 os <<
"observer " << path.observerIndex;
166 inline std::ostream&
operator<<(std::ostream& os,
const LayoutPath& path)
168 os <<
"layout " << path.layoutIndex;
171 inline std::ostream&
operator<<(std::ostream& os,
const ViewPath& path)
173 os << static_cast<const LayoutPath&>(path) <<
" view " << path.viewIndex;
177 inline std::ostream&
operator<<(std::ostream& os,
const CanvasPath& path)
179 os <<
"canvas " << path.canvasIndex;
182 inline std::ostream&
operator<<(std::ostream& os,
const SegmentPath& path)
184 os << static_cast<const CanvasPath&>(path) <<
" segment " 185 << path.segmentIndex;
191 #endif // EQFABRIC_PATHS_H The Equalizer client library.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.