Пример #1
0
		void Test5::accept(odcore::base::Visitor &v) {
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'1', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute1", "attribute1", m_attribute1);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'2', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute2", "attribute2", m_attribute2);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'3', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute3", "attribute3", m_attribute3);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'4', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute4", "attribute4", m_attribute4);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'5', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute5", "attribute5", m_attribute5);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'6', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute6", "attribute6", m_attribute6);
			v.visit(CRC32 < CharList<'a', CharList<'t', CharList<'t', CharList<'r', CharList<'i', CharList<'b', CharList<'u', CharList<'t', CharList<'e', CharList<'7', NullType> > > > > > > > > >  >::RESULT, 0, "Test5.attribute7", "attribute7", m_attribute7);
		}
Пример #2
0
	void Test18::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		v.visit(1, "Test18.myArray1", "myArray1", getMyArray1(), getSize_MyArray1(), odcore::UINT32_T);
		v.visit(2, "Test18.myArray2", "myArray2", getMyArray2(), getSize_MyArray2(), odcore::FLOAT_T);
		v.visit(3, "Test18.myAtt1", "myAtt1", m_myAtt1);
		v.visit(4, "Test18.myAtt2", "myAtt2", m_myAtt2);
		v.visit(5, "Test18.myAtt3", "myAtt3", m_myAtt3);
		v.endVisit();
	}
Пример #3
0
	void Test4::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		v.visit(1, "Test4.attribute1", "attribute1", m_attribute1);
		v.visit(2, "Test4.attribute2", "attribute2", m_attribute2);
		v.visit(3, "Test4.attribute3", "attribute3", m_attribute3);
		v.visit(4, "Test4.attribute4", "attribute4", m_attribute4);
		v.visit(5, "Test4.attribute5", "attribute5", m_attribute5);
		v.visit(6, "Test4.attribute6", "attribute6", m_attribute6);
		v.visit(7, "Test4.attribute7", "attribute7", m_attribute7);
		v.endVisit();
	}
Пример #4
0
	void Test15Simple::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		int32_t int32t_buttonState = m_buttonState;
		v.visit(1, "Test15Simple.buttonState", "buttonState", int32t_buttonState);
		m_buttonState = static_cast<Test15Simple::ButtonState>(int32t_buttonState);
		v.endVisit();
	}
Пример #5
0
	void Test20a::accept(odcore::base::Visitor &v) {
		v.visit(CRC32 < CharList<'v', CharList<'a', CharList<'l', CharList<'1', NullType> > > >  >::RESULT, 0, "Test20a.val1", "val1", m_val1);
		v.visit(CRC32 < CharList<'t', CharList<'i', CharList<'m', CharList<'e', CharList<'S', CharList<'t', CharList<'a', CharList<'m', CharList<'p', NullType> > > > > > > > >  >::RESULT, 0, "Test20a.timeStamp", "timeStamp", m_timeStamp);
	}
Пример #6
0
	void Test2::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		v.visit(1, "Test2.attribute1", "attribute1", m_attribute1);
		v.endVisit();
	}
Пример #7
0
	void Test20a::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		v.visit(2, "Test20a.val1", "val1", m_val1);
		v.visit(3, "Test20a.timeStamp", "timeStamp", m_timeStamp);
		v.endVisit();
	}
Пример #8
0
	void Test11Simple::accept(odcore::base::Visitor &v) {
		v.beginVisit(ID(), ShortName(), LongName());
		v.visit(1, "Test11Simple.data1", "data1", m_data1);
		v.visit(2, "Test11Simple.data2", "data2", m_data2);
		v.endVisit();
	}