File topic_refcount.hpp

File List > astutedds > rmw > topic_refcount.hpp

Go to the documentation of this file

//
// Copyright (c) 2026, Astute Systems PTY LTD
//
// This file is part of the AstuteDDS RMW implementation.
//
// See the commercial LICENSE file in the project root for full license details.
//

#pragma once

#include <string>

#include <astutedds/rmw/types.hpp>

void
acquire_topic_ref(AstuteDDSContext * ctx, const std::string & dds_topic_name);

void
release_topic_ref(
    AstuteDDSContext * ctx, const std::string & dds_topic_name, AstuteDDS_Topic topic);