SimpleKernel 1.17.0
Loading...
Searching...
No Matches
MsgBlock Struct Reference

阻塞消息,携带资源 ID More...

#include <task_messages.hpp>

Inheritance diagram for MsgBlock:
Inheritance graph
Collaboration diagram for MsgBlock:
Collaboration graph

Public Member Functions

构造/析构函数
 MsgBlock (ResourceId _resource_id)
 
 MsgBlock ()=default
 
 MsgBlock (const MsgBlock &)=default
 
 MsgBlock (MsgBlock &&)=default
 
auto operator= (const MsgBlock &) -> MsgBlock &=default
 
auto operator= (MsgBlock &&) -> MsgBlock &=default
 
 ~MsgBlock ()=default
 

Public Attributes

ResourceId resource_id {}
 资源 ID
 

Detailed Description

阻塞消息,携带资源 ID

Definition at line 72 of file task_messages.hpp.

Constructor & Destructor Documentation

◆ MsgBlock() [1/4]

MsgBlock::MsgBlock ( ResourceId  _resource_id)
inlineexplicit

Definition at line 78 of file task_messages.hpp.

78: resource_id(_resource_id) {}
ResourceId resource_id
资源 ID

◆ MsgBlock() [2/4]

MsgBlock::MsgBlock ( )
default

◆ MsgBlock() [3/4]

MsgBlock::MsgBlock ( const MsgBlock )
default

◆ MsgBlock() [4/4]

MsgBlock::MsgBlock ( MsgBlock &&  )
default

◆ ~MsgBlock()

MsgBlock::~MsgBlock ( )
default

Member Function Documentation

◆ operator=() [1/2]

auto MsgBlock::operator= ( const MsgBlock ) -> MsgBlock &=default
default

◆ operator=() [2/2]

auto MsgBlock::operator= ( MsgBlock &&  ) -> MsgBlock &=default
default

Member Data Documentation

◆ resource_id

ResourceId MsgBlock::resource_id {}

资源 ID

Definition at line 74 of file task_messages.hpp.

74{};

The documentation for this struct was generated from the following file: