Esempio n. 1
0
func NewRoundStamper(node *sign.Node) *RoundStamper {
	dbg.Lvl3("Making new RoundStamper", node.Name())
	round := &RoundStamper{}
	round.RoundCosi = sign.NewRoundCosi(node)
	round.Type = RoundStamperType
	return round
}
Esempio n. 2
0
// Your New Round function
func NewRoundSkeleton(node *sign.Node) *RoundSkeleton {
	dbg.Lvl3("Making new RoundSkeleton", node.Name())
	round := &RoundSkeleton{}
	// You've got to initialize the roundcosi with the node
	round.RoundCosi = sign.NewRoundCosi(node)
	round.Type = RoundSkeletonType
	return round
}
Esempio n. 3
0
func NewRoundMeasure(node *sign.Node, firstRound int) *RoundMeasure {
	dbg.Lvlf3("Making new roundmeasure %+v", node)
	round := &RoundMeasure{}
	round.RoundCosi = sign.NewRoundCosi(node)
	round.Type = RoundMeasureType
	round.firstRound = firstRound
	return round
}