xmscore  1.0
xms::ETestMessagingState Class Reference

Class to allow running in batch mode without ui elements. Currently only used for testing but it can be used for anything. More...

Public Member Functions

 ETestMessagingState ()
 Constructor.
 
void SetDefault (int a_)
 Set default result value. More...
 
void ClearDefault ()
 Change to no default value set.
 
int GetDefault ()
 Get default value. More...
 
void SetSkipping (bool a_)
 Set if skipping messages. More...
 
bool GetSkipping ()
 Get if skipping messages. More...
 
bool DefaultValWasSet ()
 Was default value set (true) or has it been cleared? More...
 

Private Attributes

bool m_skippingMessages
 Are messages being skipped?
 
bool m_defaultSet
 Has a default result value been set?
 
int m_defaultRetValue
 Default return value.
 

Detailed Description

Class to allow running in batch mode without ui elements. Currently only used for testing but it can be used for anything.

Definition at line 201 of file TestTools.h.

Member Function Documentation

◆ DefaultValWasSet()

bool xms::ETestMessagingState::DefaultValWasSet ( )

Was default value set (true) or has it been cleared?

Returns
true if default value was set.

Definition at line 187 of file TestTools.cpp.

References m_defaultSet.

◆ GetDefault()

int xms::ETestMessagingState::GetDefault ( )

Get default value.

Returns
Default value.

Definition at line 163 of file TestTools.cpp.

References m_defaultRetValue.

Referenced by xms::ttByPassDefault().

◆ GetSkipping()

bool xms::ETestMessagingState::GetSkipping ( )

Get if skipping messages.

Returns
true if skipping messages.

Definition at line 179 of file TestTools.cpp.

References m_skippingMessages.

Referenced by xms::ttSkippingMessages().

◆ SetDefault()

void xms::ETestMessagingState::SetDefault ( int  a_)

Set default result value.

Parameters
a_true or false

Definition at line 147 of file TestTools.cpp.

References m_defaultRetValue, and m_defaultSet.

Referenced by xms::ttByPassMessages().

◆ SetSkipping()

void xms::ETestMessagingState::SetSkipping ( bool  a_)

Set if skipping messages.

Parameters
a_true or false.

Definition at line 171 of file TestTools.cpp.

References m_skippingMessages.

Referenced by xms::ttByPassMessages(), and xms::ttClearSkippingMessages().


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