1. xo-gc now depends on xo-object2. 2. use genfacet for ICollector_DX1Collector 3. moves xo-gc utest previously in xo-object2 to more natural location in xo-gc/
35 lines
951 B
C++
35 lines
951 B
C++
/** @file GcPrimitives.hpp
|
|
*
|
|
* @author Roland Conybeare, Mar 2026
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
#include "Primitive_gco_0.hpp"
|
|
#include "Primitive_gco_1_gco.hpp"
|
|
|
|
namespace xo {
|
|
namespace scm {
|
|
|
|
/** @rbief primitives centered on gc/ data structures.
|
|
* (i.e. X1Collector)
|
|
**/
|
|
class GcPrimitives {
|
|
public:
|
|
using AAllocator = xo::mm::AAllocator;
|
|
|
|
public:
|
|
/** create primitive: report gc statistics **/
|
|
static DPrimitive_gco_0 * make_report_gc_statistics_pm(obj<AAllocator> mm,
|
|
StringTable * stbl);
|
|
|
|
/** create primitive: request collection **/
|
|
static DPrimitive_gco_1_gco * make_request_gc_pm(obj<AAllocator> mm,
|
|
StringTable * stbl);
|
|
};
|
|
|
|
} /*namespace scm*/
|
|
} /*namespace xo*/
|
|
|
|
|
|
/* end GcPrimitives.hpp */
|