VR-Link API Documentation for HLA Evolved
testSR.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 #pragma once
00006 
00007 #if DtHLA
00008 
00009 #include <vl/stateRep.h>
00010 #include <matrix/vlVector.h>
00011 
00016 class TestStateRepository : public DtStateRepository
00017 {
00018 public:
00019    
00021    TestStateRepository();
00022    
00024    virtual ~TestStateRepository();
00025    
00027    TestStateRepository(const TestStateRepository& orig);
00028 
00030    TestStateRepository& operator=(const TestStateRepository& orig);
00031 
00033    virtual DtStateRepository* clone(bool copy) const; 
00034 
00037    virtual void printData() const;
00038 
00041    virtual void printDataToStream(std::ostream& stream) const;
00042 
00050 
00052    virtual void setNumber(int num);
00053    virtual int number() const;
00054 
00056    virtual void setVector(const DtVector& vec);
00057    virtual const DtVector& vector() const;
00058 
00059 public:
00060 
00064    static DtStateRepository* create(); 
00065 
00066 protected:
00067    
00069    int myNum;
00070    DtVector myVec;
00071 };
00072 
00073 #endif
00074 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)