code/WPILib/SmartDashboardPacketFactory.cpp
/** Announces a field to the client. */
Announces a field to the client.
Announces a field to the client .
void SmartDashboardPacketFactory::Announce(SmartDashboard::Buffer& buf, char id,
		SmartDashboard::FIELD_TYPE type, const char* name) {
	buf.WriteByte(ANNOUNCE_FRAME);
	buf.WriteByte(id);
	buf.WriteByte(type);
	buf.WriteUTF(name);
}
void SmartDashboardPacketFactory :: Announce ( SmartDashboard :: Buffer & buf , char id , SmartDashboard :: FIELD_TYPE type , const char * name ) { buf . WriteByte ( ANNOUNCE_FRAME ) ; buf . WriteByte ( id ) ; buf . WriteByte ( type ) ; buf . WriteUTF ( name ) ; }
Announces a field to the client.
Announces a field to the client .