|
ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
|
#include <TLayer.hh>
Public Member Functions | |
| TLayer () | |
| TLayer (const std::string &p_type) | |
| void | addUpperPort (TPort *p_port) |
| void | removeUpperPort (TPort *) |
Public Member Functions inherited from Layer | |
| Layer () | |
| Type description, it indicates the protocol type (e.g. CAM, DENM, GN, ETH, PCAP...) More... | |
| Layer (const std::string &p_type) | |
| Specialized constructor Create a new instance of the Layer class with its type description. More... | |
| virtual | ~Layer () |
| Default destructor. More... | |
| void | deleteLayer () |
| Delete this layer. More... | |
| void | addUpperLayer (Layer *p_layer) |
| Add a new layer in the list of the upper layer. More... | |
| void | removeUpperLayer (Layer *p_layer) |
| Remove the specified upper layer protocol from the list of the upper layer. More... | |
| virtual void | sendData (OCTETSTRING &p_data, Params &p_params) |
| Send bytes formated data to the lower layers. More... | |
| virtual void | receiveData (OCTETSTRING &p_data, Params &p_params) |
| Receive bytes formated data from the lower layers. More... | |
| const std::string & | to_string () const |
| Remove the specified upper layer protocol from the list of the upper layer. More... | |
Protected Member Functions | |
| template<typename TMessage > | |
| void | toAllUpperPorts (const TMessage &m, const Params ¶m) |
Protected Member Functions inherited from Layer | |
| void | toAllLayers (std::vector< Layer *> &layers, OCTETSTRING &data, Params ¶ms) |
| void | receiveToAllLayers (OCTETSTRING &data, Params ¶ms) |
| void | sendToAllLayers (OCTETSTRING &data, Params ¶ms) |
Private Types | |
| typedef std::vector< TPort * > | TPortList |
| typedef std::vector< TPort * >::iterator | TPortListIterator |
Private Attributes | |
| TPortList | upperPorts |
Additional Inherited Members | |
Protected Attributes inherited from Layer | |
| std::string | type |
| List of the lower protocol layers. More... | |
|
private |
|
inline |
| void TLayer< TPort >::removeUpperPort | ( | TPort * | ) |
|
inlineprotected |
1.8.13