<commit_before>/*************************************************************************
 * Copyright (c) 2013 eProsima. All rights reserved.
 *
 * This generated file is licensed to you under the terms described in the
 * fastcdr_LICENSE file included in this fastcdr distribution.
 *
 *************************************************************************
 * 
 * @file FilteringExamplePublisher.h
 * This header file contains the declaration of the publisher functions.
 *
 * This file was generated by the tool fastcdrgen.
 */


#ifndef _FILTERINGEXAMPLE_PUBLISHER_H_
#define _FILTERINGEXAMPLE_PUBLISHER_H_

#include <fastrtps/fastrtps_fwd.h>
#include <fastrtps/publisher/PublisherListener.h>

#include "FilteringExamplePubSubTypes.h"

using namespace eprosima::fastrtps;

class FilteringExamplePublisher 
{
public:
	FilteringExamplePublisher();
	virtual ~FilteringExamplePublisher();
	bool init();
	void run();
private:
	Participant *mp_participant;
	Publisher *mp_slow_publisher;
	Publisher *mp_fast_publisher;

	class PubListener : public PublisherListener
	{
	public:<commit_msg>Supressed reorder warning<commit_after>/*************************************************************************
 * Copyright (c) 2013 eProsima. All rights reserved.
 *
 * This generated file is licensed to you under the terms described in the
 * fastcdr_LICENSE file included in this fastcdr distribution.
 *
 *************************************************************************
 * 
 * @file FilteringExamplePublisher.h
 * This header file contains the declaration of the publisher functions.
 *
 * This file was generated by the tool fastcdrgen.
 */


#ifndef _FILTERINGEXAMPLE_PUBLISHER_H_
#define _FILTERINGEXAMPLE_PUBLISHER_H_

#include <fastrtps/fastrtps_fwd.h>
#include <fastrtps/publisher/PublisherListener.h>

#include "FilteringExamplePubSubTypes.h"

using namespace eprosima::fastrtps;

class FilteringExamplePublisher 
{
public:
	FilteringExamplePublisher();
	virtual ~FilteringExamplePublisher();
	bool init();
	void run();
private:
	Participant *mp_participant;
	Publisher *mp_fast_publisher;
	Publisher *mp_slow_publisher;

	class PubListener : public PublisherListener
	{
	public:
{'fraction_non_alphanumeric': 0.19708029197080293, 'fraction_numerical': 0.0036496350364963502, 'mean_word_length': 6.641114982578397, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7552094', 'n_tokens_mistral': 671, 'n_tokens_neox': 586, 'n_words': 167}