Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
20631c0b
Commit
20631c0b
authored
16 years ago
by
g0dil
Browse files
Options
Downloads
Patches
Plain Diff
Utils: Implement SENF_FNP etc macros
parent
aaa88fd7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Utils/membind.hh
+9
-0
9 additions, 0 deletions
Utils/membind.hh
senf.dict
+30
-0
30 additions, 0 deletions
senf.dict
with
39 additions
and
0 deletions
Utils/membind.hh
+
9
−
0
View file @
20631c0b
...
@@ -57,6 +57,15 @@
...
@@ -57,6 +57,15 @@
///////////////////////////////hh.p////////////////////////////////////////
///////////////////////////////hh.p////////////////////////////////////////
#define SENF_FNP(ret, fn, args) \
static_cast<ret (*) args>(& fn)
#define SENF_MEMFNP(ret, cls, fn, args) \
static_cast<ret (cls::*) args>(& cls :: fn)
#define SENF_MEMBINDFNP(ret, cls, fn, args) \
senf::membind(SENF_MEMFNP(ret, cls, fn, args), this)
namespace
senf
{
namespace
senf
{
#define scOBTYPE T *
#define scOBTYPE T *
...
...
This diff is collapsed.
Click to expand it.
senf.dict
+
30
−
0
View file @
20631c0b
...
@@ -47,6 +47,8 @@ BaseParser
...
@@ -47,6 +47,8 @@ BaseParser
berlios
berlios
BerliOS
BerliOS
bitfield
bitfield
bitrate
bitrates
bool
bool
boostfn
boostfn
broadcastEnabled
broadcastEnabled
...
@@ -102,6 +104,7 @@ CXXFLAGS
...
@@ -102,6 +104,7 @@ CXXFLAGS
daemonization
daemonization
DatagramSection
DatagramSection
DataPacket
DataPacket
datarate
dd
dd
de
de
DEBUGINFO
DEBUGINFO
...
@@ -136,6 +139,7 @@ EmulatedTransmitter
...
@@ -136,6 +139,7 @@ EmulatedTransmitter
EmulatedWLANInterface
EmulatedWLANInterface
enableChecksum
enableChecksum
endcode
endcode
enddot
endhtmlonly
endhtmlonly
endif
endif
endl
endl
...
@@ -194,6 +198,8 @@ fixvariant
...
@@ -194,6 +198,8 @@ fixvariant
flurgle
flurgle
fno
fno
fokus
fokus
fontname
fontsize
foo
foo
fooCallback
fooCallback
FooException
FooException
...
@@ -218,6 +224,10 @@ GREPackeType
...
@@ -218,6 +224,10 @@ GREPackeType
GREParser
GREParser
hangup
hangup
HangupException
HangupException
HardwareInterface
HardwareWLANInterface
headport
Helvetica
hh
hh
hideinitializer
hideinitializer
Hmm
Hmm
...
@@ -256,6 +266,8 @@ inputSocket
...
@@ -256,6 +266,8 @@ inputSocket
Institut
Institut
int
int
InterfaceAPI
InterfaceAPI
interfaceapi
InterfaceDecorator
IntervalTimer
IntervalTimer
IntField
IntField
InvalidPacketChainException
InvalidPacketChainException
...
@@ -309,12 +321,16 @@ MACAddress
...
@@ -309,12 +321,16 @@ MACAddress
MACAddressParser
MACAddressParser
mainpage
mainpage
manualparse
manualparse
maxTxPowerIndex
Mbit
mcAddMembership
mcAddMembership
mcAddr
mcAddr
mcDropMembership
mcDropMembership
mcLoop
mcLoop
mem
mem
memberfn
memberfn
Mhz
min
mixin
mixin
mkdir
mkdir
mld
mld
...
@@ -346,6 +362,7 @@ MyWLANInterface
...
@@ -346,6 +362,7 @@ MyWLANInterface
namespace
namespace
nbar
nbar
nc
nc
nChannels
netcat
netcat
NetEmu
NetEmu
NETwork
NETwork
...
@@ -363,6 +380,7 @@ noinit
...
@@ -363,6 +380,7 @@ noinit
noop
noop
noroute
noroute
nothrow
nothrow
nParameters
nrOfRecords
nrOfRecords
nrOfSources
nrOfSources
nUsing
nUsing
...
@@ -408,6 +426,7 @@ PacketTypeBase
...
@@ -408,6 +426,7 @@ PacketTypeBase
PacketTypeMixin
PacketTypeMixin
PacketTypeNotRegistered
PacketTypeNotRegistered
param
param
parameterIndex
ParseArray
ParseArray
parsecollection
parsecollection
ParseCommandInfo
ParseCommandInfo
...
@@ -436,9 +455,11 @@ PassiveQueue
...
@@ -436,9 +455,11 @@ PassiveQueue
PassiveSink
PassiveSink
PassiveSocketWriter
PassiveSocketWriter
PassiveSource
PassiveSource
pencolor
png
png
POPD
POPD
POSIX
POSIX
powerIndexValue
ppi
ppi
pre
pre
prev
prev
...
@@ -452,6 +473,8 @@ py
...
@@ -452,6 +473,8 @@ py
QueryPacket
QueryPacket
QueueingDiscipline
QueueingDiscipline
queueSize
queueSize
rankdir
ranksep
RateFilter
RateFilter
rateFilter
rateFilter
ratefilter
ratefilter
...
@@ -461,6 +484,7 @@ RawINetProtocol
...
@@ -461,6 +484,7 @@ RawINetProtocol
RawV
RawV
rdynamic
rdynamic
ReadInfo
ReadInfo
ReceiverDecorator
refcount
refcount
regex
regex
registerEvent
registerEvent
...
@@ -473,8 +497,10 @@ repos
...
@@ -473,8 +497,10 @@ repos
rerference
rerference
rfc
rfc
RFCs
RFCs
RL
RO
RO
RP
RP
RSSI
SafePacketParser
SafePacketParser
SatCom
SatCom
Satelitenkommunikation
Satelitenkommunikation
...
@@ -539,6 +565,7 @@ SimpleVectorSizer
...
@@ -539,6 +565,7 @@ SimpleVectorSizer
SiteScope
SiteScope
SizeParser
SizeParser
skipline
skipline
SNR
SocketAddress
SocketAddress
SocketHandle
SocketHandle
SocketProtocol
SocketProtocol
...
@@ -590,6 +617,7 @@ todo
...
@@ -590,6 +617,7 @@ todo
tokenizes
tokenizes
TokensRange
TokensRange
tr
tr
TransmitterDecorator
TruncatedPacketException
TruncatedPacketException
tt
tt
ttl
ttl
...
@@ -606,6 +634,7 @@ udpWriter
...
@@ -606,6 +634,7 @@ udpWriter
UInt
UInt
UIntField
UIntField
UIntFieldParser
UIntFieldParser
un
Unhandled
Unhandled
unicast
unicast
uniquified
uniquified
...
@@ -638,6 +667,7 @@ WirelessInterface
...
@@ -638,6 +667,7 @@ WirelessInterface
WirelessReceiver
WirelessReceiver
WirelessTransmitter
WirelessTransmitter
WLAN
WLAN
WLANController
Wno
Wno
Woverloaded
Woverloaded
WrapException
WrapException
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment