C++SDK  1.0.0
| Public 成员函数 | 所有成员列表
tee3::avd::IRemoteCtrllor类 参考abstract

#include <mremotectrl.h>

类 tee3::avd::IRemoteCtrllor 继承关系图:
Inheritance graph
[图例]
tee3::avd::IRemoteCtrllor 的协作图:
Collaboration graph
[图例]

class  IListener
 

Public 成员函数

virtual Result setListener (IRemoteCtrllor::IListener *listener)=0
 
virtual Result ApplyCtrl (std::string controledUserId)=0
 
virtual Result CancelCtrl (std::string controledUserId)=0
 
virtual int getCurStauts ()=0
 
virtual int getRole ()=0
 
virtual std::string getToken ()=0
 
virtual Result SendMouseCmd (int mousetype, int xpos, int ypos, int wndwidth, int wndheight, std::string touserId="")=0
 
virtual Result SendKeyBoardCmd (std::vector< uint32 > ctrlkey, std::vector< uint32 > keyvalue, std::string touserId="")=0
 
virtual void clearStatus ()=0
 
virtual RemoteInfo getRemoteInfo ()=0
 
virtual ~IRemoteCtrllor ()
 
- Public 成员函数 继承自 tee3::avd::IModule
virtual IRoomgetRoom ()=0
 
virtual IMUserManagergetUserManager ()=0
 
virtual bool isSelfUser (const UserId &userId) const =0
 
virtual bool isSelfDevice (const DeviceId &deviceId) const =0
 
virtual const UserId getOwnerId (const DeviceId &deviceId) const =0
 
virtual const StringgetOwnerName (const DeviceId &deviceId) const =0
 

额外继承的成员函数

- Protected 成员函数 继承自 tee3::avd::IModule
virtual ~IModule ()
 

构造及析构函数说明

virtual tee3::avd::IRemoteCtrllor::~IRemoteCtrllor ( )
inlinevirtual

成员函数说明

virtual Result tee3::avd::IRemoteCtrllor::ApplyCtrl ( std::string  controledUserId)
pure virtual

申请远端控制

参数
[in]controledUserId申请控制的用户ID
返回
返回结果
virtual Result tee3::avd::IRemoteCtrllor::CancelCtrl ( std::string  controledUserId)
pure virtual

停止远端控制

参数
[in]controledUserId申请控制的用户ID
返回
返回结果
virtual void tee3::avd::IRemoteCtrllor::clearStatus ( )
pure virtual

清空当前状态

note 用户退出房间或者断线时使用

virtual int tee3::avd::IRemoteCtrllor::getCurStauts ( )
pure virtual

获取用户状态

返回
状态类型 :REMOTE_REQUEST_CONTROL REMOTE_REQUEST_NO_CONTROL
virtual RemoteInfo tee3::avd::IRemoteCtrllor::getRemoteInfo ( )
pure virtual
virtual int tee3::avd::IRemoteCtrllor::getRole ( )
pure virtual

获取控制中的角色

返回
获取当前用户角色REMOTE_ROLER_CONTROLLER REMOTE_ROLER_BE_CONTROLLED
virtual std::string tee3::avd::IRemoteCtrllor::getToken ( )
pure virtual

获取到唯一标示符

返回
获取token
virtual Result tee3::avd::IRemoteCtrllor::SendKeyBoardCmd ( std::vector< uint32 ctrlkey,
std::vector< uint32 keyvalue,
std::string  touserId = "" 
)
pure virtual

发送键盘命令

参数
[in]ctrlkey控制按键,ctrl,alt,shift ...
[in]keyvalue具体的键值
[in]touserId空值,暂时不用
返回
返回结果
virtual Result tee3::avd::IRemoteCtrllor::SendMouseCmd ( int  mousetype,
int  xpos,
int  ypos,
int  wndwidth,
int  wndheight,
std::string  touserId = "" 
)
pure virtual

发送鼠标命令

参数
[in]mousetype控制端用户ID
[in]xposx坐标在控制端屏幕位置
[in]yposy坐标在控制端屏幕位置
[in]wndwidth控制端屏幕宽度
[in]wndheight控制端屏幕高度
[in]touserId空值,暂时不用
返回
返回结果
virtual Result tee3::avd::IRemoteCtrllor::setListener ( IRemoteCtrllor::IListener listener)
pure virtual

该类的文档由以下文件生成: