Searched refs:FdInterface (Results 1 – 3 of 3) sorted by relevance
38 struct FdInterface { struct45 FdInterface() = default;46 virtual ~FdInterface() = default;47 FdInterface(FdInterface const &) = delete;48 FdInterface &operator=(FdInterface const &) = delete; argument51 struct FdWriter : FdInterface {66 GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, int validated_capacity_headroom_fd,69 std::unique_ptr<FdInterface> fd_interface, std::string_view gpu_node_dir);77 std::unique_ptr<FdInterface> const fd_interface_;
41 GpuCapacityNode::GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, in GpuCapacityNode()57 std::unique_ptr<FdInterface> fd_interface, std::string_view gpu_node_dir) { in init_gpu_capacity_node()
32 struct MockFdInterface : FdInterface {40 struct FdInterfaceWrapper : FdInterface {41 FdInterfaceWrapper(std::shared_ptr<FdInterface> const &wrapped) : wrapped_(wrapped) {} in FdInterfaceWrapper()56 std::shared_ptr<FdInterface> const wrapped_;