Zusi 3 TCP Protocol Library
An implementation of the Zusi 3 TCP protocol in C++.
Public Member Functions | Public Attributes | List of all members
zusi::Node Class Reference

Generic Zusi message node. More...

#include <Zusi3TCP.h>

Public Member Functions

 Node ()
 Constructs an empty node.
 
 Node (uint16_t id)
 Constructs an Node. More...
 
bool write (Socket &sock) const
 
bool read (Socket &sock)
 
uint16_t getId () const
 Get Attribute ID.
 

Public Attributes

std::vector< Attribute * > attributes
 Attributes of this node.
 
std::vector< Node * > nodes
 Sub-nodes of this node.
 

Detailed Description

Generic Zusi message node.

Constructor & Destructor Documentation

zusi::Node::Node ( uint16_t  id)
inline

Constructs an Node.

Parameters
idAttribute ID

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