Light.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
3  * All rights reserved. This program is made available under the terms of the
4  * Eclipse Public License v1.0 which accompanies this distribution, and is
5  * available at http://www.eclipse.org/legal/epl-v10.html
6  * Contributors:
7  * National Institute of Advanced Industrial Science and Technology (AIST)
8  */
9 #include "Light.h"
10 
11 using namespace hrp;
12 
13 int Light::nextId=0;
14 
15 Light::Light(Link *parent, int lightType, const std::string &name_) :
16  link(parent), type(lightType), name(name_), id(nextId){
17  link->lights.push_back(this);
18  nextId++;
19 }
20 
png_infop png_charp png_int_32 png_int_32 int * type
Definition: png.h:2332
Light(Link *parent, int lightType, const std::string &name_)
Definition: Light.cpp:15
png_infop png_charpp name
Definition: png.h:2382
Link * link
Definition: Light.h:27
static int nextId
Definition: Light.h:25
id


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:04