VR-Forces 4.0.4 Class Documentation
include/vrfMsgTransport/signalMessageProcessor.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: signalMessageProcessor.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef DtVrfSignalMessageProcessor_h
00015 #define DtVrfSignalMessageProcessor_h
00016 
00017 #include "vrfMsgTransport/vrfMsgTransportDefines.h"
00018 
00019 #include <string>
00020 
00021 class DtRadioMessageListener;
00022 
00028 class DT_DLL_vrfMsgTransport DtVrfSignalMessageProcessor
00029 {
00030 private:
00032 
00033    DtVrfSignalMessageProcessor(const DtVrfSignalMessageProcessor& orig);
00034    DtVrfSignalMessageProcessor& operator=(const DtVrfSignalMessageProcessor& orig);
00036 
00038 protected:
00039 
00041    DtVrfSignalMessageProcessor(const char* pName);
00042 
00044    virtual bool init();
00045 
00046 public:
00047 
00049    virtual ~DtVrfSignalMessageProcessor();
00050 
00053    bool enabled() const;
00054    virtual void setEnabled(bool bIsEnabled);
00056 
00059    virtual void installSelf(DtRadioMessageListener& rml);
00060 
00063    const std::string& name() const;
00064    void setName(const std::string& sName);
00066 
00067 public: 
00068 
00072    static DtVrfSignalMessageProcessor* create(const char* pName);
00073 
00074 protected:
00075 
00076    bool myEnabled;
00077    std::string myName;
00078 };
00079 
00080 inline bool DtVrfSignalMessageProcessor::enabled() const
00081 {
00082    return (myEnabled);
00083 }
00084 
00085 inline const std::string& DtVrfSignalMessageProcessor::name() const
00086 {
00087    return (myName);
00088 }
00089 
00090 inline void DtVrfSignalMessageProcessor::setName(const std::string& sName)
00091 {
00092    myName = sName;
00093 }
00094 
00095 #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)