
This file was automatically generated from comments in the C/C++ header file diguyVariable.h. Do not edit this file directly; the changes will be lost. Please mail suggestions or corrections to diguy@bdi.com
Includes: declspec_diguy.h
class diguyVariable
|
class BDI_DECLSPEC_diguy diguyVariable { public: int copy(diguyVariable* rhs); const char* get_name(); int get_value_as_int(); float get_value_as_float(); const char* get_value_as_string(); int set_value_as_int(int value); int set_value_as_float(float value); int set_value_as_string(const char* value); int increment_value_as_int(int value = 1); int decrement_value_as_int(int value = 1); int equal_to_int(int value); int greater_than_int(int value); int less_than_int(int value); int equal_to_float(float value); int greater_than_float(float value); int less_than_float(float value); int equal_to_string(const char* value); int greater_than_string(const char* value); int less_than_string(const char* value); #ifdef CPLUSPLUS_ONLY bdiScenarioVariable* get_scripted_object() {return m_scripted_object;} };
function diguyVariable::copy |
Prototype:
Description:int copy(diguyVariable* rhs);
Copies the contents of the passed variable.Callable From:
Returns:
- C++
- Script
0 on success, -1 on failure
function diguyVariable::get_name |
Prototype:
Description:const char* get_name();
Returns the name of the variable. This pointer will never be NULL.Callable From:
Returns:
- C++
- Script
name of the variable
function diguyVariable::get_value_as_int |
Prototype:
Description:int get_value_as_int();
Returns the value of the variable as an integer.Callable From:
Returns:
- C++
- Script
value of the variable
function diguyVariable::get_value_as_float |
Prototype:
Description:float get_value_as_float();
Returns the value of the variable as a floating point number.Callable From:
Returns:
- C++
- Script
value of the variable
function diguyVariable::get_value_as_string |
Prototype:
Description:const char* get_value_as_string();
Returns the value of the variable as a string. This pointer will never be NULL.Callable From:
Returns:
- C++
- Script
value of the variable
function diguyVariable::set_value_as_int |
Prototype:
Description:int set_value_as_int(int value);
This function sets the value as an integer.Callable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value new value of variable
0 on success, -1 on failure
function diguyVariable::set_value_as_float |
Prototype:
Description:int set_value_as_float(float value);
This function sets the value as a floating point number.Callable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value new value of variable
0 on success, -1 on failure
function diguyVariable::set_value_as_string |
Prototype:
Description:int set_value_as_string(const char* value);
This function sets the value as a string.Callable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value new value of variable
0 on success, -1 on failure
function diguyVariable::increment_value_as_int |
Prototype:
Description:int increment_value_as_int(int value = 1);
This function increments the value as an int.Callable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value by which to increment
0 on success, -1 on failure
function diguyVariable::decrement_value_as_int |
Prototype:
Description:int decrement_value_as_int(int value = 1);
This function decrements the value as an int.Callable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value by which to decrement
0 on success, -1 on failure
function diguyVariable::equal_to_int |
Prototype:
Returns:int equal_to_int(int value);
1 if the variable as an int is equal to the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::greater_than_int |
Prototype:
Returns:int greater_than_int(int value);
1 if the variable as an int is greater than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::less_than_int |
Prototype:
Returns:int less_than_int(int value);
1 if the variable as an int is less than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::equal_to_float |
Prototype:
Returns:int equal_to_float(float value);
1 if the variable as a float is equal to the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::greater_than_float |
Prototype:
Returns:int greater_than_float(float value);
1 if the variable as a float is greater than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::less_than_float |
Prototype:
Returns:int less_than_float(float value);
1 if the variable as a float is less than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::equal_to_string |
Prototype:
Returns:int equal_to_string(const char* value);
1 if the variable as a string is equal to the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::greater_than_string |
Prototype:
Returns:int greater_than_string(const char* value);
1 if the variable as a string is alphabetically greater than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::less_than_string |
Prototype:
Returns:int less_than_string(const char* value);
1 if the variable as a string is alphabetically less than the passed value; 0 if notCallable From:
Arguments:
- C++
- Script
- Decision Bead
Returns:
value the value to compare against
0 on success, -1 on failure
function diguyVariable::get_scripted_object |
Prototype:
bdiScenarioVariable* get_scripted_object();
Boston Dynamics
ALL RIGHTS RESERVED.
These coded instructions, statements, and computer programs contain unpublished proprietary information of Boston Dynamics and are protected by Copyright Laws of the United States. They may not be used, duplicated, or disclosed in any form, in whole or in part, without the prior written consent from Boston Dynamics.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the government is subject to restrictions as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Sofware clause at DFARS 252.227-7013 and/or in similar or successor clauses in the FAR, or the DOD or NASA FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the Commercial Computer Software--Restricted Rights at 48 CFR 52.227-19, as applicable. Unpublished-rights reserved under the Copyright Laws of the United States.
Contractor/Manufacturer is:
Boston Dynamics/515 Massachusetts Avenue/Cambridge MA 02139.