![]() |
VR-Forces 4.0.4 Class Documentation
|
This is a process state repository for the DtAggregateMoveToController that stores the list of the names of currently tasked entities. More...

Public Member Functions | |
| DtAggregateMoveToPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtAggregateMoveToPSR (const DtAggregateMoveToPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| virtual | ~DtAggregateMoveToPSR () |
| destructor | |
| DtAggregateMoveToPSR & | operator= (const DtAggregateMoveToPSR &orig) |
| assignment operator | |
| virtual DtVrfProcessStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const |
| returns a newly created copy of this object | |
| virtual DtString | type () const |
| Returns the string type of this process state repository, defined in procSRTypes.h. | |
| virtual bool | taskedSubordinateNameInList (const DtString &objectName) const |
| virtual void | addTaskedSubordinateName (const DtString &objectName) |
| virtual void | removeTaskedSubordinateName (const DtString &objectName) |
| virtual void | clearTaskedSubordinateNames () |
| virtual bool | taskedSubordinateNamesEmpty () const |
| virtual const std::set < DtString > & | taskedSubordinateNames () const |
| virtual void | putSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtReaderWriter::appPath()) |
| Override to put contents of myPromotionIndexRouteNameMap into myPromotionIdRouteNameList, to put it in a writeable form. | |
| virtual void | getSelf (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| Override to put contents of myPromotionIdRouteNameList into myPromotionIndexRouteNameMap. | |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
| Returns a newly created instance of this class. | |
Protected Member Functions | |
| void | copyCurrentlyTaskedSubordinateNames (const DtRwStringList &other) |
| Not virtual because it is called from a constructor. | |
Protected Attributes | |
| std::set< DtString > | myCurrentlyTaskedSubordinateNames |
| Set of currently tasked subordinate names. | |
| DtRwStringList | mySerializableCurrentlyTaskedSubordinateNames |
| Readable writeable list of currently tasked subordinate names. | |
This is a process state repository for the DtAggregateMoveToController that stores the list of the names of currently tasked entities.
| DtAggregateMoveToPSR::DtAggregateMoveToPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtAggregateMoveToPSR::DtAggregateMoveToPSR | ( | const DtAggregateMoveToPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtAggregateMoveToPSR::~DtAggregateMoveToPSR | ( | ) | [virtual] |
destructor
| DtAggregateMoveToPSR& DtAggregateMoveToPSR::operator= | ( | const DtAggregateMoveToPSR & | orig | ) |
assignment operator
| virtual DtVrfProcessStateRepository* DtAggregateMoveToPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtAggregateMoveToPSR::type | ( | ) | const [virtual] |
Returns the string type of this process state repository, defined in procSRTypes.h.
Returns "vrf-aggregate-move-to-process-state-repository".
Implements DtVrfProcessStateRepository.
| virtual bool DtAggregateMoveToPSR::taskedSubordinateNameInList | ( | const DtString & | objectName | ) | const [virtual] |
| virtual void DtAggregateMoveToPSR::addTaskedSubordinateName | ( | const DtString & | objectName | ) | [virtual] |
| virtual void DtAggregateMoveToPSR::removeTaskedSubordinateName | ( | const DtString & | objectName | ) | [virtual] |
| virtual void DtAggregateMoveToPSR::clearTaskedSubordinateNames | ( | ) | [virtual] |
| virtual bool DtAggregateMoveToPSR::taskedSubordinateNamesEmpty | ( | ) | const [virtual] |
| virtual const std::set<DtString>& DtAggregateMoveToPSR::taskedSubordinateNames | ( | ) | const [virtual] |
| virtual void DtAggregateMoveToPSR::putSelf | ( | FILE * | fp, |
| int | indentLevel = 0, |
||
| bool | writeUnspecified = false, |
||
| const DtFilename & | path = DtReaderWriter::appPath() |
||
| ) | [virtual] |
Override to put contents of myPromotionIndexRouteNameMap into myPromotionIdRouteNameList, to put it in a writeable form.
Reimplemented from DtReaderWriter.
| virtual void DtAggregateMoveToPSR::getSelf | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [virtual] |
Override to put contents of myPromotionIdRouteNameList into myPromotionIndexRouteNameMap.
Reimplemented from DtVrfProcessStateRepository.
| static DtVrfProcessStateRepository* DtAggregateMoveToPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
| void DtAggregateMoveToPSR::copyCurrentlyTaskedSubordinateNames | ( | const DtRwStringList & | other | ) | [protected] |
Not virtual because it is called from a constructor.
std::set<DtString> DtAggregateMoveToPSR::myCurrentlyTaskedSubordinateNames [protected] |
Set of currently tasked subordinate names.
Readable writeable list of currently tasked subordinate names.
Valid only immediately after getSelf() has been called. Used to populate the contents of myCurrentlyTaskedSubordinateNames (which is valid for the lifetime of this object). Used in putSelf, in which the contents of myCurrentlyTaskedSubordinateNames is placed in this object before writing to file.