Major Update & Bug fixes:
- FileCore: - Replace dlNone -> dlLow - Remove temporary code used by CBaslerCamera - Function Core: - Add method SetDebugLevel() - Remove global parameter BaseMember; - JSONparse: - Print Bool parameters as true/false, not 1/0 - SelectCore: - Add method SetDebugLevel() - SignalCore: - Replace dlNone -> dlLow
This commit is contained in:
@@ -35,7 +35,6 @@ CFunctionCore::CFunctionCore( const char * FunctionName, CLogCore * pLog, EDebug
|
||||
|
||||
// Data Tree
|
||||
DataTree = NULL;
|
||||
BaseMember = NULL;
|
||||
|
||||
// Channels
|
||||
FirstChannel = NULL;
|
||||
@@ -101,15 +100,24 @@ CFunctionCore::~CFunctionCore()
|
||||
|
||||
bool CFunctionCore::LoadConfig( CDataTree * pDataTree, const char * pBasePath )
|
||||
{
|
||||
if (!(DataTree = pDataTree))
|
||||
return false;
|
||||
if (!(BaseMember = DataTree->GetMember( NULL, pBasePath, true )))
|
||||
TDataMember * BaseMember;
|
||||
|
||||
// Validate
|
||||
if (!(DataTree = pDataTree) ||
|
||||
!(BaseMember = DataTree->GetMember( NULL, pBasePath, true )))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool CFunctionCore::SetDebugLevel( EDebugLevel pDebugLevel )
|
||||
{
|
||||
DebugLevel = pDebugLevel;
|
||||
return true;
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
TChannel * CFunctionCore::AddChannel( const char * ChannelName, const bool pInputEnable, const bool pOutputEnable )
|
||||
{
|
||||
TChannel ** Channel = NULL;
|
||||
|
||||
Reference in New Issue
Block a user