📄 base_object.h
字号:
/*
Copyright (c) 2008, Intel Corporation.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*///==============================================================================// base_Object.h // Declaration of base class Object//==============================================================================#ifndef _BINDING_BASE_OBJECT_H#define _BINDING_BASE_OBJECT_H#include "inc/framework/basetypes.h"#include "base_StringObject.h"//==============================================================================class CObserverWrapper; //for friend classnamespace Intel{ namespace Mobile { namespace Threshold { class ByteCounterThreshold; class ByteGaugeThreshold; class DateCounterThreshold; class DateGaugeThreshold; class FloatGaugeThreshold; class Int64CounterThreshold; class Int64GaugeThreshold; class IntCounterThreshold; class IntGaugeThreshold; class StringValueThreshold; class UInt64CounterThreshold; class UInt64GaugeThreshold; class UIntCounterThreshold; class UIntGaugeThreshold; }; namespace Base { class Object { friend class ::CObserverWrapper; friend class Intel::Mobile::Threshold::ByteCounterThreshold; friend class Intel::Mobile::Threshold::ByteGaugeThreshold; friend class Intel::Mobile::Threshold::DateCounterThreshold; friend class Intel::Mobile::Threshold::DateGaugeThreshold; friend class Intel::Mobile::Threshold::FloatGaugeThreshold; friend class Intel::Mobile::Threshold::Int64CounterThreshold; friend class Intel::Mobile::Threshold::Int64GaugeThreshold; friend class Intel::Mobile::Threshold::IntCounterThreshold; friend class Intel::Mobile::Threshold::IntGaugeThreshold; friend class Intel::Mobile::Threshold::StringValueThreshold; friend class Intel::Mobile::Threshold::UInt64CounterThreshold; friend class Intel::Mobile::Threshold::UInt64GaugeThreshold; friend class Intel::Mobile::Threshold::UIntCounterThreshold; friend class Intel::Mobile::Threshold::UIntGaugeThreshold; protected: void *m_pImpl; bool m_flag; protected: Object( void *pImpl = NULL ); public: virtual ~Object(); StringObject GetObjectType() const;
void* GetImpl() const;// void CheckValid( const IntelMobileChar* pszLocation,//#ifdef _WIN32_WCE// const IntelMobileChar* pszMethod );//#else// const IntelMobileChar* pszMethod )// const throw(...);//#endif }; } }}//==============================================================================#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -