Emergency 20 Dokumentation  4.2.0
em5::TreatmentInformation Class Reference

Diagnosis definition class. More...

#include <TreatmentInformation.h>

Inheritance diagram for em5::TreatmentInformation:
qsf::Object em5::Diagnosis em5::MedicalCare

Public Member Functions

 TreatmentInformation ()
 Constructor. More...
 
virtual ~TreatmentInformation ()
 Destructor. More...
 
uint32 getDiagnosisId () const
 
const std::string & getName () const
 
void setName (const std::string &name)
 
const qsf::TimegetUsingTime () const
 
void setUsingTime (const qsf::Time &time)
 
const qsf::AssetProxygetDoctorAnimation () const
 
void setDoctorAnimation (const qsf::AssetProxy &doctorAnimation)
 
const qsf::AssetProxygetDoctorAnimationLoop () const
 
void setDoctorAnimationLoop (const qsf::AssetProxy &doctorAnimationLoop)
 
const std::string & getDoctorAnimationEnd () const
 
void setDoctorAnimationEnd (const std::string &doctorAnimationEnd)
 
const std::string & getTreatmentLogicName () const
 
void setTreatmentLogicName (const std::string &doctorActionName)
 
const std::string & getEquipmentMainName () const
 
void setEquipmentMainName (const std::string &equipmentMainName)
 
const std::string & getEquipmentUseAnimationName () const
 
void setEquipmentUseAnimationName (const std::string &equipmentUseAnimationName)
 
const std::string & getEquipmentUseLoopAnimationName () const
 
void setEquipmentUseLoopAnimationName (const std::string &equipmentUseLoopAnimationName)
 
const std::string & getEquipmentUseEndAnimationName () const
 
void setEquipmentUseEndAnimationName (const std::string &equipmentUseEndAnimationName)
 
const std::string & getEquipmentGetAnimationName () const
 
void setEquipmentGetAnimationName (const std::string &equipmentGetAnimationName)
 
const std::string & getEquipmentPutBackAnimationName () const
 
void setEquipmentPutBackAnimationName (const std::string &equipmentPutBackAnimationName)
 
const std::string & getEquipmentSecondName () const
 
void setEquipmentSecondName (const std::string &equipmentSecondName)
 
const qsf::TimegetTime1 () const
 
void setTime1 (const qsf::Time &time1)
 
const qsf::TimegetTime2 () const
 
void setTime2 (const qsf::Time &time2)
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Protected Attributes

qsf::NamedIdentifier mName
 Name and ID of the diagnosis/medical care. More...
 
qsf::Time mTime
 Time how long it takes to make the diagnosis/medical care. More...
 
qsf::AssetProxy mDoctorAnimation
 The animation the doctor is playing. More...
 
qsf::AssetProxy mDoctorAnimationLoop
 The animation the doctor is looping. More...
 
std::string mDoctorAnimationEnd
 The last part of the looped treatment animation. More...
 
std::string mTreatmentLogicName
 Name of the action the doctor should play. More...
 
std::string mEquipmentMainName
 
std::string mEquipmentGetAnimationName
 
std::string mEquipmentPutBackAnimationName
 
std::string mEquipmentUseAnimationName
 
std::string mEquipmentUseLoopedAnimationName
 
std::string mEquipmentUseEndAnimationName
 
std::string mEquipmentSecondName
 
qsf::Time mTime1
 
qsf::Time mTime2
 

Additional Inherited Members

- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 

Detailed Description

Diagnosis definition class.

Constructor & Destructor Documentation

em5::TreatmentInformation::TreatmentInformation ( )
explicit

Constructor.

virtual em5::TreatmentInformation::~TreatmentInformation ( )
virtual

Destructor.

Member Function Documentation

