Now you can download a copy of these docs so you can use them offline!
Download now
#include <NetworkTableEntryType.h>
|
const TypeId | id |
|
const char * | name |
|
Represents the type associated with a network tables value.
Definition at line 33 of file NetworkTableEntryType.h.
NetworkTableEntryType::NetworkTableEntryType |
( |
TypeId |
id, |
|
|
const char * |
name |
|
) |
| |
|
protected |
Creates a new NetworkTablesEntryType.
- Parameters
-
id | The numeric ID associated with this type. This ID represents this data type to other nodes on the network. |
name | The string name associated with this type. |
Definition at line 11 of file NetworkTableEntryType.cpp.
Compares two values to determine if they are equal and should not push an update to other nodes
- Parameters
-
- Returns
- true if the two values are equal
Implemented in ArrayEntryType.
void NetworkTableEntryType::deleteValue |
( |
EntryValue |
value | ) |
|
|
virtual |
Deletes a value of this type.
After calling this function, the given value is no longer valid.
- Parameters
-
value | The value to delete. |
Reimplemented in ArrayEntryType.
Definition at line 19 of file NetworkTableEntryType.cpp.
bool NetworkTableEntryType::isComplex |
( |
| ) |
|
|
virtual |
Determines whether this data type is complex (i.e. it does not represent a number, string, or boolean).
- Returns
- True of this type is complex. False otherwise.
Reimplemented in ComplexEntryType.
Definition at line 23 of file NetworkTableEntryType.cpp.
Unserializes the a value of this type from the given input stream.
- Parameters
-
is | The input stream to read from. |
- Returns
- The unserialized value.
Implemented in ArrayEntryType.
Serializes the given value on the given output stream.
- Parameters
-
value | The value to serialize. |
os | The output stream to use. |
Implemented in ArrayEntryType.
The documentation for this class was generated from the following files: