Revision 888a909b server/include/RSB/AnimationCallbackWrapper.h
server/include/RSB/AnimationCallbackWrapper.h | ||
---|---|---|
35 | 35 |
public: |
36 | 36 |
AnimationCallbackWrapper(Middleware *mw) : CallbackWrapper(mw){} |
37 | 37 |
|
38 |
void call(const std::string& method_name, boost::shared_ptr<rst::animation::HeadAnimation> input){
|
|
38 |
void call(const std::string& method_name, std::shared_ptr<rst::animation::HeadAnimation> input){
|
|
39 | 39 |
printf("> incomint animation (method = %s)\n",method_name.c_str()); |
40 | 40 |
|
41 | 41 |
//fetch animation passed by rsb: |
42 | 42 |
rst::animation::HeadAnimation *rst_ani = input.get(); |
43 |
boost::shared_ptr<Animation> ani(new Animation());
|
|
43 |
std::shared_ptr<Animation> ani(new Animation());
|
|
44 | 44 |
|
45 | 45 |
switch ((int) rst_ani->animation()){ |
46 | 46 |
case(rst_ani->IDLE): ani->target = Animation::IDLE; break; |
Also available in: Unified diff