Roomba Controller Dashboard 1
A GUI and TCP client application that is used to control a Roomba for Computer Engineering 2880 @ Iowa State
Loading...
Searching...
No Matches
Node< V > Class Template Reference

#include <Node.hpp>

Public Member Functions

 Node (V data)
 
getData ()
 
void SetData (V newData)
 

Detailed Description

template<typename V>
class Node< V >

Represents a node in a graph. Really just a wrapped for V

Parameters
VThe data that the node encapsulates

Definition at line 17 of file Node.hpp.

Constructor & Destructor Documentation

◆ Node()

template<typename V >
Node< V >::Node ( V data)

Constructs a node from given data

Parameters
datato construct the node from

Definition at line 9 of file Node.cpp.

Member Function Documentation

◆ getData()

template<typename V >
V Node< V >::getData ( )
Returns
the data stored in the node

Definition at line 14 of file Node.cpp.

◆ SetData()

template<typename V >
void Node< V >::SetData ( V newData)

sets the data we store in the node

Parameters
newDatanew data to replace current data with

Definition at line 19 of file Node.cpp.


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