|
gccDppConsole Test C++ SDK
20170920
DPP C++ Console Demonstration
|
#include <AsciiCmdUtilities.h>
Public Member Functions | |
| CAsciiCmdUtilities (void) | |
| ~CAsciiCmdUtilities (void) | |
| std::string | MakeUpper (std::string myString) |
| Forces all characters to uppercase. (All DPP command must be in upper case.) | |
| std::string | RemWhitespace (std::string strLine) |
| Removes Whitespace characters from a command string. | |
| std::string | GetDP5CfgStr (std::string strFilename) |
| Reads a DPP configuration from a file. | |
| std::string | GetDP5ScaStr (std::string strFilename) |
| Reads a SCA configuration from a file. | |
| std::string | CreateResTestReadBackCmd (bool bSendCoarseFineGain, int DppType) |
| std::string | CreateFullReadBackCmd (bool PC5_PRESENT, int DppType, bool isDP5_RevDxGains, unsigned char DPP_ECO) |
| Generates a configuration readback command from a list of all commands. | |
| std::string | CreateFullReadBackCmdMCA8000D (int DppType) |
| Generates a configuration readback command from a list of all commands. | |
| std::string | RemoveCmd (std::string strCmd, std::string strCfgData) |
| Remove a specified command from the command stream. | |
| std::string | RemoveCmdByDeviceType (std::string strCfgDataIn, bool PC5_PRESENT, int DppType, bool isDP5_RevDxGains, unsigned char DPP_ECO) |
| Remove illegal commands from the command stream by device type. | |
| std::string | RemoveCmdByDeviceTypeDP5DxK (std::string strCfgDataIn, bool PC5_PRESENT, int DppType) |
| Remove illegal commands from the command stream by device type. | |
| std::string | Remove_MCA8000D_Cmds (std::string strCfgDataIn, int DppType) |
| std::string | ReplaceCmdText (std::string strInTextIn, std::string strFrom, std::string strTo) |
| int | GetCmdChunk (std::string strCmd) |
| bool | CopyAsciiData (unsigned char Data[], string strCfg, long lLen) |
| Force string to ASCII bytes. | |
Definition at line 18 of file AsciiCmdUtilities.h.
Definition at line 3 of file AsciiCmdUtilities.cpp.
Definition at line 7 of file AsciiCmdUtilities.cpp.
| bool CAsciiCmdUtilities::CopyAsciiData | ( | unsigned char | Data[], |
| string | strCfg, | ||
| long | lLen | ||
| ) |
Force string to ASCII bytes.
Definition at line 578 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::CreateFullReadBackCmd | ( | bool | PC5_PRESENT, |
| int | DppType, | ||
| bool | isDP5_RevDxGains, | ||
| unsigned char | DPP_ECO | ||
| ) |
Generates a configuration readback command from a list of all commands.
Definition at line 202 of file AsciiCmdUtilities.cpp.


| string CAsciiCmdUtilities::CreateFullReadBackCmdMCA8000D | ( | int | DppType | ) |
Generates a configuration readback command from a list of all commands.
Definition at line 308 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::CreateResTestReadBackCmd | ( | bool | bSendCoarseFineGain, |
| int | DppType | ||
| ) |
Definition at line 177 of file AsciiCmdUtilities.cpp.
| int CAsciiCmdUtilities::GetCmdChunk | ( | std::string | strCmd | ) |
| string CAsciiCmdUtilities::GetDP5CfgStr | ( | std::string | strFilename | ) |
Reads a DPP configuration from a file.
Definition at line 42 of file AsciiCmdUtilities.cpp.


| string CAsciiCmdUtilities::GetDP5ScaStr | ( | std::string | strFilename | ) |
Reads a SCA configuration from a file.
Definition at line 97 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::MakeUpper | ( | std::string | myString | ) |
Forces all characters to uppercase. (All DPP command must be in upper case.)
Definition at line 11 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::Remove_MCA8000D_Cmds | ( | std::string | strCfgDataIn, |
| int | DppType | ||
| ) |
Definition at line 482 of file AsciiCmdUtilities.cpp.


| string CAsciiCmdUtilities::RemoveCmd | ( | std::string | strCmd, |
| std::string | strCfgData | ||
| ) |
Remove a specified command from the command stream.
Definition at line 351 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::RemoveCmdByDeviceType | ( | std::string | strCfgDataIn, |
| bool | PC5_PRESENT, | ||
| int | DppType, | ||
| bool | isDP5_RevDxGains, | ||
| unsigned char | DPP_ECO | ||
| ) |
Remove illegal commands from the command stream by device type.
Definition at line 370 of file AsciiCmdUtilities.cpp.


| string CAsciiCmdUtilities::RemoveCmdByDeviceTypeDP5DxK | ( | std::string | strCfgDataIn, |
| bool | PC5_PRESENT, | ||
| int | DppType | ||
| ) |
Remove illegal commands from the command stream by device type.
Definition at line 432 of file AsciiCmdUtilities.cpp.

| string CAsciiCmdUtilities::RemWhitespace | ( | std::string | strLine | ) |
Removes Whitespace characters from a command string.
Definition at line 21 of file AsciiCmdUtilities.cpp.

| std::string CAsciiCmdUtilities::ReplaceCmdText | ( | std::string | strInTextIn, |
| std::string | strFrom, | ||
| std::string | strTo | ||
| ) |
1.7.6.1