6 #ifndef CNOID_BODY_DEVICE_LIST_H 7 #define CNOID_BODY_DEVICE_LIST_H 10 #include <cnoid/PolymorphicReferencedArray> 15 template <
class DeviceType = Device,
class Po
interType = ref_ptr<DeviceType> >
23 template <
class RhsDeviceType>
30 DeviceType* device = (*this)[i];
31 const int id = device->id();
33 if(sorted.
size() <= id){
DeviceList getSortedById() const
Definition: DeviceList.h:27
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
DeviceList()
Definition: DeviceList.h:21
DeviceList(const DeviceList< RhsDeviceType > &rhs)
Definition: DeviceList.h:24
void resize(size_t size)
Definition: PolymorphicReferencedArray.h:115
Definition: PolymorphicReferencedArray.h:27
Definition: DeviceList.h:16
std::size_t size() const
Definition: PolymorphicReferencedArray.h:119