MBDyn-1.7.3
|
#include <streamoutelem.h>
Classes | |
class | Copy |
class | Modifier |
Public Types | |
enum | Type { UNKNOWN = -1, VALUES = 0, MOTION = 1, LASTTYPE } |
Public Member Functions | |
StreamContent (size_t size, Modifier *pMod) | |
virtual | ~StreamContent (void) |
void * | GetBuf (void) const |
int | GetSize (void) const |
const void * | GetOutBuf (void) const |
int | GetOutSize (void) const |
virtual void | Prepare (void)=0 |
virtual unsigned | GetNumChannels (void) const =0 |
Protected Attributes | |
std::vector< char > | buf |
Modifier * | m_pMod |
Definition at line 81 of file streamoutelem.h.
enum StreamContent::Type |
Enumerator | |
---|---|
UNKNOWN | |
VALUES | |
MOTION | |
LASTTYPE |
Definition at line 83 of file streamoutelem.h.
StreamContent::StreamContent | ( | size_t | size, |
StreamContent::Modifier * | pMod | ||
) |
Definition at line 97 of file streamoutelem.cc.
References buf, grad::Copy(), m_pMod, and StreamContent::Modifier::Set().
|
virtual |
void * StreamContent::GetBuf | ( | void | ) | const |
Definition at line 117 of file streamoutelem.cc.
References buf.
Referenced by BufferStreamElem_base::AfterConvergence().
|
pure virtual |
Implemented in StreamContentValue, and StreamContentMotion.
Referenced by BufferStreamElem_base::AfterConvergence(), BufferStreamElem_base::BufferStreamElem_base(), BufferStreamElemRaw::BufferStreamElemRaw(), BufferStreamElem::GetBuf(), BufferStreamElem::GetBufRaw(), BufferStreamElem_base::GetBufSize(), BufferStreamElemRaw::SetBufRaw(), and WriteStreamContentLogOutput().
const void * StreamContent::GetOutBuf | ( | void | ) | const |
Definition at line 129 of file streamoutelem.cc.
References StreamContent::Modifier::GetOutBuf(), and m_pMod.
Referenced by RTMBDynOutElem::AfterConvergence().
int StreamContent::GetOutSize | ( | void | ) | const |
Definition at line 135 of file streamoutelem.cc.
References StreamContent::Modifier::GetOutSize(), and m_pMod.
Referenced by RTMBDynOutElem::AfterConvergence(), and RTMBDynOutElem::RTMBDynOutElem().
int StreamContent::GetSize | ( | void | ) | const |
|
pure virtual |
Implemented in StreamContentValue, and StreamContentMotion.
Referenced by BufferStreamElem_base::AfterConvergence(), and RTMBDynOutElem::AfterConvergence().
|
protected |
Definition at line 120 of file streamoutelem.h.
Referenced by GetBuf(), StreamContentMotion::GetNumChannels(), GetSize(), StreamContentMotion::Prepare(), StreamContentValue::Prepare(), StreamContent(), and StreamContentMotion::StreamContentMotion().
|
protected |
Definition at line 122 of file streamoutelem.h.
Referenced by GetOutBuf(), GetOutSize(), StreamContentMotion::Prepare(), StreamContentValue::Prepare(), StreamContent(), StreamContentMotion::StreamContentMotion(), and ~StreamContent().