Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
bf7a827c
Commit
bf7a827c
authored
May 30, 2017
by
garciay
Browse files
Rename *.cpp into *.cc for automatic makefile generator tool
Rename *.h into *.hh for automatic makefile generator tool
parent
10b6a8d4
Changes
11
Hide whitespace changes
Inline
Side-by-side
ccsrc/Framework/Codec.h
→
ccsrc/Framework/Codec.h
h
View file @
bf7a827c
File moved
ccsrc/Framework/Layer.h
→
ccsrc/Framework/Layer.h
h
View file @
bf7a827c
File moved
ccsrc/Framework/src/LayerFactory.c
pp
→
ccsrc/Framework/src/LayerFactory.c
c
View file @
bf7a827c
#include
"Layer.h"
#include
"Layer.h
h
"
StackFactory
*
StackFactory
::
_instance
=
NULL
;
StackFactory
*
StackFactory
::
getInstance
(){
...
...
ccsrc/Protocols/BTP/BTPCodec.c
pp
→
ccsrc/Protocols/BTP/BTPCodec.c
c
View file @
bf7a827c
#include
"BTPCodec.h"
#include
"BTPCodec.h
h
"
int
BTPCodec
::
encode
(
const
LibItsBtp__TypesAndValues
::
BtpPacket
&
msg
,
OCTETSTRING
&
data
)
{
...
...
ccsrc/Protocols/BTP/BTPCodec.h
→
ccsrc/Protocols/BTP/BTPCodec.h
h
View file @
bf7a827c
File moved
ccsrc/Protocols/BTP/BTPLayer.c
pp
→
ccsrc/Protocols/BTP/BTPLayer.c
c
View file @
bf7a827c
#include
"BTPLayer.h"
#include
"BTPPort.h"
#include
"BTPLayer.h
h
"
#include
"BTPPort.h
h
"
void
BTPLayer
::
sendMsg
(
const
LibItsBtp__TypesAndValues
::
BtpPacket
&
m
,
const
Params
&
params
){
OCTETSTRING
data
;
...
...
ccsrc/Protocols/BTP/BTPLayer.h
→
ccsrc/Protocols/BTP/BTPLayer.h
h
View file @
bf7a827c
#ifndef BTP_LAYER_H
#define BTP_LAYER_H
#include
"Layer.h"
#include
"BTPTypes.h"
#include
"BTPCodec.h"
#include
"Layer.h
h
"
#include
"BTPTypes.h
h
"
#include
"BTPCodec.h
h
"
class
BTPPort
;
class
BTPLayer
:
public
TLayer
<
BTPPort
>
{
...
...
ccsrc/Protocols/BTP/BTPPort.c
pp
→
ccsrc/Protocols/BTP/BTPPort.c
c
View file @
bf7a827c
#include
"BTPPort.h"
#include
"BTPLayer.h"
#include
"BTPPort.h
h
"
#include
"BTPLayer.h
h
"
void
BTPPort
::
receiveMsg
(
const
LibItsBtp__TypesAndValues
::
BtpPacket
&
m
,
const
Params
&
)
{
...
...
ccsrc/Protocols/BTP/BTPPort.h
→
ccsrc/Protocols/BTP/BTPPort.h
h
View file @
bf7a827c
#ifndef BTPPORT_H
#define BTPPORT_H
#include
"BTPLayer.h"
#include
"BTPLayer.h
h
"
class
BTPPort
{
BTPLayer
*
layer
;
...
...
ccsrc/Protocols/BTP/BTPTypes.h
→
ccsrc/Protocols/BTP/BTPTypes.h
h
View file @
bf7a827c
File moved
ccsrc/Protocols/GeoNetworking/GeoNetworkingCodec.cc
View file @
bf7a827c
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment