OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RemCommHandler Class Reference

Handles commands to be executed remotely on a different machine. More...

Inheritance diagram for RemCommHandler:
[legend]

Public Member Functions

 RemCommHandler (PortNr_Type)
 
 ~RemCommHandler ()
 
void writeLog (const char *msg)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static uiRetVal parseArgs (const CommandLineParser &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void createLogFile ()
 
void createLogFile (bool removeold)
 
void dataRootChgCB (CallBacker *)
 
void getLogFileCB (CallBacker *)
 
 mOD_DisableCopy (RemCommHandler)
 
void startJobCB (CallBacker *)
 
void writeLogCB (CallBacker *)
 

Protected Attributes

BufferString logfilename_
 
od_ostreamlogstrm_
 
const PortNr_Type port_
 
MMPServerserver_
 

Detailed Description

Handles commands to be executed remotely on a different machine.

<>

Constructor & Destructor Documentation

◆ RemCommHandler()

RemCommHandler::RemCommHandler ( PortNr_Type  )

◆ ~RemCommHandler()

RemCommHandler::~RemCommHandler ( )

Member Function Documentation

◆ createLogFile() [1/2]

void RemCommHandler::createLogFile ( )
protected

◆ createLogFile() [2/2]

void RemCommHandler::createLogFile ( bool  removeold)
protected

◆ dataRootChgCB()

void RemCommHandler::dataRootChgCB ( CallBacker )
protected

◆ getLogFileCB()

void RemCommHandler::getLogFileCB ( CallBacker )
protected

◆ mOD_DisableCopy()

RemCommHandler::mOD_DisableCopy ( RemCommHandler  )
protected

◆ parseArgs()

static uiRetVal RemCommHandler::parseArgs ( const CommandLineParser )
static

◆ startJobCB()

void RemCommHandler::startJobCB ( CallBacker )
protected

◆ writeLog()

void RemCommHandler::writeLog ( const char *  msg)

◆ writeLogCB()

void RemCommHandler::writeLogCB ( CallBacker )
protected

Member Data Documentation

◆ logfilename_

BufferString RemCommHandler::logfilename_
protected

◆ logstrm_

od_ostream& RemCommHandler::logstrm_
protected

◆ port_

const PortNr_Type RemCommHandler::port_
protected

◆ server_

MMPServer& RemCommHandler::server_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024