---
name: "sc_StateRecv"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_StateRecv"
---

# sc\_StateRecv(3)

StateRecv is a concrete specialization of MsgStateRecv that does the receive part of point to point communication in a MessageGrp.

## NAME

sc::StateRecv - **StateRecv** is a concrete specialization of **MsgStateRecv** that does the receive part of point to point communication in a **MessageGrp**.

## SYNOPSIS

`#include <mstate.h>`

Inherits **sc::MsgStateRecv**.

### Public Member Functions

**StateRecv** (const **Ref**\< **MessageGrp** \> &)\
 Create a **StateRecv** given a **MessageGrp**.  void **source** (int)\
 Specify the source node.

### Protected Member Functions

void **next\_buffer** ()\
 Specializations must implement **next\_buffer()**.

### Additional Inherited Members

## Detailed Description

**StateRecv** is a concrete specialization of **MsgStateRecv** that does the receive part of point to point communication in a **MessageGrp**.

## Member Function Documentation

### void sc::StateRecv::next\_buffer ()` [protected]`, ` [virtual]`

Specializations must implement **next\_buffer()**.

Implements **sc::MsgStateBufRecv**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
