lgrProtocolRegistration.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 
00010 #ifndef lgrProtocolRegistration_H_
00011 #define lgrProtocolRegistration_H_
00012 
00013 #include "lgrCore.h"
00014 
00015 #include "lgrCommand.h"
00016 #include "lgrSimInterface.h"
00017 #include "loggerFile.h"
00018 #include "stateObject.h"
00019 #include "virtualConstructor.h"
00020 
00021 #include <vlutil/vlString.h>
00022 
00023 namespace MAKLogger
00024 {
00025    class DtLgrSimDriver;
00026    class DtLgrSimManager;
00027 
00031    class DT_DLL_LGRCORE DtLgrProtocolRegistration
00032    {
00033 
00034       DT_VIRTUAL_CTR(DtLgrProtocolRegistration,
00035          (DtStateObject::creatorFunction objectCreator,
00036          DtLgrSimInterface::creatorFunction interfaceCreator,
00037          DtLgrProtocolId protocol,
00038          DtString protocolString,
00039          DtLgrSimDriver* simDriver,
00040          DtLgrSimManager* simManager))
00041 
00042       virtual ~DtLgrProtocolRegistration();
00043 
00044       virtual bool validConfiguration();
00045 
00046       virtual DtStateObject::creatorFunction objectCreator();
00047       virtual DtLgrSimInterface::creatorFunction interfaceCreator();
00048       virtual DtLgrProtocolId protocol();
00049       virtual DtString protocolString();
00050       virtual DtLgrSimDriver* simDriver();
00051       virtual DtLgrSimManager* simManager();
00052 
00053    protected:
00054 
00055       DtStateObject::creatorFunction myObjectCreator;
00056       DtLgrSimInterface::creatorFunction myInterfaceCreator;
00057       DtLgrProtocolId myProtocol;
00058       DtString myProtocolString;
00059       DtLgrSimDriver* mySimDriver;
00060       DtLgrSimManager* mySimManager;
00061 
00062    };
00063 
00064 }
00065 
00066 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)