# H3DNetworkingUtils::RemoteSFBool Class Reference

The RemoteSFBool class provides a remote single boolean field. More...

`#include <H3DNetworkingUtils/RemoteSFBool.h>`

Inheritance diagram for H3DNetworkingUtils::RemoteSFBool:

List of all members.

## Public Member Functions
| RemoteSFBool ()
| Constructor.
void | setValue (bool 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 (bool const &val)
| Write the correct parts of the value.

## Detailed Description

The RemoteSFBool class provides a remote single boolean 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 RemoteSFBool::setValue | ( | bool 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.

References H3DNetworkingUtils::RemoteSF< H3D::SFBool >::received.

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

- RemoteSFBool.h
- RemoteSFBool.cpp