optinterface.cpp
来自「基于Nuleus操作系统和s3c4510的编写的EFC。已经包含了该EFC的设计」· C++ 代码 · 共 61 行
CPP
61 行
///////////////////////////////////////////////////////////////////////////////
//
// 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 + =
减小字号Ctrl + -
显示快捷键?