<commit_before>/*! \file kernel/userver.hh
 *******************************************************************************

 File: userver.h\n
 Definition of the USystem class.

 This file is part of
 %URBI Kernel, version __kernelversion__\n
 (c) <NAME>, 2004-2005.

 Permission to use, copy, modify, and redistribute this software for
 non-commercial use is hereby granted.

 This software is provided "as is" without warranty of any kind,
 either expressed or implied, including but not limited to the
 implied warranties of fitness for a particular purpose.

 For more information, comments, bug reports: http://www.urbiforge.net

 **************************************************************************** */

#ifndef KERNEL_USERVER_HH
# define KERNEL_USERVER_HH

# include <cstdarg>
# include <sstream>

# include <libport/config.h>
# if ! defined LIBPORT_URBI_ENV_AIBO
#  include <boost/thread.hpp>
# endif

# include <libport/fwd.hh>
# include <libport/compiler.hh>
# include <libport/file-library.hh>
# include <libport/ufloat.h>
# include <libport/utime.hh>

# include "kernel/fwd.hh"
# include "kernel/utypes.hh"

namespace runner
{
  class Runner;
}

namespace scheduler
{
  class Scheduler;
}

extern const char* DISPLAY_FORMAT;
extern const char* DISPLAY_FORMAT1;
extern const char* DISPLAY_FORMAT2;


/// Global variable for the server
extern class UServer* urbiserver;


//! UServer class: handles all URBI system processing.
/*! There must be one UServer defined in the program and it must be overloaded
    to make it specific to the particular robot.

    UServer is used to store the UConnection list and the UDevice list.
    This object does all the internal processing of URBI and handles the pool
    of UCommand's.
*/
class UServer
{
public:
  UServer(const char* mainName);
  virtual ~UServer ();
<commit_msg>Do not repeat what is in fwd.hh<commit_after>/*! \file kernel/userver.hh
 *******************************************************************************

 File: userver.h\n
 Definition of the USystem class.

 This file is part of
 %URBI Kernel, version __kernelversion__\n
 (c) <NAME>, 2004-2005.

 Permission to use, copy, modify, and redistribute this software for
 non-commercial use is hereby granted.

 This software is provided "as is" without warranty of any kind,
 either expressed or implied, including but not limited to the
 implied warranties of fitness for a particular purpose.

 For more information, comments, bug reports: http://www.urbiforge.net

 **************************************************************************** */

#ifndef KERNEL_USERVER_HH
# define KERNEL_USERVER_HH

# include <cstdarg>
# include <sstream>

# include <libport/config.h>
# if ! defined LIBPORT_URBI_ENV_AIBO
#  include <boost/thread.hpp>
# endif

# include <libport/fwd.hh>
# include <libport/compiler.hh>
# include <libport/file-library.hh>
# include <libport/ufloat.h>
# include <libport/utime.hh>

# include "kernel/fwd.hh"
# include "kernel/utypes.hh"

# include "runner/fwd.hh"
# include "scheduler/fwd.hh"

extern const char* DISPLAY_FORMAT;
extern const char* DISPLAY_FORMAT1;
extern const char* DISPLAY_FORMAT2;


/// Global variable for the server
extern class UServer* urbiserver;


//! UServer class: handles all URBI system processing.
/*! There must be one UServer defined in the program and it must be overloaded
    to make it specific to the particular robot.

    UServer is used to store the UConnection list and the UDevice list.
    This object does all the internal processing of URBI and handles the pool
    of UCommand's.
*/
class UServer
{
public:
  UServer(const char* mainName);
  virtual ~UServer ();

{'fraction_non_alphanumeric': 0.1627589967284624, 'fraction_numerical': 0.0054525627044711015, 'mean_word_length': 4.56752655538695, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3187701', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1036, 'n_words': 394}