#include <SimModObj.h>
Inheritance diagram for SimModObjIF:
Definition at line 34 of file SimModObj.h.
Public Execute Interface | |
virtual void | execute ()=0 |
Execute if anything changed. | |
virtual void | force ()=0 |
Execute no matter what! | |
framework interfaces NOT FOR GENERAL USE. | |
do not call from user programs/modules | |
virtual void | update_ (gutz::SmartPtr< DataObjIF > d)=0 |
input data modified notification | |
Modified interface | |
bool | isModified () const |
void | setModified (bool mod=true) |
Serialization | |
TODO: should be pure virtual, SOON | |
virtual std::ostream & | saveSelf (std::ostream &os) |
serialize | |
virtual std::istream & | readSelf (std::istream &is) |
unserialize | |
Forward Modify interface, NOT FOR GENERAL USE. | |
framework interface. | |
bool | isForwardModified () |
is this thing aready marked for future update? | |
virtual void | setForwardModified ()=0 |
mark all children as forward modified | |
Text object-name | |
from SimBase | |
std::string | getObjName () |
std::string | getName () |
void | setName (std::string name) |
void | setName (const char *name) |
Debug prints | |
from SimBase: These print the object name with the error, mostly for convenience, but they are compiled to inline-no-op if you build in release mode | |
void | derr (const char *when, const char *where=0) const |
template<class T> void | derr (const char *when, const char *where, const T stuff) const |
Modification, AKA "changed" | |
from SimBase: id based, you can capture the current id for comparison later, if the id's don't match the class has been changed | |
virtual int | getChangeID () |
virtual int | getChangeID () const |
virtual void | setChanged () |
Public Member Functions | |
virtual | ~SimModObjIF () |
Protected Member Functions | |
SimModObjIF () | |
virtual void | _incCount () |
gutz::Counted interface, increment reference count by one. | |
virtual void | _decCount () |
gutz::Counted interface, decrement reference count by one. | |
virtual int | _getCount () const |
gutz::Counted interface, get the current reference count. | |
Protected Attributes | |
bool | _forwardUpdate |
bool | _modified |
bool | _forward |
bool | _updating |
std::string | _name_ |
a text name for the object, SimBase | |
int | _changed |
change id, incremented whenever setChanged is called, SimBase | |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
Definition at line 36 of file SimModObj.h. |
|
Definition at line 67 of file SimModObj.h. References _forwardUpdate. |
|
gutz::Counted interface, decrement reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 54 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
gutz::Counted interface, get the current reference count. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Definition at line 58 of file smartptr.h. |
|
gutz::Counted interface, increment reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 48 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
only prints in debug mode, -D_DEBUG Definition at line 130 of file simBase.h. References SimBase::_name_. |
|
|
Execute if anything changed.
Implemented in AlgObjIF, AlgObj, SourceObjIF, and SourceObj. |
|
Execute no matter what!
Implemented in AlgObjIF, AlgObj, SourceObjIF, and SourceObj. |
|
Definition at line 73 of file simBase.h. References SimBase::_changed. |
|
Reimplemented in TFGeneric, TFBaseSP, and TFEltSP. Definition at line 72 of file simBase.h. References SimBase::_changed. Referenced by TFEltSP::getChangeID(), TFBaseSP::getChangeID(), and TFGeneric::getChangeID(). |
|
Definition at line 45 of file simBase.h. References SimBase::_name_. Referenced by MetaProg::operator<<(). |
|
Definition at line 44 of file simBase.h. References string. |
|
is this thing aready marked for future update?
Definition at line 63 of file simCore.h. References SimCore::_forward. |
|
Definition at line 40 of file simCore.h. References SimCore::_modified. |
|
unserialize
Reimplemented from SimBase. |
|
serialize
Reimplemented from SimBase. |
|
Definition at line 74 of file simBase.h. References SimBase::_changed. Referenced by TFEltSP::getChangeID(), TFBaseSP::getChangeID(), TFBaseSP::operator=(), and TFGeneric::update(). |
|
mark all children as forward modified
|
|
Definition at line 41 of file simCore.h. References SimCore::_modified. Referenced by EventData::setEvent(). |
|
Definition at line 47 of file simBase.h. References SimBase::_name_, and name. |
|
Reimplemented in Key. Definition at line 46 of file simBase.h. References SimBase::_name_, and name. Referenced by EventData::EventData(), and GenDataObj_base< Nrro, gutz::SmartPtr< Nrro > >::GenDataObj_base(). |
|
input data modified notification
|
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
change id, incremented whenever setChanged is called, SimBase
Definition at line 103 of file simBase.h. Referenced by SimBase::getChangeID(), SimBase::setChanged(), and SimBase::SimBase(). |
|
Definition at line 74 of file simCore.h. Referenced by SourceObj::force(), AlgObj::force(), SimCore::isForwardModified(), SourceObj::request(), DataObj::request_(), SourceObj::setForwardModified(), DataObj::setForwardModified(), AlgObj::setForwardModified(), SimCore::SimCore(), DataObj::update_(), and AlgObj::update_(). |
|
Definition at line 69 of file SimModObj.h. Referenced by SimModObjIF(). |
|
Definition at line 73 of file simCore.h. Referenced by AlgObj::execute(), SourceObj::force(), AlgObj::force(), SimCore::isModified(), SourceObj::request(), DataObj::request_(), SimCore::setModified(), SimCore::SimCore(), DataObj::update_(), and AlgObj::update_(). |
|
a text name for the object, SimBase
Definition at line 101 of file simBase.h. Referenced by SimBase::derr(), SimBase::getName(), SimBase::setName(), and SimBase::SimBase(). |
|
Definition at line 75 of file simCore.h. Referenced by SimCore::SimCore(), DataObj::update_(), and SourceObj::updateOutputs(). |