BaseCommunicationThread Class Reference

#include <c4d_renderconnection.h>

Inheritance diagram for BaseCommunicationThread:

Public Member Functions

 BaseCommunicationThread ()
 
IpConnectionGetIpc ()
 
- Public Member Functions inherited from BaseThread
 BaseThread ()
 
virtual ~BaseThread ()
 
void SetUserData (void *data)
 
void * GetUserData ()
 
virtual Int32 TestBreak ()
 
virtual Int32 Start (Bool back, Int32 Priority=THREADPRIORITY_NORMAL)
 
virtual void End (Bool wait=true)
 
virtual void Wait ()
 
virtual Bool IsRunning ()
 
virtual Bool ItsMe ()
 
virtual Int32 ChangeThreadPriority ()
 
void Action ()
 
void * GetCrashInfo ()
 
UInt32 GetThreadId ()
 
 BaseThread ()
 
virtual ~BaseThread ()
 
void SetUserData (void *data)
 
void * GetUserData ()
 
virtual Int32 TestBreak ()
 
virtual Bool IsRunning ()
 
virtual void Wait ()
 
virtual void End (Bool wait=true)
 
virtual Bool ItsMe ()
 
virtual Int32 Start (Bool back, Int32 priority=THREADPRIORITY_NORMAL)
 
virtual Int32 ChangeThreadPriority ()
 
 BaseThread ()
 
virtual ~BaseThread ()
 
void SetUserData (void *data)
 
void * GetUserData ()
 
virtual Int32 TestBreak ()
 
virtual Int32 Start (Bool back, Int32 Priority=THREADPRIORITY_NORMAL)
 
virtual void End (Bool wait=true)
 
virtual void Wait ()
 
virtual Bool IsRunning ()
 
virtual Bool ItsMe ()
 
virtual Int32 ChangeThreadPriority ()
 
void Action ()
 
void * GetCrashInfo ()
 
UInt32 GetThreadId ()
 
 BaseThread ()
 
 ~BaseThread ()
 
void SetUserData (void *data)
 
void * GetUserData ()
 
virtual Int32 TestBreak ()
 
virtual Int32 Start (Bool back, Int32 Priority=THREADPRIORITY_NORMAL)
 
virtual void End (Bool wait=true)
 
virtual void Wait ()
 
virtual Bool IsRunning ()
 
virtual Bool ItsMe ()
 
virtual Int32 ChangeThreadPriority ()
 
void Action ()
 
void * GetCrashInfo ()
 
UInt32 GetThreadId ()
 

Protected Member Functions

Bool ReadBytes (void *adr, Int cnt)
 
Bool WriteBytes (void *adr, Int cnt)
 
Bool ReadString (String *v)
 
Bool WriteString (const String &v)
 
Bool ReadContainer (BaseContainer &bc)
 
Bool WriteContainer (const BaseContainer &bc)
 
Bool WriteChar (Char num)
 
Bool WriteUChar (UChar num)
 
Bool WriteInt32 (Int32 num)
 
Bool WriteInt64 (Int64 num)
 
Bool WriteFloat32 (Float32 num)
 
Bool ReadUChar (UChar &num)
 
Bool ReadInt16 (Int16 &num)
 
Bool ReadChar (Char &num)
 
Bool ReadInt32 (Int32 &num)
 
Bool ReadInt64 (Int64 &num)
 
Bool ReadFloat32 (Float32 &num)
 
IPCOMMANDRESULT SendCommand (Int32 command, Bool closeConnectionOnError=true)
 
Bool Acknowledged ()
 
virtual const CharGetThreadName ()
 
Bool SetError ()
 
- Protected Member Functions inherited from BaseThread
virtual void Main ()=0
 
void Init ()
 
void StopAsync ()
 
virtual void Main ()=0
 
virtual void Main ()=0
 
void Init ()
 
void StopAsync ()
 
virtual void Main ()=0
 
void Init ()
 
void StopAsync ()
 

Protected Attributes

IpConnectionipc
 

Additional Inherited Members

- Public Types inherited from BaseThread
enum  {
  UnknownThreadId,
  MainThreadId,
  FirstThreadId
}
 
enum  {
  UnknownThreadId,
  MainThreadId,
  FirstThreadId
}
 
enum  {
  UnknownThreadId,
  MainThreadId,
  FirstThreadId
}
 
- Static Public Member Functions inherited from BaseThread
static BaseThreadGetCurrentThread ()
 
static UInt32 GetCurrentThreadId ()
 
static Bool StopAllThreads ()
 
static BaseThreadGetCurrentThread ()
 
static UInt32 GetCurrentThreadId ()
 
static Bool StopAllThreads ()
 
static BaseThreadGetCurrentThread ()
 
static UInt32 GetCurrentThreadId ()
 
static Bool StopAllThreads ()
 
- Public Attributes inherited from BaseThread
Bool keepthreadrunning
 

Detailed Description

Private. Communication class. Not meant to be used directly.

Constructor & Destructor Documentation

◆ BaseCommunicationThread()

Member Function Documentation

◆ GetIpc()

IpConnection* GetIpc ( )

◆ ReadBytes()

Bool ReadBytes ( void *  adr,
Int  cnt 
)
protected

◆ WriteBytes()

Bool WriteBytes ( void *  adr,
Int  cnt 
)
protected

◆ ReadString()

Bool ReadString ( String v)
protected

◆ WriteString()

Bool WriteString ( const String v)
protected

◆ ReadContainer()

Bool ReadContainer ( BaseContainer bc)
protected

◆ WriteContainer()

Bool WriteContainer ( const BaseContainer bc)
protected

◆ WriteChar()

Bool WriteChar ( Char  num)
protected

◆ WriteUChar()

Bool WriteUChar ( UChar  num)
protected

◆ WriteInt32()

Bool WriteInt32 ( Int32  num)
protected

◆ WriteInt64()

Bool WriteInt64 ( Int64  num)
protected

◆ WriteFloat32()

Bool WriteFloat32 ( Float32  num)
protected

◆ ReadUChar()

Bool ReadUChar ( UChar num)
protected

◆ ReadInt16()

Bool ReadInt16 ( Int16 num)
protected

◆ ReadChar()

Bool ReadChar ( Char num)
protected

◆ ReadInt32()

Bool ReadInt32 ( Int32 num)
protected

◆ ReadInt64()

Bool ReadInt64 ( Int64 num)
protected

◆ ReadFloat32()

Bool ReadFloat32 ( Float32 num)
protected

◆ SendCommand()

IPCOMMANDRESULT SendCommand ( Int32  command,
Bool  closeConnectionOnError = true 
)
protected

◆ Acknowledged()

Bool Acknowledged ( )
protected

◆ GetThreadName()

virtual const Char* GetThreadName ( )
protectedvirtual

Implements BaseThread.

◆ SetError()

Bool SetError ( )
protected

Member Data Documentation

◆ ipc

IpConnection* ipc
protected