X3D libraries
The libraries to work with X3D dataset

x3d::TransmitterPdu Class Reference

TransmitterPdu class definition automatically generated by html-to-header v1.0. More...

#include <objects.h>

Inheritance diagram for x3d::TransmitterPdu:

Inheritance graph
[legend]
Collaboration diagram for x3d::TransmitterPdu:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool FieldHasDefaultValue (field_t name) const
 Test to know whether a field is currently set to its default value.
SFStringget_address () const
SFVec3fget_antennaLocation () const
SFInt32 get_antennaPatternLength () const
SFInt32 get_antennaPatternType () const
SFInt32 get_applicationID () const
SFInt32 get_cryptoKeyID () const
SFInt32 get_cryptoSystem () const
SFInt32 get_entityID () const
SFInt32 get_frequency () const
SFInt32 get_inputSource () const
SFBool get_isActive () const
SFBool get_isNetworkReader () const
SFBool get_isNetworkWriter () const
SFBool get_isRtpHeaderHeard () const
SFBool get_isStandAlone () const
SFInt32 get_lengthOfModulationParameters () const
SFInt32 get_modulationTypeDetail () const
SFInt32 get_modulationTypeMajor () const
SFInt32 get_modulationTypeSpreadSpectrum () const
SFInt32 get_modulationTypeSystem () const
SFStringget_multicastRelayHost () const
SFInt32 get_multicastRelayPort () const
SFInt32 get_networkMode () const
SFInt32 get_port () const
SFFloat get_power () const
SFInt32 get_radioEntityTypeCategory () const
SFInt32 get_radioEntityTypeCountry () const
SFInt32 get_radioEntityTypeDomain () const
SFInt32 get_radioEntityTypeKind () const
SFInt32 get_radioEntityTypeNomenclature () const
SFInt32 get_radioEntityTypeNomenclatureVersion () const
SFInt32 get_radioID () const
SFFloat get_readInterval () const
SFVec3fget_relativeAntennaLocation () const
SFBool get_rtpHeaderExpected () const
SFInt32 get_siteID () const
SFTime get_timestamp () const
SFFloat get_transmitFrequencyBandwidth () const
SFInt32 get_transmitState () const
SFInt32 get_whichGeometry () const
SFFloat get_writeInterval () const
virtual field_t GetDefaultContainerField () const
 Get the name of the default container (SFNode or MFNode) for children nodes.
virtual const char * GetDefaultContainerFieldName () const
 Get the name of the default container (SFNode or MFNode) for children nodes.
virtual bool GetFieldByIndex (int idx, FieldInfo *info) const
 Get the content of a field using its index.
virtual bool GetFieldByName (field_t name, FieldInfo *info) const
 Get the content of a field using its name.
virtual int GetFieldCount () const
 Get the number of fields available at this level.
virtual bool GetFieldDefault (field_t name, FieldInfo *info) const
 Get the default value of a field.
virtual const char * GetNodeName () const
 Get the textual name of a node.
virtual field_t GetNodeType (int idx=0) const
 Get the type of a node.
virtual int GetTypeCount () const
 Get the number of types a node represents at its top-level.
virtual bool IsNodeType (field_t type) const
 Test whether a node is of a certain type.
void set_address (const SFString &address)
void set_antennaLocation (const SFVec3f &antennaLocation)
void set_antennaPatternLength (const SFInt32 &antennaPatternLength)
void set_antennaPatternType (const SFInt32 &antennaPatternType)
void set_applicationID (const SFInt32 &applicationID)
void set_cryptoKeyID (const SFInt32 &cryptoKeyID)
void set_cryptoSystem (const SFInt32 &cryptoSystem)
void set_entityID (const SFInt32 &entityID)
void set_frequency (const SFInt32 &frequency)
void set_inputSource (const SFInt32 &inputSource)
void set_isActive (const SFBool &isActive)
void set_isNetworkReader (const SFBool &isNetworkReader)
void set_isNetworkWriter (const SFBool &isNetworkWriter)
void set_isRtpHeaderHeard (const SFBool &isRtpHeaderHeard)
void set_isStandAlone (const SFBool &isStandAlone)
void set_lengthOfModulationParameters (const SFInt32 &lengthOfModulationParameters)
void set_modulationTypeDetail (const SFInt32 &modulationTypeDetail)
void set_modulationTypeMajor (const SFInt32 &modulationTypeMajor)
void set_modulationTypeSpreadSpectrum (const SFInt32 &modulationTypeSpreadSpectrum)
void set_modulationTypeSystem (const SFInt32 &modulationTypeSystem)
void set_multicastRelayHost (const SFString &multicastRelayHost)
void set_multicastRelayPort (const SFInt32 &multicastRelayPort)
void set_networkMode (const SFInt32 &networkMode)
void set_port (const SFInt32 &port)
void set_power (const SFFloat &power)
void set_radioEntityTypeCategory (const SFInt32 &radioEntityTypeCategory)
void set_radioEntityTypeCountry (const SFInt32 &radioEntityTypeCountry)
void set_radioEntityTypeDomain (const SFInt32 &radioEntityTypeDomain)
void set_radioEntityTypeKind (const SFInt32 &radioEntityTypeKind)
void set_radioEntityTypeNomenclature (const SFInt32 &radioEntityTypeNomenclature)
void set_radioEntityTypeNomenclatureVersion (const SFInt32 &radioEntityTypeNomenclatureVersion)
void set_radioID (const SFInt32 &radioID)
void set_readInterval (const SFFloat &readInterval)
void set_relativeAntennaLocation (const SFVec3f &relativeAntennaLocation)
void set_rtpHeaderExpected (const SFBool &rtpHeaderExpected)
void set_siteID (const SFInt32 &siteID)
void set_timestamp (const SFTime &timestamp)
void set_transmitFrequencyBandwidth (const SFFloat &transmitFrequencyBandwidth)
void set_transmitState (const SFInt32 &transmitState)
void set_whichGeometry (const SFInt32 &whichGeometry)
void set_writeInterval (const SFFloat &writeInterval)
virtual bool SetFieldByName (field_t name, const void *data)
 Set the value of a field using its numeric name.
 TransmitterPdu ()
virtual ~TransmitterPdu ()

Protected Attributes

SFString f_address
SFVec3f f_antennaLocation
SFInt32 f_antennaPatternLength
SFInt32 f_antennaPatternType
SFInt32 f_applicationID
SFInt32 f_cryptoKeyID
SFInt32 f_cryptoSystem
SFInt32 f_entityID
SFInt32 f_frequency
SFInt32 f_inputSource
SFBool f_isActive
SFBool f_isNetworkReader
SFBool f_isNetworkWriter
SFBool f_isRtpHeaderHeard
SFBool f_isStandAlone
SFInt32 f_lengthOfModulationParameters
SFInt32 f_modulationTypeDetail
SFInt32 f_modulationTypeMajor
SFInt32 f_modulationTypeSpreadSpectrum
SFInt32 f_modulationTypeSystem
SFString f_multicastRelayHost
SFInt32 f_multicastRelayPort
SFInt32 f_networkMode
SFInt32 f_networkMode__enum_last
SFString f_networkMode__enum_name
SFInt32 f_port
SFFloat f_power
SFInt32 f_radioEntityTypeCategory
SFInt32 f_radioEntityTypeCountry
SFInt32 f_radioEntityTypeDomain
SFInt32 f_radioEntityTypeKind
SFInt32 f_radioEntityTypeNomenclature
SFInt32 f_radioEntityTypeNomenclatureVersion
SFInt32 f_radioID
SFFloat f_readInterval
SFVec3f f_relativeAntennaLocation
SFBool f_rtpHeaderExpected
SFInt32 f_siteID
SFTime f_timestamp
SFFloat f_transmitFrequencyBandwidth
SFInt32 f_transmitState
SFInt32 f_whichGeometry
SFFloat f_writeInterval

Detailed Description

TransmitterPdu class definition automatically generated by html-to-header v1.0.

