ROOTANA
Macros | Functions | Variables
netDirectoryServer.cxx File Reference
#include <stdio.h>
#include <assert.h>
#include "netDirectoryServer.h"
#include <TROOT.h>
#include <TClass.h>
#include <TFile.h>
#include <TDirectory.h>
#include <TKey.h>
#include <TFolder.h>
#include <TSocket.h>
#include <TServerSocket.h>
#include <TThread.h>
#include <TMessage.h>
#include <TObjString.h>
#include <TH1.h>
#include <TCutG.h>
#include <deque>
#include <map>
#include <string>
#include "RootLock.h"
Include dependency graph for netDirectoryServer.cxx:

Go to the source code of this file.

Macros

#define THREADRETURN
 
#define THREADTYPE   void
 

Functions

static TObject * FollowPath (TObject *container, char *path)
 
static TObject * FindTopLevelObject (const char *name)
 
static TObject * TopLevel (char *path, char **opath)
 
static TObject * FollowPath (char *path)
 
static void ResetObject (TObject *obj)
 
static TKey * MakeKey (TObject *obj, int cycle, TDirectory *dir, const char *name=NULL)
 
static THREADTYPE root_server_thread (void *arg)
 
static THREADTYPE socket_listener (void *arg)
 
void VerboseNetDirectoryServer (bool verbose)
 
void NetDirectoryExport (TDirectory *dir, const char *exportName)
 
void NetDirectoryExport (TFolder *folder, const char *exportName)
 
void NetDirectoryExport (TCollection *collection, const char *exportName)
 
void StartNetDirectoryServer (int port, TDirectory *dir)
 

Variables

static bool gVerbose = false
 
static std::deque< std::string > gExports
 
static std::map< std::string, std::string > gExportNames
 
static bool gAlreadyRunning = false
 

Macro Definition Documentation

◆ THREADRETURN

#define THREADRETURN

Definition at line 20 of file netDirectoryServer.cxx.

◆ THREADTYPE

#define THREADTYPE   void

Definition at line 21 of file netDirectoryServer.cxx.

Function Documentation

◆ FindTopLevelObject()

static TObject* FindTopLevelObject ( const char *  name)
static

Definition at line 101 of file netDirectoryServer.cxx.

Here is the caller graph for this function:

◆ FollowPath() [1/2]

static TObject* FollowPath ( char *  path)
static

Definition at line 158 of file netDirectoryServer.cxx.

Here is the call graph for this function:

◆ FollowPath() [2/2]

static TObject* FollowPath ( TObject *  container,
char *  path 
)
static

Definition at line 59 of file netDirectoryServer.cxx.

Here is the caller graph for this function:

◆ MakeKey()

static TKey* MakeKey ( TObject *  obj,
int  cycle,
TDirectory dir,
const char *  name = NULL 
)
static

Definition at line 206 of file netDirectoryServer.cxx.

Here is the caller graph for this function:

◆ NetDirectoryExport() [1/3]

void NetDirectoryExport ( TCollection *  collection,
const char *  exportName 
)

Definition at line 654 of file netDirectoryServer.cxx.

◆ NetDirectoryExport() [2/3]

void NetDirectoryExport ( TDirectory dir,
const char *  exportName 
)

Definition at line 618 of file netDirectoryServer.cxx.

Here is the caller graph for this function:

◆ NetDirectoryExport() [3/3]

void NetDirectoryExport ( TFolder *  folder,
const char *  exportName 
)

Definition at line 636 of file netDirectoryServer.cxx.

◆ ResetObject()

static void ResetObject ( TObject *  obj)
static

Definition at line 177 of file netDirectoryServer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ root_server_thread()

static THREADTYPE root_server_thread ( void *  arg)
static

Definition at line 230 of file netDirectoryServer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_listener()

static THREADTYPE socket_listener ( void *  arg)
static

Definition at line 571 of file netDirectoryServer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartNetDirectoryServer()

void StartNetDirectoryServer ( int  port,
TDirectory dir 
)

Definition at line 672 of file netDirectoryServer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TopLevel()

static TObject* TopLevel ( char *  path,
char **  opath 
)
static

Definition at line 114 of file netDirectoryServer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VerboseNetDirectoryServer()

void VerboseNetDirectoryServer ( bool  verbose)

Definition at line 608 of file netDirectoryServer.cxx.

Here is the caller graph for this function:

Variable Documentation

◆ gAlreadyRunning

bool gAlreadyRunning = false
static

Definition at line 616 of file netDirectoryServer.cxx.

◆ gExportNames

std::map<std::string,std::string> gExportNames
static

Definition at line 55 of file netDirectoryServer.cxx.

◆ gExports

std::deque<std::string> gExports
static

Definition at line 54 of file netDirectoryServer.cxx.

◆ gVerbose

bool gVerbose = false
static

Definition at line 52 of file netDirectoryServer.cxx.