⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 optinterface.cpp

📁 基于Nuleus操作系统和s3c4510的编写的EFC。已经包含了该EFC的设计说明。这是个实际产品的代码
💻 CPP
字号:
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2003, Ulink Telecom Equipment Co., Ltd. All rights reserved.
//
// File:
//
//    OptInterface.cpp
//
// Abstract:
//
//    implementation of the COptInterface(Optical interface) class.
//
// History:
//
//    V1.0	2003-04-08	Alex Duan	Original version.
//
///////////////////////////////////////////////////////////////////////////////

#include "OptInterface.h"

///////////////////////////////////////////////////////////////////////////////
// COptInterface

IMPLEMENT_DYNAMIC(COptInterface, CInterface)

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

COptInterface::COptInterface()
{
}

COptInterface::~COptInterface()
{
}

///////////////////////////////////////////////////////////////////////////////
// Return Value:
//		A value indicating the Loopback mode which is defined in CInterface
// Remarks:
//		Gets current loopback mode of the optical interface.
int COptInterface::GetLoopbackMode() const
{
	return LOOPBACK_OFF;
}

///////////////////////////////////////////////////////////////////////////////
// Parameters:
//		nMode	Loopback mode defined in CInterface class
// Return Value:
//		TRUE if successful, else FALSE.
// Remarks:
//		Sets current loopback mode of the optical interface
BOOL COptInterface::SetLoopbackMode(int nMode)
{
	UNUSED(nMode);
	return FALSE;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -