Skip to content

Commit

Permalink
Create() removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Jan 26, 2025
1 parent 9ddae4c commit bb5f00b
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ namespace eCAL
};

public:
/**
* @brief Constructor.
**/
CPublisher()
: eCAL::CPublisher()
, builder(std::make_unique<capnp::MallocMessageBuilder>())
, root_builder(builder->initRoot<message_type>())
{
}

/**
* @brief Constructor.
*
Expand Down Expand Up @@ -142,19 +132,6 @@ namespace eCAL

}

/**
* @brief Creates this object.
*
* @param topic_name_ Unique topic name.
* @param config_ Optional configuration parameters.
*
* @return True if it succeeds, false if it fails.
**/
bool Create(const std::string& topic_name_, const eCAL::Publisher::Configuration& config_ = {})
{
return(eCAL::CPublisher::Create(topic_name_, GetDataTypeInformation(), config_));
}

typename message_type::Builder GetBuilder()
{
return root_builder;
Expand Down

0 comments on commit bb5f00b

Please sign in to comment.