CSWSendEventCommand Class Reference

Inheritance diagram for CSWSendEventCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ARSTD::Command::PtrType copy () const

Static Public Member Functions

static PtrType create (boost::shared_ptr< CSWEvent > pEvent)

Detailed Description

This is a specialization of a command. It provides the functionality to send an event.


Member Function Documentation

CSWSendEventCommand::PtrType CSWSendEventCommand::create ( boost::shared_ptr< CSWEvent pEvent  )  [static]

Creates a new send event command. If no valid event is given an exception is thrown.

Parameters:
pEvent The event which should be sent. This must be not None.
Returns:
Returns the new constructed command.

ARSTD::Command::PtrType CSWSendEventCommand::copy (  )  const [virtual]

Returns a copy of the command.

Returns:
The copied command.

Implements ARSTD::Command.


Generated at 2 Jan 2007 for project CodeSubWars. www.codesubwars.org