クラス rcsc::PlayerCompressionCommand

command to set message compression level [詳細]

#include <player_command.h>

rcsc::PlayerCompressionCommandに対する継承グラフ

rcsc::PlayerSupportCommand rcsc::PlayerCommand すべてのメンバ一覧

Public メソッド

 PlayerCompressionCommand (const int level)
 construct with compression level
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command paramter
int level () const
 get compression command parameter

説明

command to set message compression level

  Format:
  <- (compression <level>)
  Response:
  -> (ok compression <LEVEL>)
  -> (warning compression_unsupported)
  


コンストラクタとデストラクタ

rcsc::PlayerCompressionCommand::PlayerCompressionCommand ( const int  level  )  [inline, explicit]

construct with compression level

引数:
level gzip compression level


関数

Type rcsc::PlayerCompressionCommand::type (  )  const [inline, virtual]

get command type

戻り値:
command type Id

rcsc::PlayerSupportCommandを実装しています。

std::ostream & rcsc::PlayerCompressionCommand::toStr ( std::ostream &  to  )  const [virtual]

put command string to ostream

引数:
to reference to the output stream
戻り値:
reference to the output stream

rcsc::PlayerSupportCommandを実装しています。

std::string rcsc::PlayerCompressionCommand::name (  )  const [inline, virtual]

get command paramter

戻り値:
turn neck moment of this command

rcsc::PlayerSupportCommandを実装しています。

int rcsc::PlayerCompressionCommand::level (  )  const [inline]

get compression command parameter

戻り値:
compression level


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:27 2008に生成されました。  doxygen 1.5.0