ThreadTrans Struct Reference

#include <Process.h>

Collaboration diagram for ThreadTrans:

Collaboration graph
[legend]

Public Member Functions

 ThreadTrans ()
void init ()
void print ()

Data Fields

pid_t pid_
pthread_t thrid_
Transactiontrans_

Detailed Description

Definition at line 35 of file Process.h.


Constructor & Destructor Documentation

ThreadTrans::ThreadTrans (  )  [inline]

Definition at line 39 of file Process.h.

References pid_, thrid_, and trans_.

00039 { pid_ =0; thrid_ =0; trans_ = NULL; }


Member Function Documentation

void ThreadTrans::init (  )  [inline]

Definition at line 40 of file Process.h.

References pid_, thrid_, and trans_.

00040 { pid_ =0; thrid_ =0; trans_ = NULL; }

void ThreadTrans::print (  ) 

Definition at line 39 of file Process.cxx.

References pid_, and thrid_.

00040 {
00041     if (pid_ ==0) return;
00042     printf("<THREADTRANS>\n");
00043     printf("  <PID> %d </PID>\n", pid_);
00044     printf("  <THRID> %lu </THRID>\n", thrid_);
00045     printf("  <TRANSACTION> %x </TRANSACTION>\n");
00046     printf("</THREADTRANS>\n");
00047 }


Field Documentation

pid_t ThreadTrans::pid_

Definition at line 36 of file Process.h.

Referenced by ProcessManager::getThreadTransaction(), ProcessManager::getThreadTransAddr(), init(), print(), ProcessManager::setThreadTransaction(), and ThreadTrans().

pthread_t ThreadTrans::thrid_

Definition at line 37 of file Process.h.

Referenced by ProcessManager::getThreadTransaction(), ProcessManager::getThreadTransAddr(), init(), print(), ProcessManager::setThreadTransaction(), and ThreadTrans().

Transaction* ThreadTrans::trans_

Definition at line 38 of file Process.h.

Referenced by ProcessManager::getThreadTransaction(), ProcessManager::getThreadTransAddr(), init(), ProcessManager::setThreadTransaction(), and ThreadTrans().


The documentation for this struct was generated from the following files:
Generated on Mon Jun 9 22:54:14 2008 for csql by  doxygen 1.4.7