uint32 em5::TreatmentInformation::getDiagnosisId ( ) const
const qsf::AssetProxy& em5::TreatmentInformation::getDoctorAnimation ( ) const
const std::string& em5::TreatmentInformation::getDoctorAnimationEnd ( ) const
const qsf::AssetProxy& em5::TreatmentInformation::getDoctorAnimationLoop ( ) const
const std::string& em5::TreatmentInformation::getEquipmentGetAnimationName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentMainName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentPutBackAnimationName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentSecondName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentUseAnimationName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentUseEndAnimationName ( ) const
const std::string& em5::TreatmentInformation::getEquipmentUseLoopAnimationName ( ) const
const std::string& em5::TreatmentInformation::getName ( ) const
const qsf::Time& em5::TreatmentInformation::getTime1 ( ) const
const qsf::Time& em5::TreatmentInformation::getTime2 ( ) const
const std::string& em5::TreatmentInformation::getTreatmentLogicName ( ) const
const qsf::Time& em5::TreatmentInformation::getUsingTime ( ) const
void em5::TreatmentInformation::setDoctorAnimation ( const qsf::AssetProxy doctorAnimation)
void em5::TreatmentInformation::setDoctorAnimationEnd ( const std::string &  doctorAnimationEnd)
void em5::TreatmentInformation::setDoctorAnimationLoop ( const qsf::AssetProxy doctorAnimationLoop)
void em5::TreatmentInformation::setEquipmentGetAnimationName ( const std::string &  equipmentGetAnimationName)
void em5::TreatmentInformation::setEquipmentMainName ( const std::string &  equipmentMainName)
void em5::TreatmentInformation::setEquipmentPutBackAnimationName ( const std::string &  equipmentPutBackAnimationName)
void em5::TreatmentInformation::setEquipmentSecondName ( const std::string &  equipmentSecondName)
void em5::TreatmentInformation::setEquipmentUseAnimationName ( const std::string &  equipmentUseAnimationName)
void em5::TreatmentInformation::setEquipmentUseEndAnimationName ( const std::string &  equipmentUseEndAnimationName)
void em5::TreatmentInformation::setEquipmentUseLoopAnimationName ( const std::string &  equipmentUseLoopAnimationName)
void em5::TreatmentInformation::setName ( const std::string &  name)
void em5::TreatmentInformation::setTime1 ( const qsf::Time time1)
void em5::TreatmentInformation::setTime2 ( const qsf::Time time2)
void em5::TreatmentInformation::setTreatmentLogicName ( const std::string &  doctorActionName)
void em5::TreatmentInformation::setUsingTime ( const qsf::Time time)

Member Data Documentation

qsf::AssetProxy em5::TreatmentInformation::mDoctorAnimation
protected

The animation the doctor is playing.

std::string em5::TreatmentInformation::mDoctorAnimationEnd
protected

The last part of the looped treatment animation.

qsf::AssetProxy em5::TreatmentInformation::mDoctorAnimationLoop
protected

The animation the doctor is looping.

std::string em5::TreatmentInformation::mEquipmentGetAnimationName
protected
std::string em5::TreatmentInformation::mEquipmentMainName
protected
std::string em5::TreatmentInformation::mEquipmentPutBackAnimationName
protected
std::string em5::TreatmentInformation::mEquipmentSecondName
protected
std::string em5::TreatmentInformation::mEquipmentUseAnimationName
protected
std::string em5::TreatmentInformation::mEquipmentUseEndAnimationName
protected
std::string em5::TreatmentInformation::mEquipmentUseLoopedAnimationName
protected
qsf::NamedIdentifier em5::TreatmentInformation::mName
protected

Name and ID of the diagnosis/medical care.

qsf::Time em5::TreatmentInformation::mTime
protected

Time how long it takes to make the diagnosis/medical care.

qsf::Time em5::TreatmentInformation::mTime1
protected
qsf::Time em5::TreatmentInformation::mTime2
protected
std::string em5::TreatmentInformation::mTreatmentLogicName
protected

Name of the action the doctor should play.


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