MBDyn-1.7.3
|
#include <rtaisolver.h>
Public Member Functions | |
RTAISolver (Solver *pS, RTMode eRTMode, long long lRTPeriod, unsigned long RTStackSize, bool bRTAllowNonRoot, int RTCpuMap, bool bRTHard, bool bRTlog, const std::string &LogProcName) | |
~RTAISolver (void) | |
std::ostream & | Restart (std::ostream &out) const |
void | Setup (void) |
void | Init (void) |
bool | IsStopCommanded (void) |
void | StopCommanded (void) |
void | Log (void) |
void | Wait (void) |
Public Member Functions inherited from RTSolverBase | |
RTSolverBase (Solver *pS, RTMode eRTMode, unsigned long lRTPeriod, unsigned long RTStackSize, bool bRTAllowNonRoot, int RTCpuMap, bool bNoOutput=true) | |
virtual | ~RTSolverBase (void) |
Private Attributes | |
bool | bRTHard |
bool | bRTlog |
const std::string | LogProcName |
long long | lRTPeriod |
void * | RTSemPtr_in |
void * | RTSemPtr_out |
void * | mbxlog |
int | RTStpFlag |
int | t_tot |
long long | t0 |
long long | t1 |
int | or_counter |
Additional Inherited Members | |
Public Types inherited from RTSolverBase | |
enum | RTMode { MBRT_UNKNOWN = -1, MBRT_WAITPERIOD, MBRT_SEMAPHORE, MBRT_IO, MBRT_LASTMODE } |
Protected Member Functions inherited from RTSolverBase | |
bool | RTWaitPeriod (void) const |
bool | RTSemWait (void) const |
bool | RTBlockingIO (void) const |
Protected Attributes inherited from RTSolverBase | |
Solver * | pS |
RTMode | eRTMode |
unsigned long | lRTPeriod |
unsigned long | RTStackSize |
bool | bRTAllowNonRoot |
int | RTCpuMap |
bool | bNoOutput |
volatile int | RTSteps |
Definition at line 39 of file rtaisolver.h.
RTAISolver::RTAISolver | ( | Solver * | pS, |
RTMode | eRTMode, | ||
long long | lRTPeriod, | ||
unsigned long | RTStackSize, | ||
bool | bRTAllowNonRoot, | ||
int | RTCpuMap, | ||
bool | bRTHard, | ||
bool | bRTlog, | ||
const std::string & | LogProcName | ||
) |
Definition at line 50 of file rtaisolver.cc.
References ASSERT.
RTAISolver::~RTAISolver | ( | void | ) |
|
virtual |
Reimplemented from RTSolverBase.
Definition at line 148 of file rtaisolver.cc.
References ASSERT, RTSolverBase::bRTAllowNonRoot, bRTlog, RTSolverBase::Init(), LogProcName, lRTPeriod, MBDYN_EXCEPT_ARGS, mbxlog, msg, RTSolverBase::RTCpuMap, RTSemPtr_in, RTSemPtr_out, RTSolverBase::RTSemWait(), and RTSolverBase::RTWaitPeriod().
|
virtual |
Reimplemented from RTSolverBase.
Definition at line 309 of file rtaisolver.cc.
References RTStpFlag, and StopCommanded().
|
virtual |
Implements RTSolverBase.
Definition at line 329 of file rtaisolver.cc.
References or_counter, and t_tot.
|
virtual |
Implements RTSolverBase.
Definition at line 88 of file rtaisolver.cc.
References RTSolverBase::bRTAllowNonRoot, bRTHard, bRTlog, RTSolverBase::eRTMode, LogProcName, lRTPeriod, MBDYN_EXCEPT_ARGS, RTSolverBase::MBRT_SEMAPHORE, RTSolverBase::MBRT_WAITPERIOD, RTSolverBase::RTCpuMap, and RTSolverBase::RTStackSize.
|
virtual |
Implements RTSolverBase.
Definition at line 129 of file rtaisolver.cc.
References ASSERT, RTSolverBase::bRTAllowNonRoot, MBDYN_EXCEPT_ARGS, and RTSolverBase::RTCpuMap.
|
virtual |
Implements RTSolverBase.
Definition at line 320 of file rtaisolver.cc.
References bRTHard.
Referenced by IsStopCommanded().
|
virtual |
Implements RTSolverBase.
Definition at line 337 of file rtaisolver.cc.
References bRTHard, bRTlog, lRTPeriod, mbxlog, msg, or_counter, RTSemPtr_in, RTSolverBase::RTSemWait(), RTSolverBase::RTSteps, RTStpFlag, RTSolverBase::RTWaitPeriod(), mbrtai_msg_t::step, t0, t1, t_tot, and mbrtai_msg_t::time.
|
private |
Definition at line 41 of file rtaisolver.h.
Referenced by Restart(), StopCommanded(), and Wait().
|
private |
Definition at line 42 of file rtaisolver.h.
|
private |
Definition at line 43 of file rtaisolver.h.
|
private |
Definition at line 45 of file rtaisolver.h.
|
private |
Definition at line 51 of file rtaisolver.h.
Referenced by Init(), Wait(), and ~RTAISolver().
|
private |
Definition at line 55 of file rtaisolver.h.
|
private |
Definition at line 48 of file rtaisolver.h.
|
private |
Definition at line 49 of file rtaisolver.h.
Referenced by Init().
|
private |
Definition at line 52 of file rtaisolver.h.
Referenced by IsStopCommanded(), and Wait().
|
private |
Definition at line 54 of file rtaisolver.h.
Referenced by Wait().
|
private |
Definition at line 54 of file rtaisolver.h.
Referenced by Wait().
|
private |
Definition at line 53 of file rtaisolver.h.