[AGENT++] C++ function within snmp++ callback
Manuel Werlberger
m.werlberger at avibit.com
Fri Aug 4 12:36:33 CEST 2006
Manuel Werlberger wrote:
> Dario maljur wrote:
>
>> I think that callback must be declared outside of class scope. I
>> remember
>> trying to use similar class notation but I failed. I use callback in
>> global
>> scope, and it works fine with me.
>>
>>
> That's of course a solution but how do i get values out of the
> callback? Do i have to make global variables for this?? I'm going to
> test with a wrapper that only handles my signal and is an Singelton.
> Maybe this works....
>
Ok this is a way that works. I'll do it that way. If somebody has better
idea or solution it would be great to share though.
Rgds,
Manuel
More information about the AGENTPP
mailing list