Closed ansb5 closed 1 year ago
Hi @riebl . I'm using ExampleService.cc to create another service. But I don't know how to get de CAM message fromCaService. In ExampleService::receiveSignal there is cObject*. Have I to cast it to extract the CAM or is there another way to do this?
ExampleService.cc
CaService
ExampleService::receiveSignal
cObject*
Thanks.
You can cast the cObject* to CaObject* if the source is the CamReceived or CamSent signal.
CaObject*
Hi @riebl . I'm using
ExampleService.cc
to create another service. But I don't know how to get de CAM message fromCaService
. InExampleService::receiveSignal
there iscObject*
. Have I to cast it to extract the CAM or is there another way to do this?Thanks.