List of all members.
Public Member Functions |
void | PutData (const char *keyName, SmartDashboardData *value) |
void | PutData (SmartDashboardNamedData *value) |
SmartDashboardData * | GetData (const char *keyName) |
void | PutBoolean (const char *keyName, bool value) |
bool | GetBoolean (const char *keyName) |
void | PutInt (const char *keyName, int value) |
int | GetInt (const char *keyName) |
void | PutDouble (const char *keyName, double value) |
double | GetDouble (const char *keyName) |
void | PutString (const char *keyName, const char *value) |
int | GetString (const char *keyName, char *value, int valueLen) |
std::string | GetString (std::string keyName) |
void | PutString (std::string keyName, std::string value) |
void | init () |
Static Public Member Functions |
static SmartDashboard * | GetInstance () |
static int | LogChar (char value, const char *name) |
static int | LogChar (wchar_t value, const char *name) |
static int | Log (INT32 value, const char *name) |
static int | Log (INT64 value, const char *name) |
static int | Log (bool value, const char *name) |
static int | Log (float value, const char *name) |
static int | Log (double value, const char *name) |
static int | Log (const char *value, const char *name) |
Member Function Documentation
bool SmartDashboard::GetBoolean |
( |
const char * |
keyName | ) |
|
Returns the value at the specified key.
- Parameters:
-
- Returns:
- the value
Returns the value at the specified key.
- Parameters:
-
- Returns:
- the value
double SmartDashboard::GetDouble |
( |
const char * |
keyName | ) |
|
Returns the value at the specified key.
- Parameters:
-
- Returns:
- the value
int SmartDashboard::GetInt |
( |
const char * |
keyName | ) |
|
Returns the value at the specified key.
- Parameters:
-
- Returns:
- the value
int SmartDashboard::GetString |
( |
const char * |
keyName, |
|
|
char * |
value, |
|
|
int |
valueLen |
|
) |
| |
Returns the value at the specified key.
- Parameters:
-
keyName | the key |
value | the buffer to fill with the value |
valueLen | the size of the buffer pointed to by value |
- Returns:
- the length of the string
std::string SmartDashboard::GetString |
( |
std::string |
keyName | ) |
|
Returns the value at the specified key.
- Parameters:
-
- Returns:
- the value
void SmartDashboard::init |
( |
| ) |
|
int SmartDashboard::Log |
( |
INT32 |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::Log |
( |
INT64 |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::Log |
( |
bool |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::Log |
( |
float |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::Log |
( |
double |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::Log |
( |
const char * |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::LogChar |
( |
char |
value, |
|
|
const char * |
name |
|
) |
| [static] |
int SmartDashboard::LogChar |
( |
wchar_t |
value, |
|
|
const char * |
name |
|
) |
| [static] |
Send the given UTF-16 char value to the client as the field with the given name.
- Parameters:
-
value | The value to be displayed on the client. |
name | The name of the field. |
- Returns:
- An integer status code.
- Deprecated:
- use SmartDashboard#PutInt(const char*, int)
void SmartDashboard::PutBoolean |
( |
const char * |
keyName, |
|
|
bool |
value |
|
) |
| |
Maps the specified key to the specified value in this table. The key can not be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
Maps the specified key to the specified value in this table. The key can not be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
Maps the specified key (where the key is the name of the SmartDashboardNamedData to the specified value in this table. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
void SmartDashboard::PutDouble |
( |
const char * |
keyName, |
|
|
double |
value |
|
) |
| |
Maps the specified key to the specified value in this table. The key can not be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
void SmartDashboard::PutInt |
( |
const char * |
keyName, |
|
|
int |
value |
|
) |
| |
Maps the specified key to the specified value in this table. The keyName can not be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
void SmartDashboard::PutString |
( |
std::string |
keyName, |
|
|
std::string |
value |
|
) |
| |
Maps the specified key to the specified value in this table. Neither the key nor the value can be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
void SmartDashboard::PutString |
( |
const char * |
keyName, |
|
|
const char * |
value |
|
) |
| |
Maps the specified key to the specified value in this table. Neither the key nor the value can be NULL. The value can be retrieved by calling the get method with a key that is equal to the original key.
- Parameters:
-
keyName | the key |
value | the value |
The documentation for this class was generated from the following files: