gccDppConsole Test C++ SDK  20170920
DPP C++ Console Demonstration
Public Member Functions
CAsciiCmdUtilities Class Reference

#include <AsciiCmdUtilities.h>

List of all members.

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.

Detailed Description

Definition at line 18 of file AsciiCmdUtilities.h.


Constructor & Destructor Documentation

Definition at line 3 of file AsciiCmdUtilities.cpp.

Definition at line 7 of file AsciiCmdUtilities.cpp.


Member Function Documentation

bool CAsciiCmdUtilities::CopyAsciiData ( unsigned char  Data[],
string  strCfg,
long  lLen 
)

Force string to ASCII bytes.

Definition at line 578 of file AsciiCmdUtilities.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Generates a configuration readback command from a list of all commands.

Definition at line 308 of file AsciiCmdUtilities.cpp.

Here is the caller graph for this function:

string CAsciiCmdUtilities::CreateResTestReadBackCmd ( bool  bSendCoarseFineGain,
int  DppType 
)

Definition at line 177 of file AsciiCmdUtilities.cpp.

int CAsciiCmdUtilities::GetCmdChunk ( std::string  strCmd)

Definition at line 558 of file AsciiCmdUtilities.cpp.

Here is the caller graph for this function:

string CAsciiCmdUtilities::GetDP5CfgStr ( std::string  strFilename)

Reads a DPP configuration from a file.

Definition at line 42 of file AsciiCmdUtilities.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

string CAsciiCmdUtilities::GetDP5ScaStr ( std::string  strFilename)

Reads a SCA configuration from a file.

Definition at line 97 of file AsciiCmdUtilities.cpp.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

string CAsciiCmdUtilities::Remove_MCA8000D_Cmds ( std::string  strCfgDataIn,
int  DppType 
)

Definition at line 482 of file AsciiCmdUtilities.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

string CAsciiCmdUtilities::RemWhitespace ( std::string  strLine)

Removes Whitespace characters from a command string.

Definition at line 21 of file AsciiCmdUtilities.cpp.

Here is the caller graph for this function:

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

Definition at line 532 of file AsciiCmdUtilities.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: