Public Member Functions

IRobotServerFactory Interface Reference

IRobotServerFactory Interface. More...

import "BotPlatformSDK.idl";

List of all members.

Public Member Functions

HRESULT Init ([in] LONG threadCount)
HRESULT Destroy ()
HRESULT CreateRobotServer ([in] BSTR ip,[in] LONG port,[out, retval] IRobotServer **ppRobotServer)

Detailed Description

IRobotServerFactory Interface.


Member Function Documentation

HRESULT IRobotServerFactory::CreateRobotServer ( [in] BSTR  ip,
[in] LONG  port,
[out, retval] IRobotServer **  ppRobotServer 
)

Create a RobotServer instance

Parameters:
[in] ip IP of BOTPLATFORM for RobotServer to login
[in] port Port of BOTPLATFORM for RobotServer to login
[out] ppRobotServer A pointer that receives a pointer to a new instance of the IRobotServer
Returns:
Returns S_OK if successful, or an error value otherwise
HRESULT IRobotServerFactory::Destroy (  ) 

Destroy robot server factory

Returns:
Returns S_OK if successful, or an error value otherwise
HRESULT IRobotServerFactory::Init ( [in] LONG  threadCount  ) 

Init robot server factory

Parameters:
[in] threadCount Count of work threads
Returns:
Returns S_OK if successful, or an error value otherwise

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Properties