Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sotransender(3iv) [debian man page]

SoTranSender(3IV)()													       SoTranSender(3IV)()

NAME
SoTranSender -- sends database changes for transcription INHERITS FROM
SoTranSender SYNOPSIS
#include <Inventor/misc/SoTranscribe.h> Methods from class SoTranSender: SoTranSender(SoOutput *output) ~SoTranSender() SoOutput * getOutput() const void insert(SoNode *node) void insert(SoNode *node, SoNode *parent, int n) void remove(SoNode *parent, int n) void replace(SoNode *parent, int n, SoNode *newNode) void modify(SoNode *node) void prepareToSend() DESCRIPTION
This class is used for transcribing Inventor data. Transcription is the process of packaging changes to a database and sending them over a "wire" to another database. The SoTranSender class is used on the sending side of transcription. It packages up changes to a Inventor database into a file or memory area defined by an SoOutput instance. It supports a limited set of changes to a database; each change is stored as a command in the tran- scription area. The SoTranReceiver class can be used at the other end to interpret the transcribed commands. METHODS
SoTranSender(SoOutput *output) The constructor takes a pointer to an SoOutput instance that determines what the transcription area is (file or memory). ~SoTranSender() Destructor. SoOutput * getOutput() const Returns pointer to current SoOutput instance. void insert(SoNode *node) Adds an INSERT command to the transcription area. The given node will be added as the last child of the root node on the receiving end. void insert(SoNode *node, SoNode *parent, int n) Adds an INSERT command to the transcription area. The given node will be added as the nth child of the given parent node on the receiv- ing end. A NULL parent node causes the node to be added to the receiving end's root node. void remove(SoNode *parent, int n) Adds a REMOVE command to the transcription area. The nth child of the given (non-NULL) parent node on the receiving end will be removed. void replace(SoNode *parent, int n, SoNode *newNode) Adds a REPLACE command to the transcription area. The nth child of the given (non-NULL) parent node on the receiving end will be replaced with newNode. void modify(SoNode *node) Adds a MODIFY command to the transcription area. Updates the field data for the given node to the new contents. Note that this changes only field data; children of groups are not affected, nor is any non-field instance data. void prepareToSend() Prepares a SoTranSender instance for transcription, making sure the transcription area is complete and all packaged to go. This must be called before the transcription can be performed. SEE ALSO
SoOutput, SoTranReceiver SoTranSender(3IV)()

Check Out this Related Man Page

SoNodeList(3)							       Coin							     SoNodeList(3)

NAME
SoNodeList - The SoNodeList class is a container for pointers to SoNode objects. SYNOPSIS
#include <Inventor/lists/SoNodeList.h> Inherits SoBaseList. Inherited by SoChildList. Public Member Functions SoNodeList (void) SoNodeList (const int size) SoNodeList (const SoNodeList &nl) ~SoNodeList () void append (SoNode *const ptr) SoNode * operator[] (const int i) const SoNodeList & operator= (const SoNodeList &nl) Detailed Description The SoNodeList class is a container for pointers to SoNode objects. As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc. Constructor &; Destructor Documentation SoNodeList::SoNodeList (void) Default constructor. SoNodeList::SoNodeList (const intsize) Constructor with a hint about the number of elements the list will hold. See also: SoBaseList::SoBaseList(const int) SoNodeList::SoNodeList (const SoNodeList &nl) Copy constructor. See also: SoBaseList::SoBaseList(const SoBaseList &) SoNodeList::~SoNodeList () Destructor. See also: SoBaseList::~SoBaseList() Member Function Documentation void SoNodeList::append (SoNode *constptr) Append ptr to the list. See also: SoBaseList::append() Reimplemented in SoChildList. SoNode * SoNodeList::operator[] (const inti) const Return node pointer at index i. See also: SoBaseList::operator[]() Reimplemented from SoBaseList. SoNodeList & SoNodeList::operator= (const SoNodeList &nl) Copy contents of list nl to this list. See also: SoBaseList::operator=() Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoNodeList(3)
Man Page