summaryrefslogtreecommitdiff
path: root/cesar/maximus/python/boost/src/sta.cpp
blob: 4a4aca5a5edad71a53e96c86a122686543a3eba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Maximus project {{{
 *
 * Copyright (C) 2012 MStar Semiconductor
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    maximus/python/boost/src/sta.cpp
 * \ingroup maximus_python_boost
 *
 */
#include "maximus/interface/station/inc/Station.h"
#include "maximus/python/boost/inc/sta.h"
#include "maximus/python/boost/inc/interface.h"
#include <boost/python.hpp>

void
export_sta ()
{
    boost::python::class_<Station, boost::noncopyable>
        ("Sta", boost::python::no_init)
        .def ("deactivate", &Station::deactivate)
        .def ("activate", &Station::activate)
        .def ("debug", &Station::debug)
        .def ("is_idle", &Station::is_idle)
        .def ("get_station_id", &Station::getStationId)
        .def ("set_name", &Station::set_name)
        ;
}