ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbNET Class Reference

#include <ngcbNET.hpp>

Public Member Functions

 ngcbNET ()
 Constructor.
 
 ngcbNET (ngcbIFC *interface)
 Constructor with interface device.
 
virtual ~ngcbNET ()
 Destructor.
 
int Add (ngcb_route_t route, char *erms)
 Add a route.
 
int Enable (char *erms)
 Enable the network.
 
void Dump (FILE *s)
 Dump network information to stream.
 
void Dump (char *s)
 Dump network information to string.
 
void Register ()
 Register network information.
 
int Valid ()
 Network valid.
 
int Skip ()
 Skipped routes.
 

Public Attributes

ngcbBOARD mainBoard
 First board in network.
 
ngcbIFCdev
 Interface device to access the NGC network.
 
ngcb_netinfo_t netInfo
 Network information.
 

Detailed Description

NGC network class

Constructor & Destructor Documentation

◆ ngcbNET() [1/2]

ngcbNET::ngcbNET ( )

Constructor.

◆ ngcbNET() [2/2]

ngcbNET::ngcbNET ( ngcbIFC * interface)
explicit

Constructor with interface device.

◆ ~ngcbNET()

ngcbNET::~ngcbNET ( )
virtual

Destructor.

Member Function Documentation

◆ Add()

int ngcbNET::Add ( ngcb_route_t route,
char * erms )

Add a route.

◆ Dump() [1/2]

void ngcbNET::Dump ( char * s)

Dump network information to string.

◆ Dump() [2/2]

void ngcbNET::Dump ( FILE * s)

Dump network information to stream.

◆ Enable()

int ngcbNET::Enable ( char * erms)

Enable the network.

◆ Register()

void ngcbNET::Register ( )

Register network information.

◆ Skip()

int ngcbNET::Skip ( )

Skipped routes.

◆ Valid()

int ngcbNET::Valid ( )

Network valid.

Member Data Documentation

◆ dev

ngcbIFC* ngcbNET::dev

Interface device to access the NGC network.

◆ mainBoard

ngcbBOARD ngcbNET::mainBoard

First board in network.

◆ netInfo

ngcb_netinfo_t ngcbNET::netInfo

Network information.


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