#include <rtai_in_drive.h>
|
| | RTMBDynInDrive (unsigned int uL, const DriveHandler *pDH, const std::string &sFileName, const std::string &host, integer nd, const std::vector< doublereal > &v0, StreamDrive::Modifier *pMod, bool c, unsigned longn, bool bNonBlocking) |
| |
| virtual | ~RTMBDynInDrive (void) |
| |
| virtual std::ostream & | Restart (std::ostream &out) const |
| |
| virtual void | ServePending (const doublereal &t) |
| |
| | StreamDrive (unsigned int uL, const DriveHandler *pDH, const std::string &sFileName, integer nd, const std::vector< doublereal > &v0, bool c, StreamDrive::Modifier *pmod) |
| |
| virtual | ~StreamDrive (void) |
| |
| void | SetModifier (const Modifier *p) |
| |
| const StreamDrive::Modifier * | pGetModifier (void) const |
| |
| | FileDrive (unsigned int uL, const DriveHandler *pDH, const std::string &s, integer nd, const std::vector< doublereal > &v0) |
| |
| virtual | ~FileDrive (void) |
| |
| virtual Drive::Type | GetDriveType (void) const |
| |
| virtual integer | iGetNumDrives (void) const |
| |
| virtual doublereal | dGet (const doublereal &t, int i=1) const |
| |
| | Drive (unsigned int uL, const DriveHandler *pDH) |
| |
| virtual | ~Drive (void) |
| |
| | WithLabel (unsigned int uL=0, const std::string &sN="") |
| |
| virtual | ~WithLabel (void) |
| |
| void | PutLabel (unsigned int uL) |
| |
| void | PutName (const std::string &sN) |
| |
| unsigned int | GetLabel (void) const |
| |
| const std::string & | GetName (void) const |
| |
Definition at line 43 of file rtai_in_drive.h.
Definition at line 40 of file rtai_in_drive.cc.
References ASSERT, StreamDrive::create, f_receive, MBDYN_EXCEPT_ARGS, mbx, node, port, and StreamDrive::size.
58 silent_cerr(
"RTMBDyn mailbox(" <<
sFileName <<
") "
59 "init failed" << std::endl);
66 port = rtmbdyn_rt_request_port(
node);
71 silent_cerr(
"RTMBDyn mailbox(" <<
sFileName <<
") "
72 "get_adr failed" << std::endl);
#define MBDYN_EXCEPT_ARGS
int(* f_receive)(unsigned long node, int port, void *mbx, void *msg, int msg_size)
#define ASSERT(expression)
static std::stack< cleanup * > c
static const std::vector< doublereal > v0
StreamDrive(unsigned int uL, const DriveHandler *pDH, const std::string &sFileName, integer nd, const std::vector< doublereal > &v0, bool c, StreamDrive::Modifier *pmod)
| RTMBDynInDrive::~RTMBDynInDrive |
( |
void |
| ) |
|
|
virtual |
| std::ostream & RTMBDynInDrive::Restart |
( |
std::ostream & |
out | ) |
const |
|
virtual |
Implements FileDrive.
Definition at line 116 of file rtai_in_drive.cc.
118 return out <<
"0. /* RTMBDynInDrive not implemented yet */" << std::endl;
| void RTMBDynInDrive::ServePending |
( |
const doublereal & |
t | ) |
|
|
virtual |
Implements Drive.
Definition at line 96 of file rtai_in_drive.cc.
References StreamDrive::buf, f_receive, FileDrive::iNumDrives, mbx, node, FileDrive::pdVal, port, and StreamDrive::size.
int(* f_receive)(unsigned long node, int port, void *mbx, void *msg, int msg_size)
| bool RTMBDynInDrive::bNonBlocking |
|
protected |
| std::string RTMBDynInDrive::host |
|
protected |
| void* RTMBDynInDrive::mbx |
|
protected |
| unsigned long RTMBDynInDrive::node |
|
protected |
The documentation for this class was generated from the following files: