VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/cntrlCmpnt.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: cntrlCmpnt.h,v $ $Revision: 1.24 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtControllerComponent_H_
00016 #define DtControllerComponent_H_
00017 
00018 #include "vrfobjcore/simCmpnt.h"
00019 #include <vlutil/vlString.h>
00020 
00021 class DtSimManager;
00022 class DtSimBaseRadio;
00023 class DtSimTask;
00024 
00031 #include "vrfobjcore/vrfobjcoreDefines.h"
00032 class DT_DLL_vrfobjcore DtControllerComponent : public DtSimComponent
00033 {
00034 public:
00035  
00041    DtControllerComponent(const DtString& name, 
00042       DtVrfObject* owner, 
00043       DtSimManager* simManager, 
00044       DtComponentDescriptor* desc = 0,
00045       DtReaderWriterRegistry* parentRegistry = 0);
00046 
00048    virtual ~DtControllerComponent();
00049 
00052    virtual DtString type() const;
00053 
00055    virtual bool init();
00056 
00058    virtual DtSimBaseRadio* radio();
00059 
00063    virtual void taskNotify(const DtSimTask & task);
00064 
00067    virtual void clearTask();
00068 
00069 protected:
00071    DtControllerComponent();
00072 
00074    DtControllerComponent(const DtControllerComponent & orig);
00075 
00077    const DtControllerComponent & operator=(const DtControllerComponent & orig);
00078 
00079 protected:
00080    virtual void setRadio(DtSimBaseRadio * radio);
00081 
00084    DtSimBaseRadio*      myRadio;
00085 };
00086 
00087 #endif
00088 

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)