[prev in list] [next in list] [prev in thread] [next in thread]
List: orocos-users
Subject: [Orocos-users] Error Handling ( and: using sockets)
From: peter.soetens () fmtc ! be (Peter Soetens)
Date: 2008-01-21 17:37:30
Message-ID: 10724.217.136.171.4.1200932718.squirrel () www ! fmtc ! be
[Download RAW message or body]
> A Dissabte 15 Desembre 2007, Peter Soetens va escriure:
> [...]
>>
> [...]
>>
>> Here's the pseudo code:
>
> [...]
>
>> // updateHook() again after commands and events are
>> processed.
>> this->getActivity()->trigger();
>> }
>
> [...]
>
> Hi,
>
> I'm having a stupid problem, probably due my non c++ guru knowledge.
> Trying to
> implement this code, I'm stopped because the compiler doesn't find
> getActivity() as member of my class. Also, as it's derived from
> TaskContext I
> thought that it was to be called:
> RTT::TaskContext::getActivity()->trigger();
>
> but also the compiler says:
> error: ???getActivity??? is not a member of ???RTT::TaskContext???
>
> so, looking in the headers I have found:
> this->engine()->getActivity()->trigger()
>
> so, now it compiles but I don't know if it was the original idea of Peter.
> Could you confirm that ?
Oops ! You're right, it was supposed to be
this->engine()->getActivity()->trigger()
just as you found out.
Peter
--
www.fmtc.be
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic