Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
読み取り中…
検索中…
一致する文字列を見つけられません
alt::WorkerFunction クラス

公開メンバ関数

 WorkerFunction ()
 
virtual ~WorkerFunction ()
 

公開変数類

std::function< bool(Message message)> command
 
std::function< bool()> exit
 
std::function< bool()> init
 
std::function< Data(Data data)> process
 
std::function< bool()> start
 
std::function< bool()> stop
 

非公開変数類

Data * _data
 
DWORD _dwSize
 
Message * _message
 

詳解

WorkerTemplateTest.cpp の 13 行目に定義があります。

構築子と解体子

◆ WorkerFunction()

alt::WorkerFunction::WorkerFunction ( )
inline

WorkerTemplateTest.cpp の 16 行目に定義があります。

参照先 _data, _dwSize, _message.

◆ ~WorkerFunction()

virtual alt::WorkerFunction::~WorkerFunction ( )
inlinevirtual

WorkerTemplateTest.cpp の 23 行目に定義があります。

参照先 _data, _message.

メンバ詳解

◆ _data

Data* alt::WorkerFunction::_data
private

WorkerTemplateTest.cpp の 69 行目に定義があります。

参照元 WorkerFunction(), ~WorkerFunction().

◆ _dwSize

DWORD alt::WorkerFunction::_dwSize
private

WorkerTemplateTest.cpp の 70 行目に定義があります。

参照元 WorkerFunction().

◆ _message

Message* alt::WorkerFunction::_message
private

WorkerTemplateTest.cpp の 68 行目に定義があります。

参照元 WorkerFunction(), ~WorkerFunction().

◆ command

std::function<bool (Message message)> alt::WorkerFunction::command
初期値:
= [&](Message message)
{
return true;
}

WorkerTemplateTest.cpp の 47 行目に定義があります。

◆ exit

std::function<bool ()> alt::WorkerFunction::exit
初期値:
= [&]()
{
return true;
}

WorkerTemplateTest.cpp の 62 行目に定義があります。

◆ init

std::function<bool ()> alt::WorkerFunction::init
初期値:
= [&]()
{
_message = new Message ();
_data = new Data (64);
_data->SetByte ((LPBYTE)"THIS IS A SAMPLE STRING.", 24);
return true;
}
void SetByte(LPBYTE pbyData, DWORD dwSize)
void SetTo(int to)
void SetFrom(int from)
void SetCommand(int command)

WorkerTemplateTest.cpp の 29 行目に定義があります。

◆ process

std::function<Data (Data data)> alt::WorkerFunction::process
初期値:
= [&](Data data) -> Data
{
return data;
}

WorkerTemplateTest.cpp の 52 行目に定義があります。

◆ start

std::function<bool ()> alt::WorkerFunction::start
初期値:
= [&]()
{
return true;
}

WorkerTemplateTest.cpp の 42 行目に定義があります。

◆ stop

std::function<bool ()> alt::WorkerFunction::stop
初期値:
= [&]()
{
return true;
}

WorkerTemplateTest.cpp の 57 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: