Light.cpp
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
00003  * All rights reserved. This program is made available under the terms of the
00004  * Eclipse Public License v1.0 which accompanies this distribution, and is
00005  * available at http://www.eclipse.org/legal/epl-v10.html
00006  * Contributors:
00007  * National Institute of Advanced Industrial Science and Technology (AIST)
00008  */
00009 #include "Light.h"
00010 
00011 using namespace hrp;
00012 
00013 int Light::nextId=0;
00014 
00015 Light::Light(Link *parent, int lightType, const std::string &name_) :
00016     link(parent), type(lightType), name(name_), id(nextId){
00017     link->lights.push_back(this);
00018     nextId++;
00019 }
00020 


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:17