/*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD (revised)
license as described in the file LICENSE.
*/
#pragma once
#include "spanning_tree.h"
namespace VW
{
///
/// Managed wrapper for AllReduce spanning tree implementation.
///
public ref class SpanningTreeClr
{
private:
SpanningTree* m_spanningTree;
public:
///
/// Initializes a new instance.
///
SpanningTreeClr();
~SpanningTreeClr();
///
/// Starts the server on a background thread.
///
void Start();
///
/// Runs the server on the calling thread.
///
void Run();
///
/// Stops the background thread.
///
void Stop();
};
}