diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2015-12-09 10:48:06 -0600 |
---|---|---|
committer | Gregory S. Still <stillgs@us.ibm.com> | 2016-01-27 11:45:57 -0600 |
commit | f2a5b982c77718b43e6c7a448a5c67761c143605 (patch) | |
tree | cf9523ba9bdb14c096ff197cbfa40de3eb8749d2 /hwpf/include/fapi2_target.H | |
parent | 1e33470b9f718cd95f4810ee1798f39c5425e47d (diff) | |
download | talos-sbe-f2a5b982c77718b43e6c7a448a5c67761c143605.tar.gz talos-sbe-f2a5b982c77718b43e6c7a448a5c67761c143605.zip |
Plat implementation of getchildren, filtered
Change-Id: I7550b2d011da5f9d87f84ec0133b5e1dffa56871
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22577
Tested-by: Jenkins Server
Reviewed-by: Tali Rabetti <talis@il.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'hwpf/include/fapi2_target.H')
-rw-r--r-- | hwpf/include/fapi2_target.H | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hwpf/include/fapi2_target.H b/hwpf/include/fapi2_target.H index 363c371e..35fbf97e 100644 --- a/hwpf/include/fapi2_target.H +++ b/hwpf/include/fapi2_target.H @@ -218,6 +218,19 @@ namespace fapi2 getChildren(const TargetState i_state = TARGET_STATE_FUNCTIONAL) const; /// + /// @brief Get this target's children, filtered + /// @tparam T The type of the parent + /// @param[in], i_filter The desired chiplet filter + /// @param[in] i_state The desired TargetState of the children + /// @return std::vector<Target<T> > a vector of present/functional + /// children + /// + template< TargetType T> + std::vector<Target<T> > + getChildren(const TargetFilter i_filter, + const TargetState i_state = TARGET_STATE_FUNCTIONAL) const; + + /// /// @brief Get the target at the other end of a bus - dimm included /// @tparam T The type of the parent /// @param[in] i_state The desired TargetState of the children |