Planeshift
Public Member Functions | Public Attributes

AdminCmdDataPath Class Reference

Class for handling path commands. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataPath ()
 Creates obj for specified command that manipulate paths.
 AdminCmdDataPath (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Parses the given message and stores its data.
virtual AdminCmdDataCreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Creates an object containing the parsed data for paths.
virtual csString GetHelpMessage ()
 Returns a helpmessage that fits to the parser of the class.
virtual ~AdminCmdDataPath ()

Public Attributes

csString alias
 waypoint alias name
csString aliasSubCmd
 storage for alias subcommand
AdminCmdSubCommandParser aliasSubCommandList
 subsubcmds of alias
csString cmdTarget
 'W' or 'P' as a target for hide/show
float defaultRadius
 default radius for the case radius == 0.0
int firstIndex
 index for waypoint paths
csString flagName
 single flag name
float newRadius
 The radius to set for new radius for wps.
csString pathFlags
 path flags
float radius
 radius for waypoint/path operations
float rotationAngle
 The rotation angle of a alias.
csString subCmd
 storage for subcommand
AdminCmdSubCommandParser subCommandList
 allowed subcommands
csString waypoint
 waypoint name
csString waypointFlags
 waypoint flags
int waypointPathIndex
 Index of the wp or point.
csString waypointPathName
 pathname for waypoints
AdminCmdSubCommandParser wpList
 targetnames of hide/show
bool wpOrPathIsIndex
 True when an index is used.
bool wpOrPathIsWP
 Is it the path or the wp that should be updated.

Detailed Description

Class for handling path commands.

Definition at line 2467 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataPath::AdminCmdDataPath ( ) [inline]

Creates obj for specified command that manipulate paths.

Definition at line 2494 of file adminmanager.h.

AdminCmdDataPath::AdminCmdDataPath ( AdminManager msgManager,
MsgEntry me,
psAdminCmdMessage msg,
Client client,
WordArray words 
)

Parses the given message and stores its data.

Parameters:
msgManagermessage manager that handles this command
meThe incoming message from the GM
msgpsAdminCmdMessage containing the message
clientclient of the network communication
wordscommand message to parse
virtual AdminCmdDataPath::~AdminCmdDataPath ( ) [inline, virtual]

Definition at line 2507 of file adminmanager.h.


Member Function Documentation

virtual AdminCmdData* AdminCmdDataPath::CreateCmdData ( AdminManager msgManager,
MsgEntry me,
psAdminCmdMessage msg,
Client client,
WordArray words 
) [virtual]

Creates an object containing the parsed data for paths.

Parameters:
msgManagermessage manager that handles this command
meThe incoming message from the GM
msgpsAdminCmdMessage containing the message
clientclient of the network communication
wordscommand message to parse
Returns:
AdminCmdData* pointer to object containing parsed data. When parsing failed the valid flag is set to false.

Reimplemented from AdminCmdData.

virtual csString AdminCmdDataPath::GetHelpMessage ( ) [virtual]

Returns a helpmessage that fits to the parser of the class.

Returns:
csString: a help message to send back to the client

Reimplemented from AdminCmdData.


Member Data Documentation

waypoint alias name

Definition at line 2480 of file adminmanager.h.

storage for alias subcommand

Definition at line 2474 of file adminmanager.h.

subsubcmds of alias

Definition at line 2471 of file adminmanager.h.

'W' or 'P' as a target for hide/show

Definition at line 2486 of file adminmanager.h.

default radius for the case radius == 0.0

Definition at line 2476 of file adminmanager.h.

index for waypoint paths

Definition at line 2483 of file adminmanager.h.

single flag name

Definition at line 2481 of file adminmanager.h.

The radius to set for new radius for wps.

Definition at line 2478 of file adminmanager.h.

path flags

Definition at line 2485 of file adminmanager.h.

radius for waypoint/path operations

Definition at line 2477 of file adminmanager.h.

The rotation angle of a alias.

Definition at line 2489 of file adminmanager.h.

storage for subcommand

Definition at line 2473 of file adminmanager.h.

allowed subcommands

Definition at line 2470 of file adminmanager.h.

waypoint name

Definition at line 2479 of file adminmanager.h.

waypoint flags

Definition at line 2484 of file adminmanager.h.

Index of the wp or point.

Definition at line 2487 of file adminmanager.h.

pathname for waypoints

Definition at line 2482 of file adminmanager.h.

targetnames of hide/show

Definition at line 2472 of file adminmanager.h.

True when an index is used.

Definition at line 2488 of file adminmanager.h.

Is it the path or the wp that should be updated.

Definition at line 2475 of file adminmanager.h.


The documentation for this class was generated from the following file: