#include </var/jenkins_workspace/8300_500_BAOS_SDK_v2/BAOS_SDK_v2.nightly/release/workspace/release_src/BAOS_SDK/samples/Helper.h>
|
|
void | setDurationOptionSupported (bool supported) |
| |
|
void | setSecureSampleOptionSupported (bool supported) |
| |
|
void | parse (int argc, char **argv) |
| | Parse the command line options.
|
| |
|
void | parse (const std::vector< std::string > &arguments) |
| |
|
bool | wasHelpdisplayed () const |
| | returns true if the help show be displayed
|
| |
|
const std::string & | getIpAddress () const |
| | Get the ip address parse from command line.
|
| |
|
const std::string & | getPassword () const |
| | Get the password parse from command line.
|
| |
|
unsigned int | getDurationSeconds () const |
| |
|
bool | isInteractive () const |
| |
|
void | showUsage () |
| | Display the how to use message.
|
| |
|
|
bool | durationOptionSupported_ = false |
| |
|
bool | secureSampleOptionSupported_ = false |
| |
|
std::string | applicationName_ |
| | contains the application name as given as first parameter from command line
|
| |
|
bool | wasHelpdisplayed_ = false |
| | Indicate that the help meesage was displayed and we should not continue.
|
| |
|
std::string | ipAddress_ |
| | The ip v4 address as string in the form xxx.xxx.xxx.xxx.
|
| |
|
std::string | password_ |
| | Password for secure samples (second positional argument)
|
| |
|
unsigned int | durationSeconds_ = 0 |
| |
Helper for parse command line options
- Examples
- 01_BaosDeviceInformation.cpp, 02_BaosParameterBytes.cpp, 03_BaosDatapointConfiguration.cpp, 04_BaosDatapoints.cpp, 05_BaosIndications.cpp, 06_LightSwitcher.cpp, 07_SwitchingActuator.cpp, 08_Counter.cpp, 09_BaosView.cpp, 10_ClassConfig.cpp, 11_TypeConversion.cpp, 12_BaosSecureDeviceInformation.cpp, BaosConOrientedTcpConnection.cpp, BaosSecureTcpConnection.cpp, ConnectionReconnect.cpp, DatapointValueIndication.cpp, GetDatapointDescription.cpp, GetDatapointDescriptionString.cpp, GetDatapointValue.cpp, GetParameterByte.cpp, GetServerItem.cpp, ServerItemIndication.cpp, SetDatapointValue.cpp, and SetServerItem.cpp.
The documentation for this class was generated from the following files: