Program Listing for File block_embodiment_variant.hpp

Return to documentation for file (cosm/argos/block_embodiment_variant.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include <memory>
#include <variant>

#include "cosm/cosm.hpp"

/*******************************************************************************
 * Namespaces/Decls
 ******************************************************************************/
namespace cosm::argos {

struct ramp_block_embodiment;
struct cube_block_embodiment;

/*******************************************************************************
 * Class Definitions
 ******************************************************************************/
using block_embodiment_variant =
    std::variant<std::unique_ptr<ramp_block_embodiment>,
                 std::unique_ptr<cube_block_embodiment> >;

} /* namespace cosm::argos */