open-dis-cpp
IPduBank.h
1 #pragma once
2 
3 #include <dis6/Pdu.h>
4 #include <dis6/utils/DataStream.h>
5 
6 namespace DIS
7 {
10  class IPduBank
11  {
12  public:
13  ~IPduBank(){}
14 
18  virtual Pdu* GetStaticPDU( unsigned char pdu_type, DataStream& ds ) = 0;
19  };
20 }
21 
22 
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
houses instances for the set of known PDU classes to be returned when provided with the PDU type&#39;s id...
Definition: IPduBank.h:10
virtual Pdu * GetStaticPDU(unsigned char pdu_type, DataStream &ds)=0
finds the PDU instance corresponding to the identifier
a class to support managing a network buffer.
Definition: DataStream.h:28
Definition: Pdu.h:15