MercuryNetClient Class Reference

#include <MercuryNetClient.h>

Inheritance diagram for MercuryNetClient:

Inheritance graph
Collaboration diagram for MercuryNetClient:

Collaboration graph
List of all members.

Public Member Functions

 MercuryNetClient ()
 ~MercuryNetClient ()
bool Connect (const MString &sHost, int iPort)
void LinkODE (MercuryODEWorld *pWorld)
void Update (const float fDTime)
void CoreThread ()
void SendCommand (const MString &sCommandName, const PStack &kParameters)
void SetNetClass (MercuryObject *pNetClass)
void Message (int Message, PStack &data, const MString &name)
 Receive message (When subscribing to messages, you receive them via this command).

Static Public Member Functions

static void * CoreThreadCaller (void *NetClient)

Protected Attributes

float m_fLDeltaMax
MercuryThread m_thdMain
MercuryTimer m_tmrSync
double m_delTime
int m_delTimeID
double fDeltaSync

Detailed Description

Definition at line 11 of file MercuryNetClient.h.

Constructor & Destructor Documentation

MercuryNetClient::MercuryNetClient (  ) 

Definition at line 8 of file MercuryNetClient.cpp.

MercuryNetClient::~MercuryNetClient (  ) 

Definition at line 14 of file MercuryNetClient.cpp.

Member Function Documentation

bool MercuryNetClient::Connect ( const MString sHost,
int  iPort 

Definition at line 21 of file MercuryNetClient.cpp.

void MercuryNetClient::LinkODE ( MercuryODEWorld pWorld  )  [inline]

Definition at line 18 of file MercuryNetClient.h.

void MercuryNetClient::Update ( const float  fDTime  ) 

Definition at line 40 of file MercuryNetClient.cpp.

void * MercuryNetClient::CoreThreadCaller ( void *  NetClient  )  [static]

Definition at line 54 of file MercuryNetClient.cpp.

void MercuryNetClient::CoreThread (  ) 

Definition at line 60 of file MercuryNetClient.cpp.

void MercuryNetClient::SendCommand ( const MString sCommandName,
const PStack kParameters 

Definition at line 44 of file MercuryNetClient.cpp.

void MercuryNetClient::SetNetClass ( MercuryObject pNetClass  )  [inline]

Definition at line 25 of file MercuryNetClient.h.

void MercuryNetClient::Message ( int  Message,
PStack data,
const MString name 
) [virtual]

Receive message (When subscribing to messages, you receive them via this command).

Reimplemented from MercuryMessageHandler.

Definition at line 172 of file MercuryNetClient.cpp.

Member Data Documentation

MercuryObject* MercuryNetClient::m_pNetClass [protected]

Definition at line 29 of file MercuryNetClient.h.

float MercuryNetClient::m_fLDeltaMax [protected]

Definition at line 30 of file MercuryNetClient.h.

ezSockets* MercuryNetClient::m_pSocket [protected]

Definition at line 32 of file MercuryNetClient.h.

MercuryODEWorld* MercuryNetClient::m_pWorld [protected]

Definition at line 33 of file MercuryNetClient.h.

MercuryThread MercuryNetClient::m_thdMain [protected]

Definition at line 34 of file MercuryNetClient.h.

MercuryTimer MercuryNetClient::m_tmrSync [protected]

Definition at line 36 of file MercuryNetClient.h.

double MercuryNetClient::m_delTime [protected]

Definition at line 37 of file MercuryNetClient.h.

int MercuryNetClient::m_delTimeID [protected]

Definition at line 38 of file MercuryNetClient.h.

double MercuryNetClient::fDeltaSync [protected]

Definition at line 40 of file MercuryNetClient.h.

The documentation for this class was generated from the following files:
Hosted by Logo