24namespace shamrock::solvergraph {
26 class ExtractCounts :
public INode {
37 std::shared_ptr<IPatchDataLayerRefs> refs, std::shared_ptr<
Indexes<u32>> counts) {
49 auto edges = get_edges();
50 edges.counts.indexes = edges.refs.get_const_refs().map<
u32>(
52 return pdat.get_obj_cnt();
Defines the PatchDataLayerRefs class for managing distributed references to patch data layers.
std::uint32_t u32
32 bit unsigned integer
std::uint64_t u64
64 bit unsigned integer
PatchDataLayer container class, the layout is described in patchdata_layout.
T & get_rw_edge(int slot)
Get a read write edge and cast it to the type T.
void __internal_set_rw_edges(std::vector< std::shared_ptr< IEdge > > new_rw_edges)
Set the read write edges.
void __internal_set_ro_edges(std::vector< std::shared_ptr< IEdge > > new_ro_edges)
Set the read only edges.
const T & get_ro_edge(int slot)
Get a read only edge and cast it to the type T.