示例#1
0
文件: test3.cpp 项目: stefangao/llfsm
bool TestCase3::onInit()
{
    FSM *fsm = new FSMA();
    fsm->create("fsm3").start();
    fsm->subscribeBcEvent("TestEvt1");


    EvtStream data;
    std::string input = "000 hello world! 300 abc123";
    data << 23 << input;
    fsm->sendBcEvent("TestEvt1", data);

    return true;
}