| 1 |
NAME SoTranReceiver "" "" { interprets database changes for transcription } |
| 2 |
|
| 3 |
INCLUDE misc/SoTranscribe.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This class is used for transcribing Inventor data. Transcription is |
| 7 |
the process of packaging changes to a database and sending them over a |
| 8 |
"wire" to another database. |
| 9 |
\p |
| 10 |
The \cSoTranReceiver\. class is used on the receiving side of |
| 11 |
transcription. It interprets changes to a Inventor database packaged |
| 12 |
up by an \cSoTranSender\.. |
| 13 |
} |
| 14 |
|
| 15 |
METHOD "" SoTranReceiver(SoGroup *rootNode) { |
| 16 |
The constructor takes a pointer to an SoGroup instance that is the |
| 17 |
root node of the scene graph on the receiving end. All changes to the |
| 18 |
database are made relative to this root. |
| 19 |
} |
| 20 |
|
| 21 |
METHOD "" ~SoTranReceiver() { Destructor. } |
| 22 |
|
| 23 |
METHOD "" SbBool interpret(SoInput *in) { |
| 24 |
Interprets the transcription commands found in the given input stream. |
| 25 |
Returns FALSE on any error. Note: some errors (such as invalid node |
| 26 |
references) are recoverable, while others (such as syntax errors) are |
| 27 |
not. |
| 28 |
} |
| 29 |
|
| 30 |
ALSO { SoInput, SoTranSender } |
| 31 |
|