Pol  Rev 533
UPlank Class Reference

#include <boatcomp.h>

+ Inheritance diagram for UPlank:
+ Collaboration diagram for UPlank:

List of all members.

Public Member Functions

void setboat (UBoat *boat)

Protected Member Functions

 UPlank (const ItemDesc &descriptor)
virtual void destroy ()
virtual class BObjectImpget_script_member (const char *membername) const
virtual class BObjectImpget_script_member_id (const int id) const

Private Types

typedef ULockable base

Private Attributes

ref_ptr< UBoatboat_
 id test

Friends

ItemItem::create (const ItemDesc &descriptor, u32 serial)

Detailed Description

Definition at line 20 of file boatcomp.h.


Member Typedef Documentation

typedef ULockable UPlank::base [private]

Reimplemented from ULockable.

Definition at line 22 of file boatcomp.h.


Constructor & Destructor Documentation

UPlank::UPlank ( const ItemDesc descriptor) [explicit, protected]

Definition at line 16 of file boatcomp.cpp.


Member Function Documentation

void UPlank::destroy ( ) [protected, virtual]

Reimplemented from UObject.

Definition at line 25 of file boatcomp.cpp.

References boat_, ref_ptr< T >::clear(), and UObject::destroy().

+ Here is the call graph for this function:

BObjectImp * UPlank::get_script_member ( const char *  membername) const [protected, virtual]

Reimplemented from ULockable.

Definition at line 2855 of file uoscrobj.cpp.

References ULockable::get_script_member(), get_script_member_id(), getKnownObjMember(), and ObjMember::id.

+ Here is the call graph for this function:

BObjectImp * UPlank::get_script_member_id ( const int  id) const [protected, virtual]

Reimplemented from ULockable.

Definition at line 2840 of file uoscrobj.cpp.

References boat_, ref_ptr< T >::get(), ULockable::get_script_member_id(), and MBR_MULTI.

Referenced by get_script_member().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void UPlank::setboat ( UBoat boat)

Definition at line 20 of file boatcomp.cpp.

References boat_, and ref_ptr< T >::set().

Referenced by UBoat::rescan_components().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Friends And Related Function Documentation

Item* Item::create ( const ItemDesc descriptor,
u32  serial 
) [friend]

Member Data Documentation

id test

Definition at line 34 of file boatcomp.h.

Referenced by destroy(), get_script_member_id(), and setboat().


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