Go to the documentation of this file.
23 #include "rtabmap/utilite/utilite_export.h"
92 enum Priority{kPLow, kPBelowNormal, kPNormal, kPAboveNormal, kPRealTime};
104 UThread(Priority priority = kPNormal);
135 void join(
bool killFirst =
false);
141 void setPriority(Priority priority);
149 void setAffinity(
int cpu = 0);
154 bool isCreating()
const;
159 bool isRunning()
const;
169 bool isKilled()
const;
194 virtual void mainLoop() = 0;
223 void applyPriority();
238 Handle *
const & H = 0,
239 const bool & CreateDetached =
false,
240 const unsigned int & StackSize = 0,
241 const bool & CancelEnable =
false,
242 const bool & CancelAsync =
false
260 enum State{kSIdle, kSCreating, kSRunning, kSKilled};
270 #endif // UTHREADNODE_H
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange[ *:*] noreverse nowriteback set trange[ *:*] noreverse nowriteback set urange[ *:*] noreverse nowriteback set vrange[ *:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
static unsigned long currentThreadId()
static int Join(Handle H)
static int Create(const Handler &Function, Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false)
static int Kill(Handle H)
static int Kill(Handle H)
unsigned long getThreadId() const
void operator=(UThread &)
virtual void ThreadMain(Thread_R)=0
virtual void mainLoopEnd()
static int Detach(Handle H)
static int Detach(Handle H)
virtual void mainLoopKill()
static void applyAffinity(Mem *pRec, char affinity, u8 enc)
virtual void mainLoopBegin()
Handle getThreadHandle() const
static int Join(Handle H)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:23