gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
onelab::localNetworkClient Class Referenceabstract

#include <onelab.h>

Inheritance diagram for onelab::localNetworkClient:
Collaboration diagram for onelab::localNetworkClient:

Public Member Functions

 localNetworkClient (const std::string &name, const std::string &executable, const std::string &remoteLogin="", bool treatExecutableAsFullCommandLine=false)
 
virtual ~localNetworkClient ()
 
virtual bool isNetworkClient ()
 
const std::string & getExecutable ()
 
void setExecutable (const std::string &s)
 
const std::string & getRemoteLogin ()
 
bool treatExecutableAsFullCommandLine () const
 
void setRemoteLogin (const std::string &s)
 
const std::string & getSocketSwitch ()
 
void setSocketSwitch (const std::string &s)
 
int getPid ()
 
void setPid (int pid)
 
GmshServergetGmshServer ()
 
void setGmshServer (GmshServer *server)
 
virtual bool run ()=0
 
virtual bool kill ()=0
 
- Public Member Functions inherited from onelab::localClient
 localClient (const std::string &name)
 
virtual ~localClient ()
 
virtual bool clear (const std::string &name="")
 
virtual bool set (const number &p)
 
virtual bool set (const string &p)
 
virtual bool get (std::vector< number > &ps, const std::string &name="")
 
virtual bool get (std::vector< string > &ps, const std::string &name="")
 
virtual bool setAndAppendChoices (const number &p)
 
virtual bool setAndAppendChoices (const string &p)
 
virtual bool getWithoutChoices (std::vector< number > &ps, const std::string &name="")
 
virtual bool getWithoutChoices (std::vector< string > &ps, const std::string &name="")
 
- Public Member Functions inherited from onelab::client
 client (const std::string &name)
 
virtual ~client ()
 
std::string getName ()
 
void setId (int id)
 
int getId ()
 
void setIndex (int index)
 
int getIndex ()
 
virtual void sendInfo (const std::string &msg)
 
virtual void sendWarning (const std::string &msg)
 
virtual void sendError (const std::string &msg)
 
virtual void sendProgress (const std::string &msg)
 
virtual void sendMergeFileRequest (const std::string &msg)
 
virtual void sendOpenProjectRequest (const std::string &msg)
 
virtual void sendParseStringRequest (const std::string &msg)
 
virtual void sendVertexArray (const std::string &msg)
 
std::vector< std::string > toChar ()
 
bool fromChar (const std::vector< std::string > &msg)
 
bool toFile (FILE *fp)
 
bool fromFile (FILE *fp)
 

Private Attributes

std::string _executable
 
bool _treatExecutableAsFullCommandLine
 
std::string _remoteLogin
 
std::string _socketSwitch
 
int _pid
 
GmshServer_gmshServer
 

Additional Inherited Members

- Protected Attributes inherited from onelab::client
std::string _name
 
int _id
 
int _index
 

Detailed Description

Definition at line 1471 of file onelab.h.

Constructor & Destructor Documentation

◆ localNetworkClient()

onelab::localNetworkClient::localNetworkClient ( const std::string &  name,
const std::string &  executable,
const std::string &  remoteLogin = "",
bool  treatExecutableAsFullCommandLine = false 
)
inline

Definition at line 1489 of file onelab.h.

◆ ~localNetworkClient()

virtual onelab::localNetworkClient::~localNetworkClient ( )
inlinevirtual

Definition at line 1498 of file onelab.h.

Member Function Documentation

◆ getExecutable()

const std::string& onelab::localNetworkClient::getExecutable ( )
inline

Definition at line 1500 of file onelab.h.

◆ getGmshServer()

GmshServer* onelab::localNetworkClient::getGmshServer ( )
inline

Definition at line 1512 of file onelab.h.

Referenced by PViewDataRemote::fillRemoteVertexArrays().

Here is the caller graph for this function:

◆ getPid()

int onelab::localNetworkClient::getPid ( )
inline

Definition at line 1510 of file onelab.h.

◆ getRemoteLogin()

const std::string& onelab::localNetworkClient::getRemoteLogin ( )
inline

Definition at line 1502 of file onelab.h.

◆ getSocketSwitch()

const std::string& onelab::localNetworkClient::getSocketSwitch ( )
inline

Definition at line 1508 of file onelab.h.

◆ isNetworkClient()

virtual bool onelab::localNetworkClient::isNetworkClient ( )
inlinevirtual

Reimplemented from onelab::client.

Definition at line 1499 of file onelab.h.

◆ kill()

virtual bool onelab::localNetworkClient::kill ( )
pure virtual

Reimplemented from onelab::client.

◆ run()

virtual bool onelab::localNetworkClient::run ( )
pure virtual

Reimplemented from onelab::client.

◆ setExecutable()

void onelab::localNetworkClient::setExecutable ( const std::string &  s)
inline

Definition at line 1501 of file onelab.h.

◆ setGmshServer()

void onelab::localNetworkClient::setGmshServer ( GmshServer server)
inline

Definition at line 1513 of file onelab.h.

◆ setPid()

void onelab::localNetworkClient::setPid ( int  pid)
inline

Definition at line 1511 of file onelab.h.

◆ setRemoteLogin()

void onelab::localNetworkClient::setRemoteLogin ( const std::string &  s)
inline

Definition at line 1507 of file onelab.h.

◆ setSocketSwitch()

void onelab::localNetworkClient::setSocketSwitch ( const std::string &  s)
inline

Definition at line 1509 of file onelab.h.

◆ treatExecutableAsFullCommandLine()

bool onelab::localNetworkClient::treatExecutableAsFullCommandLine ( ) const
inline

Definition at line 1503 of file onelab.h.

Member Data Documentation

◆ _executable

std::string onelab::localNetworkClient::_executable
private

Definition at line 1474 of file onelab.h.

Referenced by getExecutable(), and setExecutable().

◆ _gmshServer

GmshServer* onelab::localNetworkClient::_gmshServer
private

Definition at line 1486 of file onelab.h.

Referenced by getGmshServer(), and setGmshServer().

◆ _pid

int onelab::localNetworkClient::_pid
private

Definition at line 1484 of file onelab.h.

Referenced by getPid(), and setPid().

◆ _remoteLogin

std::string onelab::localNetworkClient::_remoteLogin
private

Definition at line 1480 of file onelab.h.

Referenced by getRemoteLogin(), and setRemoteLogin().

◆ _socketSwitch

std::string onelab::localNetworkClient::_socketSwitch
private

Definition at line 1482 of file onelab.h.

Referenced by getSocketSwitch(), and setSocketSwitch().

◆ _treatExecutableAsFullCommandLine

bool onelab::localNetworkClient::_treatExecutableAsFullCommandLine
private

Definition at line 1478 of file onelab.h.

Referenced by treatExecutableAsFullCommandLine().


The documentation for this class was generated from the following file: