OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::CmdDummy Class Reference

Dummy (NOP) command. More...

#include <cmddummy.h>

Inheritance diagram for OTest2::CmdDummy:
Inheritance graph
[legend]
Collaboration diagram for OTest2::CmdDummy:
Collaboration graph
[legend]

Public Member Functions

 CmdDummy (const CmdDummy &)=delete
 
CmdDummyoperator= (const CmdDummy &)=delete
 
 CmdDummy ()
 Ctor. More...
 
virtual ~CmdDummy ()
 Dtor. More...
 
virtual void run (const Context &context_)
 Run the command. More...
 
- Public Member Functions inherited from OTest2::Command
 Command (const Command &)=delete
 
Commandoperator= (const Command &)=delete
 
 Command ()
 Ctor. More...
 
virtual ~Command ()
 Dtor. More...
 
virtual bool shouldWait (const Context &context_, int &delay_)
 Say whether the framework should wait before running the command. More...
 

Detailed Description

Dummy (NOP) command.

Definition at line 30 of file cmddummy.h.

Constructor & Destructor Documentation

◆ CmdDummy() [1/2]

OTest2::CmdDummy::CmdDummy ( const CmdDummy )
delete

◆ CmdDummy() [2/2]

OTest2::CmdDummy::CmdDummy ( )

Ctor.

Definition at line 24 of file cmddummy.cpp.

◆ ~CmdDummy()

OTest2::CmdDummy::~CmdDummy ( )
virtual

Dtor.

Definition at line 28 of file cmddummy.cpp.

Member Function Documentation

◆ operator=()

CmdDummy& OTest2::CmdDummy::operator= ( const CmdDummy )
delete

◆ run()

void OTest2::CmdDummy::run ( const Context context_)
virtual

Run the command.

Parameters
context_The OTest2 context

Implements OTest2::Command.

Definition at line 32 of file cmddummy.cpp.


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