VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifSubordList.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifSubordList.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtIfSubordinateList_H_
00013 #define DtIfSubordinateList_H_
00014 
00015 #include <vrfExtProtocol/ifaceCont.h>
00016 #include <vlutil/vlString.h>
00017 #include <vrfExtProtocol/objType.h>
00018 #include <vlpi/disEnums.h>
00019 #include <vlutil/vlList.h>
00020 #include <list>
00021 #include "vrfmsgs/vrfmsgsDefines.h"
00022 #include <vrfExtProtocol/msgTypes.h>
00023 #include <vl/hostStructs.h>
00024 #include "vrfutil/trueAggregateSubordinateObjectsList.h"
00025 
00033 
00034 class DT_DLL_vrfmsgs DtIfSubordinateList : public DtSimInterfaceContent
00035 {
00036 public:
00037 
00039    DtIfSubordinateList();
00040 
00042    virtual ~DtIfSubordinateList();
00043 
00045    DtIfSubordinateList(const DtIfSubordinateList& orig);
00046 
00048    DtIfSubordinateList& operator=(const DtIfSubordinateList& orig);
00049 
00051    virtual DtSimInterfaceContent * clone() const;
00052 
00055    virtual int type() const;
00056 
00059    virtual unsigned long requestId() const;
00060    virtual void setRequestId(unsigned long requestId);
00061 
00063    virtual void setEntityId(const DtEntityIdentifier& id);
00064    virtual const DtEntityIdentifier & entityId() const;
00065 
00067    virtual void setSubordinateObjects(const DtSubordinateObjectsList& subordinateObjects);
00068    virtual const DtSubordinateObjectsList & subordinateObjects() const;
00069 
00070    virtual int netRepSize() const;
00071    virtual bool setFromNet(const char* contentBuffer, 
00072       unsigned contentSize);
00073    virtual bool setToNet();
00074 
00075    virtual void printDataToString(DtString& str);
00076 
00077    static DtSimInterfaceContent* creator();
00078 
00079 protected:
00080 
00081 
00082 protected:
00083    DtU32             myRequestId;
00084    DtEntityIdentifier      myEntId;
00085    DtSubordinateObjectsList   mySubordinateObjects;
00086 };
00087 
00088 
00089 #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)