#include <SplitItemProcess.h>
Inheritance diagram for SplitItemProcess:
Public Member Functions | |
SplitItemProcess () | |
SplitItemProcess (Item *original, Item *target) | |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
ObjId | target |
Definition at line 26 of file SplitItemProcess.h.
SplitItemProcess::SplitItemProcess | ( | ) |
Definition at line 32 of file SplitItemProcess.cpp.
Definition at line 37 of file SplitItemProcess.cpp.
References Object::getObjId(), Item::getShapeInfo(), ShapeInfo::hasQuantity(), Process::item_num, and target.
SplitItemProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool SplitItemProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 102 of file SplitItemProcess.cpp.
References Process::loadData(), and target.
bool SplitItemProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 51 of file SplitItemProcess.cpp.
References Item::callUsecodeEvent_combine(), Item::destroy(), getItem(), Item::getQuality(), Item::getShapeInfo(), ShapeInfo::hasQuantity(), Process::is_terminated(), Process::item_num, pout, Process::result, Item::setQuality(), target, and Process::terminate().
void SplitItemProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 95 of file SplitItemProcess.cpp.
References Process::saveData(), target, and ODataSource::write2().
ObjId SplitItemProcess::target [protected] |
Definition at line 41 of file SplitItemProcess.h.
Referenced by loadData(), run(), saveData(), and SplitItemProcess().