targeting.hpp (fabe92e8ed1cbb65e4b054f41688935416765917) targeting.hpp (be407166d0cb22f6967055b426c805e82ac48af8)
1#pragma once
2
3#include <memory>
4#include <vector>
5#include "filedescriptor.hpp"
6
7namespace openpower
8{

--- 113 unchanged lines hidden (view full) ---

122 /**
123 * Returns the number of targets
124 */
125 inline auto size()
126 {
127 return targets.size();
128 }
129
1#pragma once
2
3#include <memory>
4#include <vector>
5#include "filedescriptor.hpp"
6
7namespace openpower
8{

--- 113 unchanged lines hidden (view full) ---

122 /**
123 * Returns the number of targets
124 */
125 inline auto size()
126 {
127 return targets.size();
128 }
129
130 /**
131 * Returns a target by position.
132 */
133 std::unique_ptr<Target>& getTarget(size_t pos);
134
130 private:
131
132 /**
133 * The path to the fsi-master sysfs device to access
134 */
135 const std::string fsiMasterPath;
136
137 /**

--- 12 unchanged lines hidden ---
135 private:
136
137 /**
138 * The path to the fsi-master sysfs device to access
139 */
140 const std::string fsiMasterPath;
141
142 /**

--- 12 unchanged lines hidden ---