Commit bf7a827c authored by garciay's avatar garciay
Browse files

Rename *.cpp into *.cc for automatic makefile generator tool

Rename *.h into *.hh for automatic makefile generator tool
parent 10b6a8d4
#include "Layer.h"
#include "Layer.hh"
StackFactory * StackFactory::_instance = NULL;
StackFactory * StackFactory::getInstance(){
......
#include "BTPCodec.h"
#include "BTPCodec.hh"
int BTPCodec::encode (const LibItsBtp__TypesAndValues::BtpPacket& msg, OCTETSTRING& data)
{
......
#include "BTPLayer.h"
#include "BTPPort.h"
#include "BTPLayer.hh"
#include "BTPPort.hh"
void BTPLayer::sendMsg(const LibItsBtp__TypesAndValues::BtpPacket& m, const Params& params){
OCTETSTRING data;
......
#ifndef BTP_LAYER_H
#define BTP_LAYER_H
#include "Layer.h"
#include "BTPTypes.h"
#include "BTPCodec.h"
#include "Layer.hh"
#include "BTPTypes.hh"
#include "BTPCodec.hh"
class BTPPort;
class BTPLayer : public TLayer<BTPPort> {
......
#include "BTPPort.h"
#include "BTPLayer.h"
#include "BTPPort.hh"
#include "BTPLayer.hh"
void BTPPort::receiveMsg(const LibItsBtp__TypesAndValues::BtpPacket& m, const Params&) {
......
#ifndef BTPPORT_H
#define BTPPORT_H
#include "BTPLayer.h"
#include "BTPLayer.hh"
class BTPPort {
BTPLayer * layer;
......
......@@ -60,6 +60,11 @@ int GeoNetworkingCodec::encode_ (const Base_Type& type, const TTCN_Typedescripto
}
} else {
loggers::loggers::log("GeoNetworkingCodec::encode_ (else): processing type %s/%s", type.get_descriptor()->name, field_descriptor.name);
if (std::string(field_descriptor.name).compare("@LibItsGeoNetworking_TypesAndValues.CommonHeader.plLength") == 0) {
// TODO Store TTCN_Buffer position and continue encoding
loggers::loggers::log("GeoNetworkingCodec::encode_: Storing position for %s", field_descriptor.name);
encoding_buffer.rm
}
type.encode(field_descriptor, encoding_buffer, TTCN_EncDec::CT_RAW);
}
loggers::loggers::log_to_hexa("GeoNetworkingCodec::encode_: encoding_buffer=", encoding_buffer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment