# H3DNetworkingUtils::RemoteSFColor Class Reference

The RemoteSFColor class provides a remote single color field. More...

`#include <H3DNetworkingUtils/RemoteSFColor.h>`

Inheritance diagram for H3DNetworkingUtils::RemoteSFColor:

List of all members.

## Public Member Functions
| RemoteSFColor ()
| Constructor.
void | setValue (H3D::RGB const &val)
| This is a debug function only To be used to simulate receiving a remote connection change of value, when there is no remote connection.
## Static Public Attributes
static H3D::H3DNodeDatabase | database
| X3D interface.
## Protected Member Functions
virtual void | readValue ()
| Read the parts of a fields value into the received field.
virtual void | writeValue (H3D::RGB const &pos)
| Write the correct parts of the value.

## Detailed Description

The RemoteSFColor class provides a remote single color field.

It inherits most of its funtionality from its parent class. This class adds a X3D database and the details of how to read and write the field data.
Use the 'toBeSent' and 'received' fields of the base class.
Examples:

- RemoteMFTestServer.x3d
- RemoteMFTestClient.x3d

## Member Function Documentation

void H3DNetworkingUtils::RemoteSFColor::setValue | ( | H3D::RGB const & | val | ) |

This is a debug function only
To be used to simulate receiving a remote connection change of value, when there is no remote connection.

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

- RemoteSFColor.h
- RemoteSFColor.cpp