Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122219570
NodeAdapter.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 16, 18:14
Size
716 B
Mime Type
text/x-c
Expires
Fri, Jul 18, 18:14 (2 d)
Engine
blob
Format
Raw Data
Handle
27452339
Attached To
R6624 liboncilla Webots Interface
NodeAdapter.cpp
View Options
/**
* \file NodeAdapter.cpp
*
* \date Jan 22, 2013
* \author tuleu
*/
#include "NodeAdapter.h"
namespace liboncilla {
namespace webots {
NodeAdapter::ListOfInstances NodeAdapter::s_instances;
NodeAdapter::NodeAdapter(){
s_instances.insert(this);
}
NodeAdapter::~NodeAdapter(){
s_instances.erase(this);
}
void NodeAdapter::PreStep(double){
}
void NodeAdapter::PostStep(double){
}
void NodeAdapter::Activate(){
}
void NodeAdapter::Deactivate(){
}
void NodeAdapter::IterateOverAllInstances(std::mem_fun_t<void,NodeAdapter> f){
for(ListOfInstances::const_iterator i = s_instances.begin();
i != s_instances.end();
++i){
f(*i);
}
}
} /* namespace webots */
} /* namespace liboncilla */
Event Timeline
Log In to Comment