This class was automatically generated using the definition available in this modified X3D abstract: TransmitterPdu


Constructor & Destructor Documentation

x3d::TransmitterPdu::TransmitterPdu  ) 
 

virtual x3d::TransmitterPdu::~TransmitterPdu  )  [virtual]
 


Member Function Documentation

virtual bool x3d::TransmitterPdu::FieldHasDefaultValue field_t  name  )  const [virtual]
 

Test to know whether a field is currently set to its default value.

This function searches the specified field and test to know whether it is currently set to its default value. This is useful whenever saving to an XML file or some other format to avoid saving fields which are anyway set to their defaults. Also, the rendering process can make use of this to avoid changing the environment if it is not necessary.

Note:
A required field (i.e. marked as #REQUIRED in the DTD) does not have a default value and thus this function will always return false for these fields.
Parameters:
[in] name The name of the field to query in numeric form
Returns:
true if the field could be found and has a default value.
See also:
bool SFNode::GetFieldByName(field_t name, FieldInfo *info) const; bool SFNode::GetFieldByIndex(int idx, FieldInfo *info) const; bool SFNode::FieldHasDefaultValue(field_t name) const field_t GetField(const char *name);

Reimplemented from x3d::X3DChildNode.

SFString& x3d::TransmitterPdu::get_address  )  const [inline]
 

SFVec3f& x3d::TransmitterPdu::get_antennaLocation  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_antennaPatternLength  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_antennaPatternType  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_applicationID  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_cryptoKeyID  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_cryptoSystem  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_entityID  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_frequency  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_inputSource  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_isActive  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_isNetworkReader  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_isNetworkWriter  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_isRtpHeaderHeard  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_isStandAlone  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_lengthOfModulationParameters  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_modulationTypeDetail  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_modulationTypeMajor  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_modulationTypeSpreadSpectrum  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_modulationTypeSystem  )  const [inline]
 

SFString& x3d::TransmitterPdu::get_multicastRelayHost  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_multicastRelayPort  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_networkMode  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_port  )  const [inline]
 

SFFloat x3d::TransmitterPdu::get_power  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeCategory  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeCountry  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeDomain  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeKind  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeNomenclature  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioEntityTypeNomenclatureVersion  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_radioID  )  const [inline]
 

SFFloat x3d::TransmitterPdu::get_readInterval  )  const [inline]
 

SFVec3f& x3d::TransmitterPdu::get_relativeAntennaLocation  )  const [inline]
 

SFBool x3d::TransmitterPdu::get_rtpHeaderExpected  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_siteID  )  const [inline]
 

SFTime x3d::TransmitterPdu::get_timestamp  )  const [inline]
 

SFFloat x3d::TransmitterPdu::get_transmitFrequencyBandwidth  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_transmitState  )  const [inline]
 

SFInt32 x3d::TransmitterPdu::get_whichGeometry  )  const [inline]
 

SFFloat x3d::TransmitterPdu::get_writeInterval  )  const [inline]
 

virtual field_t x3d::TransmitterPdu::GetDefaultContainerField void   )  const [virtual]
 

Get the name of the default container (SFNode or MFNode) for children nodes.

This function returns the numeric name of the container field to use for children which are not given a specific place to be saved to. This is mainly for I/O purposes, whenever you are loading a file, you usually need to know where to save a new node in its parent.

Each node has a default field name where it is supposed to be saved in its parent node. Many nodes will return "children".

If no name is specified, this function returns FLD_INVALID. This means a saved node must specified the name of the container field otherwise the child cannot be saved in the parent.

Returns:
a field_t with the name of the field in which to save this node in its parent node
See also:
const char *SFNodeGetDefaultContainerFieldName(void) const;

Reimplemented from x3d::X3DChildNode.

virtual const char* x3d::TransmitterPdu::GetDefaultContainerFieldName void   )  const [virtual]
 

Get the name of the default container (SFNode or MFNode) for children nodes.

This function returns the textual name of the container field to use for children which do not have a specific place to be. This is mainly for I/O purposes, whenever you are loading a file, you usually need to know where to save a new node in its parent.

Each node has a default field name where it is supposed to be saved in its parent node. Many nodes will return "children".

If no name is specified, this function returns a null pointer. This means a saved node must specified the name of the container field otherwise the child cannot be saved in the parent.

If all you need is the numeric name, use the GetDefaultContainerFieldName() instead, it will be a lot faster.

Returns:
the name of the container field as a static const string an empty string or a null pointer
See also:
field_t SFNode::GetDefaultContainerField(void) const;

Reimplemented from x3d::X3DChildNode.

virtual bool x3d::TransmitterPdu::GetFieldByIndex int  idx,
FieldInfo info
const [virtual]
 

Get the content of a field using its index.

This function searches the specified field at the specified index and returns a pointer to its content, its type and its name in the provided info parameter.

This is used to enumerate all the fields of a node. The index starts at 0 and increases until the function returns false.

Warning:
Note that you can then read and write in the field. It is not adviced that you write in the field unless you know exactly what you are doing. You should instead use the set_ and get_ functions to read and write fields. This generic function is provided mainly for I/O operations.
Note:
The info are not modified if no field is found at the specified index.
Parameters:
[in] idx The index of the field to query
[in,out] info The structure where the information about the field is saved
Returns:
true if the field was found, false when the index is out of range
See also:
bool SFNode::GetFieldByName(field_t name, FieldInfo *info) const; int SFNode::GetFieldCount(void) const; field_t GetField(const char *name);

Reimplemented from x3d::X3DChildNode.

virtual bool x3d::TransmitterPdu::GetFieldByName field_t  name,
FieldInfo info
const [virtual]
 

Get the content of a field using its name.

This function searches the specified field and returns a pointer to its content, its type and its name in the provided info parameter.

Warning:
Note that you can then read and write in the field. It is not adviced that you write in the field unless you know exactly what you are doing. You should instead use the set_ and get_ functions to read and write fields. This generic function is provided mainly for I/O operations.
Parameters:
[in] name The name of the field to query in numeric form
[in,out] info The structure where the information about the field is saved
Returns:
true if the field was found
See also:
bool SFNode::GetFieldByIndex(int idx, FieldInfo *info) const; field_t GetField(const char *name);

Reimplemented from x3d::X3DChildNode.

virtual int x3d::TransmitterPdu::GetFieldCount void   )  const [virtual]
 

Get the number of fields available at this level.

This function returns the total number of fields this node supports. This can be used with a for() loop to query all the fields. It is also used internally to determine how to decrement the index to call the super class GetFieldByIndex() function.

In user defined types you need to call your super class GetFieldCount() and add the number of fields you offer:

 MyClass:GetFieldCount()
 {
        return X3DChildNode::GetFieldCount() + 5;
 }

Returns:
the total number of fields in this node and all its super classes
See also:
bool SFNode::GetFieldByIndex(int idx, FieldInfo *info) const; field_t GetField(const char *name);

Reimplemented from x3d::X3DChildNode.

virtual bool x3d::TransmitterPdu::GetFieldDefault field_t  name,
FieldInfo info
const [virtual]
 

Get the default value of a field.

Ask the node to return the default value of a field. It can be used to reset the field to that value or compare with the current value to know whether it is the default.

Note that to compare the current value of a field to its default, you should use the FieldHasDefaultValue() function instead (it is much more efficient and it compares all the different types for you.)

The returned value is the same as what you get when calling the GetFieldByName() or GetFieldByIndex() functions.

Note:
A required field (i.e. marked as #REQUIRED in the DTD) does not have a default value. This function will therefore return false for these fields.
Warning:
The returned FieldInfo will point to a static constant variable with the default value. The f_data pointer of the FieldInfo is unfortunately not set as a constant since once in a while you want to be able to modify the content of a field (especially MFNode's). However, modifying the default will either fail with a bus error/segmentation fault or you will lose access to the true default. Note that objects will still be initialized with the proper default and the FieldHasDefaultValue() will still work properly since each function has its own copy of the default values.
Parameters:
[in] name The name of the field to get the default of
[in,out] info A FieldInfo structure pointer where the default value is saved.
Returns:
true if the field could be found and has a default value.
See also:
bool SFNode::GetFieldByName(field_t name, FieldInfo *info) const; bool SFNode::GetFieldByIndex(int idx, FieldInfo *info) const; bool SFNode::FieldHasDefaultValue(field_t name) const field_t GetField(const char *name);

Reimplemented from x3d::X3DChildNode.

virtual const char* x3d::TransmitterPdu::GetNodeName void   )  const [virtual]
 

Get the textual name of a node.

The textual name of the node. This is also the name of the C++ class. it is used to load and save files in XML and VRML.

Returns:
a constant string (do not modify!)
See also:
field_t SFNode::GetNodeType(int idx) const;

Reimplemented from x3d::X3DChildNode.

virtual field_t x3d::TransmitterPdu::GetNodeType int  idx = 0  )  const [virtual]
 

Get the type of a node.

Get the type (such as FLD_TYPE_SCRIPT) of a node. The index can be used in order to query all the types. With index 0, only the top-most type is returned. Once all the types have been returned, the function returns FLD_INVALID.

The following example checks whether a node is of type grouping. Note that it is faster to use IsNodeType() in this case unless you want to test for several types.

 for(;;) {
        field_t t = node->GetNodeType();
        if(t == FLD_INVALID) return ERROR;
        if(t == FLD_GROUPING) return VALID;
 }

Parameters:
[in] idx the index of the node of which we want to get the type
Returns:
a field_t with the corresponding node type
See also:
bool SFNode::IsNodeType(field_t type) const;

Reimplemented from x3d::X3DChildNode.

virtual int x3d::TransmitterPdu::GetTypeCount void   )  const [virtual]
 

Get the number of types a node represents at its top-level.

In order for the GetNodeType() function to work properly, we need to have a way to know how many types may be handled at a given level. This function is used for that purpose to decrement the index properly when calling a different level.

Returns:
a field_t with the corresponding node type
See also:
bool SFNode::IsNodeType(field_t type) const;

Reimplemented from x3d::X3DChildNode.

virtual bool x3d::TransmitterPdu::IsNodeType field_t  type  )  const [virtual]
 

Test whether a node is of a certain type.

Nodes inherit of different classes. To know whether a node is derived of a specific class you can use dynamic_cast<typename>(node) where typename is the name of the derived class. This can be rather slow since the textual name is used to find the proper pointer. So if you do not need the pointer afterward, you should instead use this function. It will go through all the classes, but it only has to compare one integer to know whether it is of that class or not.

 if(node->IsNodeType(FLD_TYPE_SCRIPT)) HandleScript(); 

Parameters:
[in] type one of the FLD_TYPE_... enumeration or a user registered type
Returns:
true whenever the node is of that type
See also:
field_t SFNode::GetNodeType(int idx) const;

Reimplemented from x3d::X3DChildNode.

void x3d::TransmitterPdu::set_address const SFString address  )  [inline]
 

void x3d::TransmitterPdu::set_antennaLocation const SFVec3f antennaLocation  )  [inline]
 

void x3d::TransmitterPdu::set_antennaPatternLength const SFInt32 antennaPatternLength  )  [inline]
 

void x3d::TransmitterPdu::set_antennaPatternType const SFInt32 antennaPatternType  )  [inline]
 

void x3d::TransmitterPdu::set_applicationID const SFInt32 applicationID  )  [inline]
 

void x3d::TransmitterPdu::set_cryptoKeyID const SFInt32 cryptoKeyID  )  [inline]
 

void x3d::TransmitterPdu::set_cryptoSystem const SFInt32 cryptoSystem  )  [inline]
 

void x3d::TransmitterPdu::set_entityID const SFInt32 entityID  )  [inline]
 

void x3d::TransmitterPdu::set_frequency const SFInt32 frequency  )  [inline]
 

void x3d::TransmitterPdu::set_inputSource const SFInt32 inputSource  )  [inline]
 

void x3d::TransmitterPdu::set_isActive const SFBool isActive  )  [inline]
 

void x3d::TransmitterPdu::set_isNetworkReader const SFBool isNetworkReader  )  [inline]
 

void x3d::TransmitterPdu::set_isNetworkWriter const SFBool isNetworkWriter  )  [inline]
 

void x3d::TransmitterPdu::set_isRtpHeaderHeard const SFBool isRtpHeaderHeard  )  [inline]
 

void x3d::TransmitterPdu::set_isStandAlone const SFBool isStandAlone  )  [inline]
 

void x3d::TransmitterPdu::set_lengthOfModulationParameters const SFInt32 lengthOfModulationParameters  )  [inline]
 

void x3d::TransmitterPdu::set_modulationTypeDetail const SFInt32 modulationTypeDetail  )  [inline]
 

void x3d::TransmitterPdu::set_modulationTypeMajor const SFInt32 modulationTypeMajor  )  [inline]
 

void x3d::TransmitterPdu::set_modulationTypeSpreadSpectrum const SFInt32 modulationTypeSpreadSpectrum  )  [inline]
 

void x3d::TransmitterPdu::set_modulationTypeSystem const SFInt32 modulationTypeSystem  )  [inline]
 

void x3d::TransmitterPdu::set_multicastRelayHost const SFString multicastRelayHost  )  [inline]
 

void x3d::TransmitterPdu::set_multicastRelayPort const SFInt32 multicastRelayPort  )  [inline]
 

void x3d::TransmitterPdu::set_networkMode const SFInt32 networkMode  )  [inline]
 

void x3d::TransmitterPdu::set_port const SFInt32 port  )  [inline]
 

void x3d::TransmitterPdu::set_power const SFFloat power  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeCategory const SFInt32 radioEntityTypeCategory  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeCountry const SFInt32 radioEntityTypeCountry  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeDomain const SFInt32 radioEntityTypeDomain  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeKind const SFInt32 radioEntityTypeKind  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeNomenclature const SFInt32 radioEntityTypeNomenclature  )  [inline]
 

void x3d::TransmitterPdu::set_radioEntityTypeNomenclatureVersion const SFInt32 radioEntityTypeNomenclatureVersion  )  [inline]
 

void x3d::TransmitterPdu::set_radioID const SFInt32 radioID  )  [inline]
 

void x3d::TransmitterPdu::set_readInterval const SFFloat readInterval  )  [inline]
 

void x3d::TransmitterPdu::set_relativeAntennaLocation const SFVec3f relativeAntennaLocation  )  [inline]
 

void x3d::TransmitterPdu::set_rtpHeaderExpected const SFBool rtpHeaderExpected  )  [inline]
 

void x3d::TransmitterPdu::set_siteID const SFInt32 siteID  )  [inline]
 

void x3d::TransmitterPdu::set_timestamp const SFTime timestamp  )  [inline]
 

void x3d::TransmitterPdu::set_transmitFrequencyBandwidth const SFFloat transmitFrequencyBandwidth  )  [inline]
 

void x3d::TransmitterPdu::set_transmitState const SFInt32 transmitState  )  [inline]
 

void x3d::TransmitterPdu::set_whichGeometry const SFInt32 whichGeometry  )  [inline]
 

void x3d::TransmitterPdu::set_writeInterval const SFFloat writeInterval  )  [inline]
 

virtual bool x3d::TransmitterPdu::SetFieldByName field_t  name,
const void *  data
[virtual]
 

Set the value of a field using its numeric name.

This function is mainly to be used by I/O operations to change the value of a field from the value found in an input stream.

For other purposes, it is strongly advise that you make use of the get_ and set_ functions of the given class.

Also, if you are not sure about the datatype of a field, it is better to use the other SetFieldByName() function which will automatically determine the type of the field and set it accordingly.

Attention:
Enumeration fields are managed differently depending on the function that you use. This one will make that field look like an SFString. The data pointer is expected to point to an SFString or it will crash. Internally, the string will be transformed to the corresponding enumeration value. Note that if the field name is valid, but the enumeration name is not, then the function also returns false.
Note:
You cannot set a node in a parent node using this function.
Parameters:
[in] name The name of the field to set.
[in] data A pointer to the data to copy in the specified field. It MUST be of the right type of the system may crash. This is the same pointer as found the FieldInfo.f_data.f_any variable member.
Returns:
true when a field of the specified name was found and set to the value defined by data
Bug:
At this time, the data pointer is of type void* and there is therfore no way for sure to know whether the pointer passed is of the type expected by the field. This should be fine since this function is mainly to be used by I/O processes and no specialized code which can handle the fields using the proper get_ and set_ functions.
See also:
field_t SFNode::SetFieldByName(const char *name, const char *data);

Reimplemented from x3d::X3DChildNode.


Member Data Documentation

SFString x3d::TransmitterPdu::f_address [protected]
 

SFVec3f x3d::TransmitterPdu::f_antennaLocation [protected]
 

SFInt32 x3d::TransmitterPdu::f_antennaPatternLength [protected]
 

SFInt32 x3d::TransmitterPdu::f_antennaPatternType [protected]
 

SFInt32 x3d::TransmitterPdu::f_applicationID [protected]
 

SFInt32 x3d::TransmitterPdu::f_cryptoKeyID [protected]
 

SFInt32 x3d::TransmitterPdu::f_cryptoSystem [protected]
 

SFInt32 x3d::TransmitterPdu::f_entityID [protected]
 

SFInt32 x3d::TransmitterPdu::f_frequency [protected]
 

SFInt32 x3d::TransmitterPdu::f_inputSource [protected]
 

SFBool x3d::TransmitterPdu::f_isActive [protected]
 

SFBool x3d::TransmitterPdu::f_isNetworkReader [protected]
 

SFBool x3d::TransmitterPdu::f_isNetworkWriter [protected]
 

SFBool x3d::TransmitterPdu::f_isRtpHeaderHeard [protected]
 

SFBool x3d::TransmitterPdu::f_isStandAlone [protected]
 

SFInt32 x3d::TransmitterPdu::f_lengthOfModulationParameters [protected]
 

SFInt32 x3d::TransmitterPdu::f_modulationTypeDetail [protected]
 

SFInt32 x3d::TransmitterPdu::f_modulationTypeMajor [protected]
 

SFInt32 x3d::TransmitterPdu::f_modulationTypeSpreadSpectrum [protected]
 

SFInt32 x3d::TransmitterPdu::f_modulationTypeSystem [protected]
 

SFString x3d::TransmitterPdu::f_multicastRelayHost [protected]
 

SFInt32 x3d::TransmitterPdu::f_multicastRelayPort [protected]
 

SFInt32 x3d::TransmitterPdu::f_networkMode [protected]
 

SFInt32 x3d::TransmitterPdu::f_networkMode__enum_last [mutable, protected]
 

SFString x3d::TransmitterPdu::f_networkMode__enum_name [mutable, protected]
 

SFInt32 x3d::TransmitterPdu::f_port [protected]
 

SFFloat x3d::TransmitterPdu::f_power [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeCategory [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeCountry [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeDomain [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeKind [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeNomenclature [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioEntityTypeNomenclatureVersion [protected]
 

SFInt32 x3d::TransmitterPdu::f_radioID [protected]
 

SFFloat x3d::TransmitterPdu::f_readInterval [protected]
 

SFVec3f x3d::TransmitterPdu::f_relativeAntennaLocation [protected]
 

SFBool x3d::TransmitterPdu::f_rtpHeaderExpected [protected]
 

SFInt32 x3d::TransmitterPdu::f_siteID [protected]
 

SFTime x3d::TransmitterPdu::f_timestamp [protected]
 

SFFloat x3d::TransmitterPdu::f_transmitFrequencyBandwidth [protected]
 

SFInt32 x3d::TransmitterPdu::f_transmitState [protected]
 

SFInt32 x3d::TransmitterPdu::f_whichGeometry [protected]
 

SFFloat x3d::TransmitterPdu::f_writeInterval [protected]
 


The documentation for this class was generated from the following file: