Public Member Functions | Protected Attributes

cyber::editor::commands::creation::CreateObjectDesc Class Reference

#include <CreateObjectDesc.h>

Inheritance diagram for cyber::editor::commands::creation::CreateObjectDesc:
cyber::editor::commands::Command cyber::editor::commands::creation::CreateBodyObjectDesc cyber::editor::commands::creation::CreateConceptDesc cyber::editor::commands::creation::CreateLightDesc cyber::editor::commands::creation::CreatePolyBodyObjectDesc cyber::editor::commands::creation::CreateSphereBodyObjectDesc cyber::editor::commands::creation::CreateMaterialDesc cyber::editor::commands::creation::CreateAmbientLightDesc cyber::editor::commands::creation::CreateAttenuatedLightDesc cyber::editor::commands::creation::CreateFixedBlockDesc cyber::editor::commands::creation::CreatePointLightDesc cyber::editor::commands::creation::CreateSpotLightDesc

List of all members.

Public Member Functions

 CreateObjectDesc (unsigned cmd_number, const cl7::string_type &cmd_name, world::WorldDesc *world_desc, unsigned obj_id)
virtual ~CreateObjectDesc (void)
unsigned get_obj_id () const
world::ObjectDescget_obj_desc () const

Protected Attributes

const unsigned _obj_id
world::ObjectDesc_obj_desc

Detailed Description

The (base) class for any creation command.


Constructor & Destructor Documentation

cyber::editor::commands::creation::CreateObjectDesc::CreateObjectDesc ( unsigned  cmd_number,
const cl7::string_type cmd_name,
world::WorldDesc world_desc,
unsigned  obj_id 
)

Explicit constructor.

cyber::editor::commands::creation::CreateObjectDesc::~CreateObjectDesc ( void   )  [virtual]

Destructor.


Member Function Documentation

world::ObjectDesc* cyber::editor::commands::creation::CreateObjectDesc::get_obj_desc (  )  const [inline]

Returns the created object description.

unsigned cyber::editor::commands::creation::CreateObjectDesc::get_obj_id (  )  const [inline]

Returns the id of the created object description.


Member Data Documentation

The id of the created object description.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines