VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/aggregateResolutionPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: aggregateResolutionPSR.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef trueAggregateResolutionPSR_H_
00013 #define trueAggregateResolutionPSR_H_
00014 
00015 #include "vrfobjcore/processSR.h"
00016 #include "vrfobjcore/vrfobjcoreDefines.h"
00017 #include "vrfutil/rwInt.h"
00018 #include "vrfutil/trueAggregateSubordinateObjectsList.h"
00019 
00024 class DT_DLL_vrfobjcore DtAggregatedResolutionPSR : public DtVrfProcessStateRepository
00025 {
00026 public:
00027    typedef enum DtResolutionTransitionMode
00028    {
00029       DtNotTransitioning,
00030       DtDisaggregating,
00031       DtAggregating   
00032    } DtResolutionTransitionMode;
00033 
00035    DtAggregatedResolutionPSR(DtVrfObject* vrfObject, 
00036       const DtString& rwName = DtString::nullString(), 
00037       DtReaderWriterRegistry*  parentRegistry = 0);
00038 
00040    DtAggregatedResolutionPSR(const DtAggregatedResolutionPSR& orig,
00041       const DtString& rwName = DtString::nullString(), 
00042       DtReaderWriterRegistry*  parentRegistry = 0);
00043 
00045    virtual ~DtAggregatedResolutionPSR();
00046 
00048    DtAggregatedResolutionPSR& operator=(const DtAggregatedResolutionPSR& orig);
00049 
00051    virtual DtVrfProcessStateRepository* clone(
00052       const DtString& rwName = DtString::nullString(), 
00053       DtReaderWriterRegistry*  parentRegistry = 0) const;
00054 
00057    virtual DtString type() const;
00058 
00061    void setTransitionMode(DtResolutionTransitionMode mode);
00062    DtResolutionTransitionMode transitionMode() const;
00064 
00067    void setSubordinateObjects(const DtSubordinateObjectsList& subordinateObjects);
00068    const DtSubordinateObjectsList& subordinateObjects() const;
00069    DtSubordinateObjectsList& getSubordinateObjects(); 
00071 
00072    virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath, 
00073       const DtVariableBindingsList& variableBindings);
00074 
00075 public:
00076 
00078    static DtVrfProcessStateRepository* creator (const DtString& rwName,
00079       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00080 
00081 protected:
00082 
00083    DtRwInt myTransitionMode;
00084    DtSubordinateObjectsList mySubordinateObjectsList;
00085 };
00086 
00087 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)