class BasePlayer


継承:


public メンバ関数
[more] BasePlayer()
[more]Bool init(const char* const shost = DfltSSHost, UInt sport = DfltSSPort, const char* const tname = DfltTeamName, Bool gp = False, Flt proto = DfltSSProto, Bool openp = True, Bool reconnectp = False)
[more]Bool open(Bool reconnectp = False)
[more]virtual Bool sendInit()
[more]virtual Bool sendReconnect()
[more]virtual Bool send()
[more]virtual Bool sendMove(Flt x, Flt y)
[more]Bool sendMove(const Vec & pos)
[more]virtual Bool sendTurn(Flt power)
[more]virtual Bool sendDash(Flt power)
[more]virtual Bool sendKick(Flt power, Flt dir)
[more]virtual Bool sendCatch(Flt dir)
[more]virtual Bool sendTurnNeck(Flt pow)
[more]virtual Bool sendSay(const SubString & msg)
[more]virtual Bool sendSenseBody()
[more]virtual Bool sendChangeView(ViewWidth vw, ViewQuality vq)
[more]virtual Bool sendCommandPre(Bool bodyp)
[more]virtual Bool sendCommandPost(Bool bodyp)
[more]virtual Bool recv()
[more]virtual Bool cycleSensor()
[more]virtual Bool cycleSensorPre()
Executed before the body part of cycleSensor().
[more]virtual Bool cycleSensorPost(Bool result)
Executed after the body part of cycleSensor().
[more]virtual Bool scanSensor(SimpleSexp & s)
[more]Bool scanSensor(SimpleSexp* s)
[more]virtual Bool scanSensorPre(SimpleSexp & s)
[more]virtual Bool scanSensorPost(SimpleSexp & s, Bool r)
[more]virtual Bool terminate()
[more]static void sleep(const UInt & sec = 0, const UInt & msec = 0, const UInt & usec = 0)
[more]static void sleepUntil(const TimeVal & etime)

public クラス
[more]typedef ScWord * PlayMode


文書

otypedef ScWord * PlayMode

o BasePlayer()

oBool init(const char* const shost = DfltSSHost, UInt sport = DfltSSPort, const char* const tname = DfltTeamName, Bool gp = False, Flt proto = DfltSSProto, Bool openp = True, Bool reconnectp = False)

oBool open(Bool reconnectp = False)

ovirtual Bool sendInit()

ovirtual Bool sendReconnect()

ovirtual Bool send()

ovirtual Bool sendMove(Flt x, Flt y)

oBool sendMove(const Vec & pos)

ovirtual Bool sendTurn(Flt power)

ovirtual Bool sendDash(Flt power)

ovirtual Bool sendKick(Flt power, Flt dir)

ovirtual Bool sendCatch(Flt dir)

ovirtual Bool sendTurnNeck(Flt pow)

ovirtual Bool sendSay(const SubString & msg)

ovirtual Bool sendSenseBody()

ovirtual Bool sendChangeView(ViewWidth vw, ViewQuality vq)

ovirtual Bool sendCommandPre(Bool bodyp)

ovirtual Bool sendCommandPost(Bool bodyp)

ovirtual Bool recv()

ovirtual Bool cycleSensor()

ovirtual Bool cycleSensorPre()
Executed before the body part of cycleSensor(). If it return False, cycleSensor immediately returns.

ovirtual Bool cycleSensorPost(Bool result)
Executed after the body part of cycleSensor(). @arg result is return value of the body part. The return value will be the return value of cycleSensor().

ovirtual Bool scanSensor(SimpleSexp & s)

oBool scanSensor(SimpleSexp* s)

ovirtual Bool scanSensorPre(SimpleSexp & s)

ovirtual Bool scanSensorPost(SimpleSexp & s, Bool r)

ovirtual Bool terminate()

ostatic void sleep(const UInt & sec = 0, const UInt & msec = 0, const UInt & usec = 0)

ostatic void sleepUntil(const TimeVal & etime)


直接の子クラス :
ThreadedPlayer

Alphabetic index HTML クラス階層 or Java



This page was generated with the help of DOC++.