open-dis-cpp
Static Public Member Functions | List of all members
DIS::PduBank Class Reference

houses instances for the set of known PDU classes to be returned when provided with the PDU type's identifier value. More...

#include <PDUBank.h>

Static Public Member Functions

static PduGetStaticPDU (DIS::PDUType pdu_type)
 finds the PDU instance corresponding to the identifier More...
 

Detailed Description

houses instances for the set of known PDU classes to be returned when provided with the PDU type's identifier value.

Member Function Documentation

◆ GetStaticPDU()

Pdu * PduBank::GetStaticPDU ( DIS::PDUType  pdu_type)
static

finds the PDU instance corresponding to the identifier

Parameters
pdu_typethe 8-bit PDU type identifier
Returns
NULL when the pdu_type is unknown.
Todo:
make this parameter just 'unsigned char' since that will be easier to generate.

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