9 #ifndef DerivedSRUserExtension_H_
10 #define DerivedSRUserExtension_H_
61 const DtString& rwName = DtString::nullString(),
67 const DtString& rwName = DtString::nullString(),
90 virtual void init()
override;
100 const DtString& rwName = DtString::nullString(),
DtRwString myTag
Definition: derivedSRUserExt.h:105
virtual void init() override
Called after object has been created by the DtVrfObjectStateRepository class.
static DtVrfStateRepositoryUserExtension * create(DtVrfObjectStateRepository *stateRepository, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
virtual DtVrfObjectStateRepository * stateRepository() const
State repository this object belongs to.
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:91
DerivedSRUserExtension(DtVrfObjectStateRepository *stateRepository, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
Instances of DtVrfStateRepositoryUserExtension can be used by customers to extend the base DtVrfObjec...
Definition: vrfStateRepositoryUserExtension.h:20
virtual const DtString & tag() const
virtual void setTag(const DtString &tag)
Definition: derivedSRUserExt.h:55
virtual ~DerivedSRUserExtension() override
virtual DtString type() const override
Type of extension object to create. Returns DtDefaultSRUserExtensionType, defined in vrfSRUserExtType...
virtual DtVrfStateRepositoryUserExtension * clone(DtVrfObjectStateRepository *stateRepository, const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const override
Note you must implement the clone function in derived classes to ensure that this data is initialized...
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
const DerivedSRUserExtension & operator=(const DerivedSRUserExtension &orig)