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

# sc\_BcastStateSend(3)

BcastStateSend does the send part of a broadcast of an object to all nodes.

## NAME

sc::BcastStateSend - **BcastStateSend** does the send part of a broadcast of an object to all nodes.

## SYNOPSIS

`#include <mstate.h>`

Inherits **sc::MsgStateSend**.

### Public Member Functions

**BcastStateSend** (const **Ref**\< **MessageGrp** \> &)\
 Create the **BcastStateSend**.  void **flush** ()\
 Flush the data remaining in the buffer.

### Additional Inherited Members

## Detailed Description

**BcastStateSend** does the send part of a broadcast of an object to all nodes.

Only one node uses a **BcastStateSend** and the rest must use a **BcastStateRecv**.

## Member Function Documentation

### void sc::BcastStateSend::flush ()` [virtual]`

Flush the data remaining in the buffer.

Implements **sc::MsgStateSend**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
